Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/framework/InitialState.h>
Protected Attributes | |
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_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Definition at line 28 of file InitialState.h.
View newest version in sPHENIX GitHub at line 28 of file InitialState.h
|
inline |
Default constructor to create a Initial State Physics task. Sets the task ID as "InitialState".
Definition at line 32 of file InitialState.h.
View newest version in sPHENIX GitHub at line 32 of file InitialState.h
References Jetscape::JetScapeTask::SetId().
Jetscape::InitialState::~InitialState | ( | ) |
Destructor for the Initial State Physics task.
Definition at line 22 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 22 of file InitialState.cc
|
virtual |
Default Clear() function. It can be overridden by other tasks.
Reimplemented from Jetscape::JetScapeModuleBase.
Reimplemented in Jetscape::TrentoInitial, InitialFromFile, IPGlasmaWrapper, and NcollListFromFile.
Definition at line 47 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 47 of file InitialState.cc
|
virtual |
Collect header information for writer modules
w | is a pointer of type JetScapeWrite class. |
Reimplemented from Jetscape::JetScapeTask.
Definition at line 55 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 55 of file InitialState.cc
References f, GetNcoll(), GetNpart(), and GetTotalEntropy().
compute 3d coordinates (x, y, z) given the 1D index in vector
idx | is an integer which maps to an unique unit cell in the coordinate space (x,y,z or eta). |
Definition at line 65 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 65 of file InitialState.cc
References col, GetXSize(), GetYSize(), GetZSize(), grid_max_x_, grid_max_y_, grid_max_z_, grid_step_x_, grid_step_y_, grid_step_z_, std::tr1::make_tuple(), nx, ny, and nz.
Referenced by SampleABinaryCollisionPoint().
|
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::JetScapeModuleBase.
Reimplemented in Jetscape::TrentoInitial, InitialFromFile, IPGlasmaWrapper, and NcollListFromFile.
Definition at line 43 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 43 of file InitialState.cc
|
inline |
Definition at line 104 of file InitialState.h.
View newest version in sPHENIX GitHub at line 104 of file InitialState.h
References entropy_density_distribution_.
|
inline |
Definition at line 118 of file InitialState.h.
View newest version in sPHENIX GitHub at line 118 of file InitialState.h
References event_id_.
|
inlinevirtual |
Generated number of binary collisions. To be overwritten by implementations that have such information.
Reimplemented in InitialFromFile, IPGlasmaWrapper, and NcollListFromFile.
Definition at line 70 of file InitialState.h.
View newest version in sPHENIX GitHub at line 70 of file InitialState.h
Referenced by CollectHeader().
|
inlinevirtual |
Generated number of collision participants. To be overwritten by implementations that have such information.
Reimplemented in InitialFromFile.
Definition at line 65 of file InitialState.h.
View newest version in sPHENIX GitHub at line 65 of file InitialState.h
Referenced by CollectHeader().
|
inline |
one can sample jet production position from Ta * Tb where Ta * Tb is the distribution of num_of_binary_collisions
Definition at line 113 of file InitialState.h.
View newest version in sPHENIX GitHub at line 113 of file InitialState.h
References num_of_binary_collisions_.
|
inlinevirtual |
Generated total entropy To be overwritten by implementations that have such information.
Reimplemented in InitialFromFile.
Definition at line 75 of file InitialState.h.
View newest version in sPHENIX GitHub at line 75 of file InitialState.h
Referenced by CollectHeader().
|
inline |
Definition at line 132 of file InitialState.h.
View newest version in sPHENIX GitHub at line 132 of file InitialState.h
References grid_max_x_.
Referenced by Jetscape::TrentoInitial::Exec(), and Jetscape::TrentoInitial::InitTask().
|
inline |
Definition at line 152 of file InitialState.h.
View newest version in sPHENIX GitHub at line 152 of file InitialState.h
References grid_max_x_, and grid_step_x_.
Referenced by CoordFromIdx().
|
inline |
Definition at line 135 of file InitialState.h.
View newest version in sPHENIX GitHub at line 135 of file InitialState.h
References grid_step_x_.
Referenced by Jetscape::TrentoInitial::InitTask().
|
inline |
Definition at line 138 of file InitialState.h.
View newest version in sPHENIX GitHub at line 138 of file InitialState.h
References grid_max_y_.
Referenced by Jetscape::TrentoInitial::Exec().
|
inline |
Definition at line 159 of file InitialState.h.
View newest version in sPHENIX GitHub at line 159 of file InitialState.h
References grid_max_y_, and grid_step_y_.
Referenced by CoordFromIdx().
|
inline |
Definition at line 141 of file InitialState.h.
View newest version in sPHENIX GitHub at line 141 of file InitialState.h
References grid_step_y_.
|
inline |
Definition at line 144 of file InitialState.h.
View newest version in sPHENIX GitHub at line 144 of file InitialState.h
References grid_max_z_.
Referenced by Jetscape::TrentoInitial::InitTask().
|
inline |
Definition at line 166 of file InitialState.h.
View newest version in sPHENIX GitHub at line 166 of file InitialState.h
References grid_max_z_, grid_step_z_, and nz.
Referenced by CoordFromIdx().
|
inline |
Definition at line 147 of file InitialState.h.
View newest version in sPHENIX GitHub at line 147 of file InitialState.h
References grid_step_z_.
Referenced by Jetscape::TrentoInitial::InitTask().
|
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::JetScapeModuleBase.
Definition at line 24 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 24 of file InitialState.cc
References Jetscape::JetScapeTask::GetId(), Jetscape::JetScapeModuleBase::GetXMLElementDouble(), grid_max_x_, grid_max_y_, grid_max_z_, grid_step_x_, grid_step_y_, grid_step_z_, Jetscape::JetScapeModuleBase::Init(), Jetscape::JetScapeTask::InitTask(), Jetscape::JetScapeTask::InitTasks(), and JSINFO.
Reimplemented in IPGlasmaWrapper, and NcollListFromFile.
Definition at line 80 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 80 of file InitialState.cc
References parse_cmake_options::begin, CoordFromIdx(), dist(), end, Jetscape::JetScapeModuleBase::GetMt19937Generator(), ambiguity_solver_full_chain::idx, JSWARN, and num_of_binary_collisions_.
|
inline |
set the event id
Definition at line 121 of file InitialState.h.
View newest version in sPHENIX GitHub at line 121 of file InitialState.h
References event_id_.
Sets the range of the coordinates (xmax, ymax, zmax).
xmax | Maximum value of the coordinate x in the nuclear density profile. |
ymax | Maximum value of the coordinate y in the nuclear density profile. |
zmax | Maxium value of the spatial rapidity ( if (tau,x,y,eta) system), or maximum value of the coordinate z (if in (t,x,y,z) system) in the nuclear density profile. |
Definition at line 83 of file InitialState.h.
View newest version in sPHENIX GitHub at line 83 of file InitialState.h
References grid_max_x_, grid_max_y_, grid_max_z_, xmax, and ymax.
Referenced by IPGlasmaWrapper::InitTask(), Jetscape::TrentoInitial::InitTask(), and InitialFromFile::ReadConfigs().
It sets the step-size (dx, dy, dz).
dx | Step-size for x. |
dy | Step-size for y. |
dz | Step-size for z or eta. |
Definition at line 95 of file InitialState.h.
View newest version in sPHENIX GitHub at line 95 of file InitialState.h
References dy, dz, grid_step_x_, grid_step_y_, and grid_step_z_.
Referenced by IPGlasmaWrapper::InitTask(), Jetscape::TrentoInitial::InitTask(), and InitialFromFile::ReadConfigs().
|
virtual |
Default Write() function. It can be overridden by other tasks.
w | A pointer to the JetScapeWriter class. |
Reimplemented in InitialFromFile, and IPGlasmaWrapper.
Definition at line 49 of file InitialState.cc.
View newest version in sPHENIX GitHub at line 49 of file InitialState.cc
|
protected |
It stores the initial state entropy density distribution. The index of the vector is associated to a cell with coordinate (x, y, z or eta).
Definition at line 183 of file InitialState.h.
View newest version in sPHENIX GitHub at line 183 of file InitialState.h
Referenced by InitialFromFile::Clear(), Jetscape::TrentoInitial::Clear(), Jetscape::TrentoInitial::Exec(), GetEntropyDensityDistribution(), and InitialFromFile::ReadEntropyDist().
|
protected |
idx | is an integer which maps to an unique unit cell in the coordinate space (x,y,z or eta). |
Definition at line 212 of file InitialState.h.
View newest version in sPHENIX GitHub at line 212 of file InitialState.h
Referenced by NcollListFromFile::Exec(), IPGlasmaWrapper::Exec(), InitialFromFile::Exec(), GetEventId(), InitialFromFile::InitialFromFile(), IPGlasmaWrapper::IPGlasmaWrapper(), NcollListFromFile::NcollListFromFile(), and SetEventId().
|
protected |
Definition at line 219 of file InitialState.h.
View newest version in sPHENIX GitHub at line 219 of file InitialState.h
Referenced by CoordFromIdx(), GetXMax(), GetXSize(), Init(), and SetRanges().
|
protected |
Definition at line 220 of file InitialState.h.
View newest version in sPHENIX GitHub at line 220 of file InitialState.h
Referenced by CoordFromIdx(), GetYMax(), GetYSize(), Init(), and SetRanges().
|
protected |
Definition at line 221 of file InitialState.h.
View newest version in sPHENIX GitHub at line 221 of file InitialState.h
Referenced by CoordFromIdx(), GetZMax(), GetZSize(), Init(), and SetRanges().
|
protected |
Definition at line 225 of file InitialState.h.
View newest version in sPHENIX GitHub at line 225 of file InitialState.h
Referenced by CoordFromIdx(), GetXSize(), GetXStep(), Init(), and SetSteps().
|
protected |
Definition at line 226 of file InitialState.h.
View newest version in sPHENIX GitHub at line 226 of file InitialState.h
Referenced by CoordFromIdx(), GetYSize(), GetYStep(), Init(), and SetSteps().
|
protected |
Definition at line 227 of file InitialState.h.
View newest version in sPHENIX GitHub at line 227 of file InitialState.h
Referenced by CoordFromIdx(), GetZSize(), GetZStep(), Init(), and SetSteps().
|
protected |
It represents the un-normalized probability density of binary collisions. The index of the vector is associated to a cell with coordinate (x, y, z or eta).
Definition at line 191 of file InitialState.h.
View newest version in sPHENIX GitHub at line 191 of file InitialState.h
Referenced by InitialFromFile::Clear(), Jetscape::TrentoInitial::Clear(), Jetscape::TrentoInitial::Exec(), GetNumOfBinaryCollisions(), InitialFromFile::ReadNbcDist(), and SampleABinaryCollisionPoint().