Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/initialstate/IPGlasmaWrapper.h>
Private Attributes | |
std::unique_ptr< IPGlasma > | IPGlasma_ptr_ |
int | dim_x_ |
int | dim_y_ |
std::vector< double > | binary_collision_x_ |
std::vector< double > | binary_collision_y_ |
std::shared_ptr < std::uniform_int_distribution < int > > | rand_int_ptr_ |
int | ncoll_ = -1 |
Static Private Attributes | |
static RegisterJetScapeModule < IPGlasmaWrapper > | reg |
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_ |
Definition at line 28 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 28 of file IPGlasmaWrapper.h
IPGlasmaWrapper::IPGlasmaWrapper | ( | ) |
Definition at line 24 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 24 of file IPGlasmaWrapper.cc
References Jetscape::InitialState::event_id_, and Jetscape::JetScapeTask::SetId().
IPGlasmaWrapper::~IPGlasmaWrapper | ( | ) |
Definition at line 30 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 30 of file IPGlasmaWrapper.cc
|
virtual |
Default Clear() function. It can be overridden by other tasks.
Reimplemented from Jetscape::InitialState.
Definition at line 58 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 58 of file IPGlasmaWrapper.cc
References JSINFO.
Referenced by Exec().
|
virtual |
Reads the input parameters from the XML file under the tag <IS>. Calls InitTask(); This explicit call of InitTask() can be used for actual initialization of modules such as Trento if attached as a polymorphic class. It also initializes the tasks within the current module.
Reimplemented from Jetscape::InitialState.
Definition at line 44 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 44 of file IPGlasmaWrapper.cc
References Clear(), check_license::err(), Jetscape::InitialState::event_id_, IPGlasma_ptr_, JSINFO, JSWARN, and ReadNbcList().
|
inlinevirtual |
Generated number of binary collisions.
Reimplemented from Jetscape::InitialState.
Definition at line 58 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 58 of file IPGlasmaWrapper.h
|
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 33 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 33 of file IPGlasmaWrapper.cc
References IPGlasma_ptr_, Jetscape::InitialState::SetRanges(), and Jetscape::InitialState::SetSteps().
void IPGlasmaWrapper::ReadNbcList | ( | std::string | filename | ) |
Load saved number of binary collisions.
Definition at line 63 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 63 of file IPGlasmaWrapper.cc
References binary_collision_x_, binary_collision_y_, filename, infile, JSINFO, JSWARN, ncoll_, rand_int_ptr_, ambiguity_solver_full_chain::x, and y.
Referenced by Exec().
Reimplemented from Jetscape::InitialState.
Definition at line 87 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 87 of file IPGlasmaWrapper.cc
References binary_collision_x_, binary_collision_y_, and Jetscape::JetScapeModuleBase::GetMt19937Generator().
|
virtual |
Default Write() function. It can be overridden by other tasks.
w | A pointer to the JetScapeWriter class. |
Reimplemented from Jetscape::InitialState.
Definition at line 94 of file IPGlasmaWrapper.cc.
View newest version in sPHENIX GitHub at line 94 of file IPGlasmaWrapper.cc
|
private |
Definition at line 69 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 69 of file IPGlasmaWrapper.h
Referenced by ReadNbcList(), and SampleABinaryCollisionPoint().
|
private |
Definition at line 70 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 70 of file IPGlasmaWrapper.h
Referenced by ReadNbcList(), and SampleABinaryCollisionPoint().
|
private |
Definition at line 67 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 67 of file IPGlasmaWrapper.h
|
private |
Definition at line 67 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 67 of file IPGlasmaWrapper.h
|
private |
Definition at line 66 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 66 of file IPGlasmaWrapper.h
Referenced by Exec(), and InitTask().
|
private |
Definition at line 73 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 73 of file IPGlasmaWrapper.h
Referenced by ReadNbcList().
|
private |
Definition at line 71 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 71 of file IPGlasmaWrapper.h
Referenced by ReadNbcList().
|
staticprivate |
Definition at line 76 of file IPGlasmaWrapper.h.
View newest version in sPHENIX GitHub at line 76 of file IPGlasmaWrapper.h