Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/hadronization/ColoredHadronization.h>
Public Member Functions | |
ColoredHadronization () | |
virtual | ~ColoredHadronization () |
void | Init () |
void | DoHadronization (vector< vector< shared_ptr< Parton >>> &shower, vector< shared_ptr< Hadron >> &hOut, vector< shared_ptr< Parton >> &pOut) |
void | WriteTask (weak_ptr< JetScapeWriter > w) |
Public Member Functions inherited from Jetscape::HadronizationModule< ColoredHadronization > | |
virtual shared_ptr< Hadronization > | Clone () const override |
Public Member Functions inherited from Jetscape::Hadronization | |
Hadronization () | |
virtual | ~Hadronization () |
virtual void | Exec () |
virtual void | Clear () |
void | GetHadrons (vector< shared_ptr< Hadron >> &signal) |
vector< shared_ptr< Hadron > > | GetHadrons () |
vector< shared_ptr< Parton > > | GetOutPartons () |
void | AddInPartons (vector< vector< shared_ptr< Parton >>> ip) |
void | SetTransformPartonsConnected (bool m_TransformPartonsConnected) |
const bool | GetTransformPartonsConnected () |
void | SetGetHydroHyperSurfaceConnected (bool m_GetHydroHyperSurfaceConnected) |
const bool | GetGetHydroHyperSurfaceConnected () |
void | SetGetHydroCellSignalConnected (bool m_GetHydroCellSignalConnected) |
const bool | GetGetHydroCellSignalConnected () |
void | AddInHadrons (vector< shared_ptr< Hadron >> ih) |
void | DeleteHadrons () |
void | DeleteRealHadrons () |
Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
JetScapeModuleBase () | |
JetScapeModuleBase (string m_name) | |
virtual | ~JetScapeModuleBase () |
void | SetXMLMainFileName (string m_name) |
string | GetXMLMainFileName () |
void | SetXMLUserFileName (string m_name) |
string | GetXMLUserFileName () |
shared_ptr< std::mt19937 > | GetMt19937Generator () |
tinyxml2::XMLElement * | GetXMLElement (std::initializer_list< const char * > path, bool isRequired=true) |
std::string | GetXMLElementText (std::initializer_list< const char * > path, bool isRequired=true) |
int | GetXMLElementInt (std::initializer_list< const char * > path, bool isRequired=true) |
double | GetXMLElementDouble (std::initializer_list< const char * > path, bool isRequired=true) |
Public Member Functions inherited from Jetscape::JetScapeTask | |
JetScapeTask () | |
virtual | ~JetScapeTask () |
virtual void | Finish () |
virtual void | ExecuteTasks () |
virtual void | ExecuteTask () |
virtual void | InitTask () |
virtual void | InitTasks () |
virtual void | ClearTasks () |
virtual void | ClearTask () |
virtual void | FinishTask () |
virtual void | FinishTasks () |
virtual void | WriteTasks (weak_ptr< JetScapeWriter > w) |
virtual void | CollectHeader (weak_ptr< JetScapeWriter > w) |
virtual void | CollectHeaders (weak_ptr< JetScapeWriter > w) |
virtual void | Add (shared_ptr< JetScapeTask > m_tasks) |
virtual const int | GetMyTaskNumber () const |
const vector< shared_ptr < JetScapeTask > > | GetTaskList () const |
shared_ptr< JetScapeTask > | GetTaskAt (int i) |
void | EraseTaskLast () |
void | EraseTaskAt (int i) |
void | ResizeTaskList (int i) |
void | ClearTaskList () |
int | GetNumberOfTasks () |
const bool | GetActive () const |
void | SetActive (bool m_active_exec) |
void | SetId (string m_id) |
const string | GetId () const |
const shared_ptr < JetScapeModuleMutex > | GetMutex () const |
void | SetMutex (shared_ptr< JetScapeModuleMutex > m_mutex) |
Public Member Functions inherited from sigslot::has_slots< sigslot::multi_threaded_local > | |
has_slots () | |
has_slots (const has_slots &hs) | |
void | signal_connect (_signal_base< sigslot::multi_threaded_local > *sender) |
void | signal_disconnect (_signal_base< sigslot::multi_threaded_local > *sender) |
virtual | ~has_slots () |
void | disconnect_all () |
Static Protected Attributes | |
static Pythia8::Pythia | pythia |
Private Attributes | |
double | p_fake |
Static Private Attributes | |
static RegisterJetScapeModule < ColoredHadronization > | reg |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Public Attributes inherited from Jetscape::Hadronization | |
sigslot::signal3< vector < vector< shared_ptr< Parton > > > &, vector< shared_ptr < Hadron > > &, vector < shared_ptr< Parton > > &, multi_threaded_local > | TransformPartons |
sigslot::signal2 < Jetscape::real, std::vector < SurfaceCellInfo > &, multi_threaded_local > | GetHydroHyperSurface |
sigslot::signal5< double, double, double, double, std::unique_ptr< FluidCellInfo > &, multi_threaded_local > | GetHydroCellSignal |
Definition at line 24 of file ColoredHadronization.h.
View newest version in sPHENIX GitHub at line 24 of file ColoredHadronization.h
ColoredHadronization::ColoredHadronization | ( | ) |
Definition at line 30 of file ColoredHadronization.cc.
View newest version in sPHENIX GitHub at line 30 of file ColoredHadronization.cc
References SetId(), and VERBOSE.
|
virtual |
Definition at line 35 of file ColoredHadronization.cc.
View newest version in sPHENIX GitHub at line 35 of file ColoredHadronization.cc
References VERBOSE.
|
virtual |
Reimplemented from Jetscape::Hadronization.
Definition at line 131 of file ColoredHadronization.cc.
View newest version in sPHENIX GitHub at line 131 of file ColoredHadronization.cc
References BOLDYELLOW, graph::clear(), col, color, Acts::UnitConstants::e, eta, event, i, JSDEBUG, ActsTests::PropagationDatasets::phi, train_ambiguity_solver::pid, graph_fancy::pT, utils::status, VERBOSE, and ambiguity_solver_full_chain::x.
|
virtual |
A virtual function for a default initialization of a JetScapeModuleBase. It also checks whether a XML file is loaded or not.
Reimplemented from Jetscape::Hadronization.
Definition at line 37 of file ColoredHadronization.cc.
View newest version in sPHENIX GitHub at line 37 of file ColoredHadronization.cc
References Jetscape::JetScapeLogger::Instance(), JSDEBUG, JSINFO, JSWARN, test_fpe::lines, physmon_simulation::s, to_string(), and VERBOSE.
|
virtual |
A virtual function to define a default WriteTask() function for a JetScapeTask. It can be overridden by different modules/tasks. Current setup: Every task gets handed a pointer to the writer and can add any information it likes to it (using predefined functions like WriteComment()) This is maximally flexible but makes it difficult to properly store information for a variety of outputs. E.g., sigmaGen: A HardProcess can easily write the xsec to any stream-type output using WriteComment. But to set it in a HepMC file, either HardProcess needs to make a case-by-case selection, meaning a new file format would need to percolate through multiple base classes, or the writer needs to know this information and implement WriteEvent appropriately. The latter is obviously better, but it's non-trivial to collect this information.
Reimplemented from Jetscape::Hadronization.
Definition at line 122 of file ColoredHadronization.cc.
View newest version in sPHENIX GitHub at line 122 of file ColoredHadronization.cc
|
private |
Definition at line 36 of file ColoredHadronization.h.
View newest version in sPHENIX GitHub at line 36 of file ColoredHadronization.h
|
staticprotected |
Definition at line 42 of file ColoredHadronization.h.
View newest version in sPHENIX GitHub at line 42 of file ColoredHadronization.h
|
staticprivate |
Definition at line 39 of file ColoredHadronization.h.
View newest version in sPHENIX GitHub at line 39 of file ColoredHadronization.h