Analysis Software
Documentation for sPHENIX simulation software
|
Interface to hadronic afterburner. More...
#include <JETSCAPE/blob/main/src/framework/Afterburner.h>
Public Member Functions | |
Afterburner () | |
~Afterburner () | |
virtual void | Init () |
virtual void | Exec () |
Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
JetScapeModuleBase () | |
JetScapeModuleBase (string m_name) | |
virtual | ~JetScapeModuleBase () |
virtual void | Clear () |
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 | WriteTask (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 () |
Protected Member Functions | |
std::vector< std::vector < std::shared_ptr< Hadron > > > | GatherAfterburnerHadrons () |
Gather all hadrons from soft particlization and fragmentation. | |
std::vector< std::vector < std::shared_ptr< Hadron > > > | GetSoftParticlizationHadrons () |
Get the events of soft particlization hadrons. | |
std::vector< std::shared_ptr < Hadron > > | GetFragmentationHadrons () |
Get the list of fragmentation hadrons. | |
Protected Attributes | |
std::vector< std::vector < std::shared_ptr< Hadron > > > | dummy |
std::uniform_real_distribution < double > | ZeroOneDistribution |
std::shared_ptr < std::uniform_int_distribution < int > > | rand_int_ptr_ |
Additional Inherited Members | |
Static Public Member Functions inherited from Jetscape::JetScapeModuleBase | |
static int | GetCurrentEvent () |
static void | IncrementCurrentEvent () |
Interface to hadronic afterburner.
Definition at line 27 of file Afterburner.h.
View newest version in sPHENIX GitHub at line 27 of file Afterburner.h
|
inline |
Definition at line 29 of file Afterburner.h.
View newest version in sPHENIX GitHub at line 29 of file Afterburner.h
References Jetscape::JetScapeTask::SetId(), and VERBOSE.
|
inline |
Definition at line 34 of file Afterburner.h.
View newest version in sPHENIX GitHub at line 34 of file Afterburner.h
References sigslot::has_slots< sigslot::multi_threaded_local >::disconnect_all(), and VERBOSE.
|
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 32 of file Afterburner.cc.
View newest version in sPHENIX GitHub at line 32 of file Afterburner.cc
References VERBOSE.
|
protected |
Gather all hadrons from soft particlization and fragmentation.
Definition at line 106 of file Afterburner.cc.
View newest version in sPHENIX GitHub at line 106 of file Afterburner.cc
|
protected |
Get the list of fragmentation hadrons.
Definition at line 50 of file Afterburner.cc.
View newest version in sPHENIX GitHub at line 50 of file Afterburner.cc
References Acts::UnitConstants::e, h, JSDEBUG, JSINFO, JSWARN, physmon_track_finding_ttbar::r, Jetscape::FourVector::t(), Jetscape::FourVector::x(), Jetscape::FourVector::y(), and Jetscape::FourVector::z().
|
protected |
Get the events of soft particlization hadrons.
Definition at line 37 of file Afterburner.cc.
View newest version in sPHENIX GitHub at line 37 of file Afterburner.cc
|
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 23 of file Afterburner.cc.
View newest version in sPHENIX GitHub at line 23 of file Afterburner.cc
References Init(), and JSINFO.
|
protected |
Definition at line 50 of file Afterburner.h.
View newest version in sPHENIX GitHub at line 50 of file Afterburner.h
|
protected |
Definition at line 53 of file Afterburner.h.
View newest version in sPHENIX GitHub at line 53 of file Afterburner.h
|
protected |
Definition at line 51 of file Afterburner.h.
View newest version in sPHENIX GitHub at line 51 of file Afterburner.h