Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/initialstate/InitialFromFile.h>
Private Member Functions | |
void | ReadConfigs () |
Load saved configurations for each event. | |
void | ReadNbcDist () |
Load saved number of binary collisions. | |
void | ReadEntropyDist () |
Load saved initial entropy density distribution. | |
Private Attributes | |
hid_t | H5file_ptr_ |
hid_t | H5group_ptr_ |
HydroinfoH5 * | h5_helper_ |
want to use auxiliary hdf5 file readers | |
int | dim_x_ |
int | dim_y_ |
double | npart = -1 |
double | ncoll = -1 |
double | totalentropy = -1 |
Static Private Attributes | |
static RegisterJetScapeModule < InitialFromFile > | 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 31 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 31 of file InitialFromFile.h
InitialFromFile::InitialFromFile | ( | ) |
Definition at line 21 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 21 of file InitialFromFile.cc
References Jetscape::InitialState::event_id_, h5_helper_, and Jetscape::JetScapeTask::SetId().
InitialFromFile::~InitialFromFile | ( | ) |
Definition at line 27 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 27 of file InitialFromFile.cc
References h5_helper_.
|
virtual |
Default Clear() function. It can be overridden by other tasks.
Reimplemented from Jetscape::InitialState.
Definition at line 116 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 116 of file InitialFromFile.cc
References Jetscape::InitialState::entropy_density_distribution_, JSINFO, and Jetscape::InitialState::num_of_binary_collisions_.
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 33 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 33 of file InitialFromFile.cc
References Clear(), check_license::err(), Jetscape::InitialState::event_id_, Jetscape::JetScapeModuleBase::GetXMLElementText(), H5file_ptr_, H5group_ptr_, JSINFO, JSWARN, ReadConfigs(), ReadEntropyDist(), ReadNbcDist(), and utils::status.
|
inlinevirtual |
Generated number of binary collisions.
Reimplemented from Jetscape::InitialState.
Definition at line 65 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 65 of file InitialFromFile.h
|
inlinevirtual |
Generated number of collision participants.
Reimplemented from Jetscape::InitialState.
Definition at line 61 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 61 of file InitialFromFile.h
References npart().
|
inlinevirtual |
Generated total entropy
Reimplemented from Jetscape::InitialState.
Definition at line 69 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 69 of file InitialFromFile.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 31 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 31 of file InitialFromFile.cc
|
private |
Load saved configurations for each event.
Definition at line 69 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 69 of file InitialFromFile.cc
References dim_x_, dim_y_, h5_helper_, H5group_ptr_, JSINFO, ncoll, npart, HydroinfoH5::readH5Attribute_double(), HydroinfoH5::readH5Attribute_int(), Jetscape::InitialState::SetRanges(), Jetscape::InitialState::SetSteps(), totalentropy, and xmax.
Referenced by Exec().
|
private |
Load saved initial entropy density distribution.
Definition at line 100 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 100 of file InitialFromFile.cc
References TauVsDIS_MachineLearning_Differentiation::dataset, dim_x_, dim_y_, Jetscape::InitialState::entropy_density_distribution_, H5group_ptr_, i, j, JSINFO, and utils::status.
Referenced by Exec().
|
private |
Load saved number of binary collisions.
Definition at line 84 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 84 of file InitialFromFile.cc
References TauVsDIS_MachineLearning_Differentiation::dataset, dim_x_, dim_y_, H5group_ptr_, i, j, JSINFO, Jetscape::InitialState::num_of_binary_collisions_, and utils::status.
Referenced by Exec().
|
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 122 of file InitialFromFile.cc.
View newest version in sPHENIX GitHub at line 122 of file InitialFromFile.cc
|
private |
Definition at line 90 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 90 of file InitialFromFile.h
Referenced by ReadConfigs(), ReadEntropyDist(), and ReadNbcDist().
|
private |
Definition at line 90 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 90 of file InitialFromFile.h
Referenced by ReadConfigs(), ReadEntropyDist(), and ReadNbcDist().
|
private |
want to use auxiliary hdf5 file readers
Definition at line 88 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 88 of file InitialFromFile.h
Referenced by InitialFromFile(), ReadConfigs(), and ~InitialFromFile().
|
private |
Definition at line 69 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 69 of file InitialFromFile.h
Referenced by Exec().
|
private |
Definition at line 76 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 76 of file InitialFromFile.h
Referenced by Exec(), ReadConfigs(), ReadEntropyDist(), and ReadNbcDist().
|
private |
Definition at line 93 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 93 of file InitialFromFile.h
Referenced by ReadConfigs().
|
private |
Definition at line 92 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 92 of file InitialFromFile.h
Referenced by ReadConfigs().
|
staticprivate |
Definition at line 97 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 97 of file InitialFromFile.h
|
private |
Definition at line 94 of file InitialFromFile.h.
View newest version in sPHENIX GitHub at line 94 of file InitialFromFile.h
Referenced by ReadConfigs().