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

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

+ Inheritance diagram for Jetscape::JetEnergyLossModule< Derived >:
+ Collaboration diagram for Jetscape::JetEnergyLossModule< Derived >:

Public Member Functions

virtual shared_ptr< JetEnergyLossClone () const override
 Deep copy constructor. The goal is to not have to initialize Modules multiple times.
 
void SetActive (bool m_active_exec)
 Override deactivation.
 
- Public Member Functions inherited from Jetscape::JetEnergyLoss
 JetEnergyLoss ()
 
 JetEnergyLoss (const JetEnergyLoss &j)
 
virtual ~JetEnergyLoss ()
 
virtual void Init ()
 
virtual void Exec () final
 
virtual void WriteTask (weak_ptr< JetScapeWriter > w)
 
virtual void Clear ()
 
virtual void DoEnergyLoss (double deltaT, double time, double Q2, vector< Parton > &pIn, vector< Parton > &pOut)
 
void SetQhat (double m_qhat)
 
const double GetQhat () const
 
void AddShowerInitiatingParton (shared_ptr< Parton > p)
 
shared_ptr< PartonGetShowerInitiatingParton ()
 
void PrintShowerInitiatingParton ()
 
double GetDeltaT ()
 
double GetMaxT ()
 
shared_ptr< PartonShowerGetShower ()
 
void SetJetSignalConnected (bool m_jetSignalConnected)
 TODO: Remove.
 
const bool GetJetSignalConnected () const
 
void SetEdensitySignalConnected (bool m_edensitySignalConnected)
 
const bool GetEdensitySignalConnected () const
 
void SetGetHydroCellSignalConnected (bool m_GetHydroCellSignalConnected)
 
const bool GetGetHydroCellSignalConnected ()
 
void SetGetHydroTau0SignalConnected (bool m_GetHydroTau0SignalConnected)
 
const bool GetGetHydroTau0SignalConnected ()
 
void SetSentInPartonsConnected (bool m_SentInPartonsConnected)
 
const bool GetSentInPartonsConnected ()
 
void add_a_liquefier (std::shared_ptr< LiquefierBase > new_liquefier)
 
std::weak_ptr< LiquefierBaseget_liquefier ()
 
void SendFinalStatePartons (vector< vector< shared_ptr< Parton >>> &fPartons)
 
void GetFinalPartonsForEachShower (shared_ptr< PartonShower > shower)
 
- 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 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

bool TakeResponsibilityFor (Parton &p)
 

Additional Inherited Members

- Static Public Member Functions inherited from Jetscape::JetScapeModuleBase
static int GetCurrentEvent ()
 
static void IncrementCurrentEvent ()
 
- Public Attributes inherited from Jetscape::JetEnergyLoss
sigslot::signal5< double,
double, double, double,
std::unique_ptr< FluidCellInfo >
&, multi_threaded_local
GetHydroCellSignal
 Core signal to receive information from the medium.
 
sigslot::signal1< double
&, multi_threaded_local
GetHydroTau0Signal
 
sigslot::signal2< int, double,
multi_threaded_local
jetSignal
 
sigslot::signal2< int, double
&, multi_threaded_local
edensitySignal
 
sigslot::signal5< double,
double, double, vector< Parton >
&, vector< Parton >
&, multi_threaded_local
SentInPartons
 
- Protected Attributes inherited from Jetscape::JetEnergyLoss
std::weak_ptr< LiquefierBaseliquefier_ptr
 

Detailed Description

template<typename Derived>
class Jetscape::JetEnergyLossModule< Derived >

Definition at line 28 of file JetEnergyLossModule.h.

View newest version in sPHENIX GitHub at line 28 of file JetEnergyLossModule.h

Member Function Documentation

template<typename Derived>
virtual shared_ptr<JetEnergyLoss> Jetscape::JetEnergyLossModule< Derived >::Clone ( ) const
inlineoverridevirtual

Deep copy constructor. The goal is to not have to initialize Modules multiple times.

Reimplemented from Jetscape::JetEnergyLoss.

Definition at line 34 of file JetEnergyLossModule.h.

View newest version in sPHENIX GitHub at line 34 of file JetEnergyLossModule.h

template<typename Derived>
void Jetscape::JetEnergyLossModule< Derived >::SetActive ( bool  m_active_exec)
inline

Override deactivation.

Definition at line 44 of file JetEnergyLossModule.h.

View newest version in sPHENIX GitHub at line 44 of file JetEnergyLossModule.h

template<typename Derived>
bool Jetscape::JetEnergyLossModule< Derived >::TakeResponsibilityFor ( Parton p)
inlineprotected

Only one Eloss module at a time should be manipulating a parton In the current setup, that's all but impossible to impose and relies on cooperation between modules. This is a crude way (relying on self-reporting) to check that this is always the case.

Definition at line 55 of file JetEnergyLossModule.h.

View newest version in sPHENIX GitHub at line 55 of file JetEnergyLossModule.h


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