Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Jetscape::Afterburner Class Reference

Interface to hadronic afterburner. More...

#include <JETSCAPE/blob/main/src/framework/Afterburner.h>

+ Inheritance diagram for Jetscape::Afterburner:
+ Collaboration diagram for Jetscape::Afterburner:

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::XMLElementGetXMLElement (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< JetScapeTaskGetTaskAt (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 ()
 

Detailed Description

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

Constructor & Destructor Documentation

Jetscape::Afterburner::Afterburner ( )
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.

+ Here is the call graph for this function:

Jetscape::Afterburner::~Afterburner ( )
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.

+ Here is the call graph for this function:

Member Function Documentation

void Jetscape::Afterburner::Exec ( )
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.

std::vector< std::vector< std::shared_ptr< Hadron > > > Jetscape::Afterburner::GatherAfterburnerHadrons ( )
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

References dummy, end, and JSWARN.

std::vector< shared_ptr< Hadron > > Jetscape::Afterburner::GetFragmentationHadrons ( )
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().

+ Here is the call graph for this function:

std::vector< std::vector< std::shared_ptr< Hadron > > > Jetscape::Afterburner::GetSoftParticlizationHadrons ( )
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

References dummy, and JSWARN.

void Jetscape::Afterburner::Init ( )
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.

+ Here is the call graph for this function:

Member Data Documentation

std::vector<std::vector<std::shared_ptr<Hadron> > > Jetscape::Afterburner::dummy
protected

Definition at line 50 of file Afterburner.h.

View newest version in sPHENIX GitHub at line 50 of file Afterburner.h

std::shared_ptr<std::uniform_int_distribution<int> > Jetscape::Afterburner::rand_int_ptr_
protected

Definition at line 53 of file Afterburner.h.

View newest version in sPHENIX GitHub at line 53 of file Afterburner.h

std::uniform_real_distribution<double> Jetscape::Afterburner::ZeroOneDistribution
protected

Definition at line 51 of file Afterburner.h.

View newest version in sPHENIX GitHub at line 51 of file Afterburner.h


The documentation for this class was generated from the following files: