Analysis Software
Documentation for sPHENIX simulation software
|
#include <JETSCAPE/blob/main/src/framework/HadronizationManager.h>
Public Member Functions | |
HadronizationManager () | |
virtual | ~HadronizationManager () |
virtual void | Init () |
virtual void | Exec () |
virtual void | Clear () |
virtual void | WriteTask (weak_ptr< JetScapeWriter > w) |
int | GetNumSignals () |
void | CreateSignalSlots () |
void | GetHadrons (vector< shared_ptr< Hadron >> &signal) |
void | DeleteHadrons () |
void | DeleteRealHadrons () |
void | SetGetFinalPartonListConnected (bool m_GetFinalPartonListConnected) |
const bool | GetGetFinalPartonListConnected () |
void | SetGetHadronListConnected (bool m_GetHadronListConnected) |
const bool | GetGetHadronListConnected () |
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 () |
Public Attributes | |
sigslot::signal1< vector < shared_ptr< Hadron > > & > | GetHadronList |
sigslot::signal1< vector < vector< shared_ptr< Parton > > > & > | GetFinalPartonList |
Private Attributes | |
bool | GetFinalPartonListConnected |
bool | GetHadronListConnected |
vector< vector< shared_ptr < Parton > > > | hd |
vector< shared_ptr< Hadron > > | hadrons |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Definition at line 30 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 30 of file HadronizationManager.h
Jetscape::HadronizationManager::HadronizationManager | ( | ) |
Definition at line 32 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 32 of file HadronizationManager.cc
References SetId(), and VERBOSE.
|
virtual |
Definition at line 39 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 39 of file HadronizationManager.cc
References Clear().
|
virtual |
A virtual function to define a default Clear() function for a JetScapeModuleBase. It can be overridden by different modules/tasks.
Reimplemented from Jetscape::JetScapeModuleBase.
Definition at line 47 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 47 of file HadronizationManager.cc
void Jetscape::HadronizationManager::CreateSignalSlots | ( | ) |
Definition at line 113 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 113 of file HadronizationManager.cc
References it.
void Jetscape::HadronizationManager::DeleteHadrons | ( | ) |
Definition at line 153 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 153 of file HadronizationManager.cc
References Jetscape::Hadronization::DeleteHadrons(), and it.
void Jetscape::HadronizationManager::DeleteRealHadrons | ( | ) |
Definition at line 162 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 162 of file HadronizationManager.cc
References Jetscape::Hadronization::DeleteRealHadrons(), and it.
|
virtual |
A virtual function to define a default Exec() function for a JetScapeModuleBase. It can be overridden by different modules/tasks.
Reimplemented from Jetscape::JetScapeModuleBase.
Definition at line 83 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 83 of file HadronizationManager.cc
References boost::dynamic_pointer_cast(), it, JSDEBUG, JSWARN, and VERBOSE.
|
inline |
Definition at line 66 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 66 of file HadronizationManager.h
References GetFinalPartonListConnected.
|
inline |
Definition at line 73 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 73 of file HadronizationManager.h
References GetHadronListConnected.
void Jetscape::HadronizationManager::GetHadrons | ( | vector< shared_ptr< Hadron >> & | signal | ) |
Definition at line 138 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 138 of file HadronizationManager.cc
References Jetscape::Hadronization::GetHadrons(), it, and signal().
int Jetscape::HadronizationManager::GetNumSignals | ( | ) |
|
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::JetScapeModuleBase.
Definition at line 61 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 61 of file HadronizationManager.cc
|
inline |
Definition at line 63 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 63 of file HadronizationManager.h
References GetFinalPartonListConnected.
|
inline |
Definition at line 70 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 70 of file HadronizationManager.h
References GetHadronListConnected.
|
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::JetScapeTask.
Definition at line 78 of file HadronizationManager.cc.
View newest version in sPHENIX GitHub at line 78 of file HadronizationManager.cc
References VERBOSE.
sigslot::signal1<vector<vector<shared_ptr<Parton> > > &> Jetscape::HadronizationManager::GetFinalPartonList |
Definition at line 61 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 61 of file HadronizationManager.h
|
private |
Definition at line 76 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 76 of file HadronizationManager.h
Referenced by GetGetFinalPartonListConnected(), and SetGetFinalPartonListConnected().
sigslot::signal1<vector<shared_ptr<Hadron> > &> Jetscape::HadronizationManager::GetHadronList |
Definition at line 59 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 59 of file HadronizationManager.h
|
private |
Definition at line 77 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 77 of file HadronizationManager.h
Referenced by GetGetHadronListConnected(), and SetGetHadronListConnected().
|
private |
Definition at line 79 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 79 of file HadronizationManager.h
|
private |
Definition at line 78 of file HadronizationManager.h.
View newest version in sPHENIX GitHub at line 78 of file HadronizationManager.h