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

#include <JETSCAPE/blob/main/src/jet/ElossValidation.h>

+ Inheritance diagram for ElossValidate:
+ Collaboration diagram for ElossValidate:

Public Member Functions

 ElossValidate ()
 
virtual ~ElossValidate ()
 
void Init ()
 
void DoEnergyLoss (double deltaT, double time, double Q2, vector< Parton > &pIn, vector< Parton > &pOut)
 
void WriteTask (weak_ptr< JetScapeWriter > w)
 
- Public Member Functions inherited from Jetscape::JetEnergyLossModule< ElossValidate >
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 Exec () final
 
virtual void Clear ()
 
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 ()
 

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 Member Functions inherited from Jetscape::JetEnergyLossModule< ElossValidate >
bool TakeResponsibilityFor (Parton &p)
 
- Protected Attributes inherited from Jetscape::JetEnergyLoss
std::weak_ptr< LiquefierBaseliquefier_ptr
 

Detailed Description

Definition at line 23 of file ElossValidation.h.

View newest version in sPHENIX GitHub at line 23 of file ElossValidation.h

Constructor & Destructor Documentation

ElossValidate::ElossValidate ( )

Definition at line 33 of file ElossValidation.cc.

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

References SetId(), and VERBOSE.

+ Here is the call graph for this function:

ElossValidate::~ElossValidate ( )
virtual

Definition at line 38 of file ElossValidation.cc.

View newest version in sPHENIX GitHub at line 38 of file ElossValidation.cc

References VERBOSE.

Member Function Documentation

void ElossValidate::DoEnergyLoss ( double  deltaT,
double  time,
double  Q2,
vector< Parton > &  pIn,
vector< Parton > &  pOut 
)
virtual

Default function to perform the energy loss for partons at time "time". It should be overridden by different energy loss tasks.

Parameters
deltaTStep-size.
timeCurrent time.
Q2Current virtuality of the parton.
pInVector of current partons.
pOutVector of partons at time "time+deltaT".

A parton without a virtuality or formation time, must set...

Reimplemented from Jetscape::JetEnergyLoss.

Definition at line 55 of file ElossValidation.cc.

View newest version in sPHENIX GitHub at line 55 of file ElossValidation.cc

References Jetscape::fmToGeVinv, Jetscape::gid, i, j, JSINFO, MAGENTA, QS, t, and VERBOSESHOWER.

void ElossValidate::Init ( )
virtual

It reads the input parameters from a XML file under the tag <Eloss>. Sets the Parton class inP and PartonShower class pShower to null. Also initializes the tasks attached to the JetEnergyLoss module.

Reimplemented from Jetscape::JetEnergyLoss.

Definition at line 40 of file ElossValidation.cc.

View newest version in sPHENIX GitHub at line 40 of file ElossValidation.cc

References JSINFO, and physmon_simulation::s.

void ElossValidate::WriteTask ( weak_ptr< JetScapeWriter w)
virtual

Write output information for each tasks/subtasks attached to the JetEnergyLoss module using JetScapeWriter functionality.

Parameters
wA pointer of type JetScapeWriter.

Reimplemented from Jetscape::JetEnergyLoss.

Definition at line 47 of file ElossValidation.cc.

View newest version in sPHENIX GitHub at line 47 of file ElossValidation.cc

References f, and VERBOSE.


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