Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/initialstate/NcollListFromFile.h>
Private Attributes | |
std::vector< double > | binary_collision_x_ |
std::vector< double > | binary_collision_y_ |
std::shared_ptr < std::uniform_int_distribution < int > > | rand_int_ptr_ |
double | ncoll_ = -1 |
Static Private Attributes | |
static RegisterJetScapeModule < NcollListFromFile > | 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 30 of file NcollListFromFile.h.
View newest version in sPHENIX GitHub at line 30 of file NcollListFromFile.h
NcollListFromFile::NcollListFromFile | ( | ) |
Definition at line 24 of file NcollListFromFile.cc.
View newest version in sPHENIX GitHub at line 24 of file NcollListFromFile.cc
References Jetscape::InitialState::event_id_, and Jetscape::JetScapeTask::SetId().
NcollListFromFile::~NcollListFromFile | ( | ) |
Definition at line 29 of file NcollListFromFile.cc.
View newest version in sPHENIX GitHub at line 29 of file NcollListFromFile.cc
|
virtual |
Default Clear() function. It can be overridden by other tasks.
Reimplemented from Jetscape::InitialState.
Definition at line 52 of file NcollListFromFile.cc.
View newest version in sPHENIX GitHub at line 52 of file NcollListFromFile.cc
References binary_collision_x_, binary_collision_y_, and JSINFO.
Referenced by Exec().
|
virtual |
Default Exec() function. It can be overridden by other tasks.
Reimplemented from Jetscape::InitialState.
Definition at line 31 of file NcollListFromFile.cc.
View newest version in sPHENIX GitHub at line 31 of file NcollListFromFile.cc
References Clear(), check_license::err(), Jetscape::InitialState::event_id_, Jetscape::JetScapeModuleBase::GetXMLElementText(), JSINFO, JSWARN, and ReadNbcList().
|
inlinevirtual |
Generated number of binary collisions.
Reimplemented from Jetscape::InitialState.
Definition at line 49 of file NcollListFromFile.h.
View newest version in sPHENIX GitHub at line 49 of file NcollListFromFile.h
void NcollListFromFile::ReadNbcList | ( | std::string | filename | ) |
Load saved number of binary collisions.
Definition at line 59 of file NcollListFromFile.cc.
View newest version in sPHENIX GitHub at line 59 of file NcollListFromFile.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 81 of file NcollListFromFile.cc.
View newest version in sPHENIX GitHub at line 81 of file NcollListFromFile.cc
References binary_collision_x_, binary_collision_y_, and Jetscape::JetScapeModuleBase::GetMt19937Generator().
|
private |
Definition at line 57 of file NcollListFromFile.h.
View newest version in sPHENIX GitHub at line 57 of file NcollListFromFile.h
Referenced by Clear(), ReadNbcList(), and SampleABinaryCollisionPoint().
|
private |
Definition at line 58 of file NcollListFromFile.h.
View newest version in sPHENIX GitHub at line 58 of file NcollListFromFile.h
Referenced by Clear(), ReadNbcList(), and SampleABinaryCollisionPoint().
|
private |
Definition at line 61 of file NcollListFromFile.h.
View newest version in sPHENIX GitHub at line 61 of file NcollListFromFile.h
Referenced by ReadNbcList().
|
private |
Definition at line 59 of file NcollListFromFile.h.
View newest version in sPHENIX GitHub at line 59 of file NcollListFromFile.h
Referenced by ReadNbcList().
|
staticprivate |
Definition at line 65 of file NcollListFromFile.h.
View newest version in sPHENIX GitHub at line 65 of file NcollListFromFile.h