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

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

+ Inheritance diagram for Jetscape::SoftParticlization:
+ Collaboration diagram for Jetscape::SoftParticlization:

Public Member Functions

 SoftParticlization ()
 
 ~SoftParticlization ()
 
virtual void Init ()
 
virtual void Exec ()
 
virtual void Clear ()
 
bool check_boost_invariance ()
 
- 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::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 ()
 

Public Attributes

std::vector< std::vector
< shared_ptr< Hadron > > > 
Hadron_list_
 
bool boost_invariance
 

Additional Inherited Members

- Static Public Member Functions inherited from Jetscape::JetScapeModuleBase
static int GetCurrentEvent ()
 
static void IncrementCurrentEvent ()
 

Detailed Description

Definition at line 31 of file SoftParticlization.h.

View newest version in sPHENIX GitHub at line 31 of file SoftParticlization.h

Constructor & Destructor Documentation

Jetscape::SoftParticlization::SoftParticlization ( )

Definition at line 24 of file SoftParticlization.cc.

View newest version in sPHENIX GitHub at line 24 of file SoftParticlization.cc

References boost_invariance.

Jetscape::SoftParticlization::~SoftParticlization ( )

Definition at line 26 of file SoftParticlization.cc.

View newest version in sPHENIX GitHub at line 26 of file SoftParticlization.cc

References Hadron_list_, and i.

Member Function Documentation

bool Jetscape::SoftParticlization::check_boost_invariance ( )

Definition at line 53 of file SoftParticlization.cc.

View newest version in sPHENIX GitHub at line 53 of file SoftParticlization.cc

References Jetscape::JetScapeModuleBase::GetXMLElementDouble(), and nz.

Referenced by Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Jetscape::SoftParticlization::Clear ( void  )
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.

Reimplemented in iSpectraSamplerWrapper.

Definition at line 46 of file SoftParticlization.cc.

View newest version in sPHENIX GitHub at line 46 of file SoftParticlization.cc

References Hadron_list_, and i.

void Jetscape::SoftParticlization::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.

Reimplemented in iSpectraSamplerWrapper.

Definition at line 44 of file SoftParticlization.cc.

View newest version in sPHENIX GitHub at line 44 of file SoftParticlization.cc

void Jetscape::SoftParticlization::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 33 of file SoftParticlization.cc.

View newest version in sPHENIX GitHub at line 33 of file SoftParticlization.cc

References boost_invariance, check_boost_invariance(), Jetscape::JetScapeTask::GetId(), Jetscape::JetScapeModuleBase::Init(), Jetscape::JetScapeTask::InitTask(), and JSINFO.

+ Here is the call graph for this function:

Member Data Documentation

bool Jetscape::SoftParticlization::boost_invariance

Definition at line 43 of file SoftParticlization.h.

View newest version in sPHENIX GitHub at line 43 of file SoftParticlization.h

Referenced by Init(), and SoftParticlization().

std::vector<std::vector<shared_ptr<Hadron> > > Jetscape::SoftParticlization::Hadron_list_

Definition at line 41 of file SoftParticlization.h.

View newest version in sPHENIX GitHub at line 41 of file SoftParticlization.h

Referenced by Clear(), and ~SoftParticlization().


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