Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/initialstate/TrentoInitial.h>
Classes | |
struct | RangeFailure |
Public Attributes | |
EventInfo | info_ |
Private Member Functions | |
std::pair< double, double > | GenCenTab (std::string proj, std::string targ, VarMap var_map, int cL, int cH) |
Private Attributes | |
std::shared_ptr< trento::Collider > | TrentoGen_ |
Static Private Attributes | |
static RegisterJetScapeModule < TrentoInitial > | reg |
The output instance. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Protected Attributes inherited from Jetscape::InitialState | |
std::vector< double > | entropy_density_distribution_ |
std::vector< double > | num_of_binary_collisions_ |
int | event_id_ |
double | grid_max_x_ |
double | grid_max_y_ |
double | grid_max_z_ |
double | grid_step_x_ |
double | grid_step_y_ |
double | grid_step_z_ |
The output data format (from http://qcd.phy.duke.edu/trento/usage.html#output-options): The grid will always be a square N × N array, with N = ceil(2*max/step). So e.g. the default settings (max = 10 fm, step = 0.2 fm) imply a 100 × 100 grid. The ceiling function ensures that the number of steps is always rounded up, so e.g. given max = 10 fm and step 0.3 fm, the grid will be 67 × 67. In this case, the actual grid max will be marginally increased (max = nsteps*step/2).
Definition at line 57 of file TrentoInitial.h.
View newest version in sPHENIX GitHub at line 57 of file TrentoInitial.h
Jetscape::TrentoInitial::TrentoInitial | ( | ) |
Definition at line 58 of file TrentoInitial.cc.
View newest version in sPHENIX GitHub at line 58 of file TrentoInitial.cc
References Jetscape::JetScapeTask::SetId().
|
default |
|
virtual |
Default Clear() function. It can be overridden by other tasks.
Reimplemented from Jetscape::InitialState.
Definition at line 410 of file TrentoInitial.cc.
View newest version in sPHENIX GitHub at line 410 of file TrentoInitial.cc
References Jetscape::InitialState::entropy_density_distribution_, Jetscape::InitialState::num_of_binary_collisions_, and VERBOSE.
|
virtual |
Default Exec() function. It can be overridden by other tasks. After this is run, GetNumBinaryCollisions and GetEntropyDensityDistribution should return sensible values.
Reimplemented from Jetscape::InitialState.
Definition at line 375 of file TrentoInitial.cc.
View newest version in sPHENIX GitHub at line 375 of file TrentoInitial.cc
References Jetscape::EventInfo::ecc, Jetscape::InitialState::entropy_density_distribution_, Jetscape::InitialState::GetXMax(), Jetscape::InitialState::GetYMax(), i, Jetscape::EventInfo::impact_parameter, info_, JSINFO, Jetscape::EventInfo::num_binary_collisions, Jetscape::InitialState::num_of_binary_collisions_, Jetscape::EventInfo::num_participant, Jetscape::EventInfo::psi, Jetscape::EventInfo::total_entropy, TrentoGen_, Jetscape::EventInfo::xmid, and Jetscape::EventInfo::ymid.
|
private |
Definition at line 293 of file TrentoInitial.cc.
View newest version in sPHENIX GitHub at line 293 of file TrentoInitial.cc
References trento::Collider::all_records(), Jetscape::compare_E(), filename, fout, i, infile, JSINFO, JSWARN, line, trento::Collider::run_events(), and Acts::Experimental::detail::BlueprintHelper::sort().
Referenced by InitTask().
|
virtual |
A virtual function to define a default InitTask() function for a JetScapeTask. It can be overridden by different modules/tasks.
Reimplemented from Jetscape::JetScapeTask.
Definition at line 62 of file TrentoInitial.cc.
View newest version in sPHENIX GitHub at line 62 of file TrentoInitial.cc
References runCondor_beamspot::cmd, etamax, GenCenTab(), Jetscape::JetScapeModuleBase::GetMt19937Generator(), Jetscape::InitialState::GetXMax(), Jetscape::JetScapeModuleBase::GetXMLElement(), Jetscape::InitialState::GetXStep(), Jetscape::InitialState::GetZMax(), Jetscape::InitialState::GetZStep(), Acts::UnitConstants::J, JSINFO, k, mean(), ckf::options, merge_hashes::p, proj(), utils::run, Jetscape::InitialState::SetRanges(), Jetscape::InitialState::SetSteps(), store, to_string(), and TrentoGen_.
EventInfo Jetscape::TrentoInitial::info_ |
Definition at line 71 of file TrentoInitial.h.
View newest version in sPHENIX GitHub at line 71 of file TrentoInitial.h
Referenced by Exec().
|
staticprivate |
The output instance.
Definition at line 81 of file TrentoInitial.h.
View newest version in sPHENIX GitHub at line 81 of file TrentoInitial.h
|
private |
Definition at line 74 of file TrentoInitial.h.
View newest version in sPHENIX GitHub at line 74 of file TrentoInitial.h
Referenced by Exec(), and InitTask().