EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::GeantinoRecording Exception Referencefinal

#include <acts/blob/sPHENIX/Examples/Algorithms/Geant4/include/ActsExamples/Geant4/GeantinoRecording.hpp>

+ Inheritance diagram for ActsExamples::GeantinoRecording:
+ Collaboration diagram for ActsExamples::GeantinoRecording:

Classes

struct  Config
 

Public Member Functions

 GeantinoRecording (Config &&cfg, Acts::Logging::Level lvl)
 
 ~GeantinoRecording ()
 
ActsExamples::ProcessCode execute (const ActsExamples::AlgorithmContext &ctx) const finaloverride
 
- Public Member Functions inherited from ActsExamples::BareAlgorithm
 BareAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO)
 
std::string name () const finaloverride
 The algorithm name.
 

Private Attributes

Config m_cfg
 
std::unique_ptr< G4RunManager > m_runManager
 
std::mutex m_runManagerLock
 

Additional Inherited Members

- Protected Member Functions inherited from ActsExamples::BareAlgorithm
const Acts::Loggerlogger () const
 

Detailed Description

Records the simulation geometry using geantinos.

This initiates the Geant4 simulation, and creates and writes out the MaterialTrack entities which are needed for material mapping.

Definition at line 37 of file GeantinoRecording.hpp.

View newest version in sPHENIX GitHub at line 37 of file GeantinoRecording.hpp

Constructor & Destructor Documentation

GeantinoRecording::~GeantinoRecording ( )

Definition at line 52 of file GeantinoRecording.cpp.

View newest version in sPHENIX GitHub at line 52 of file GeantinoRecording.cpp

Member Function Documentation

ActsExamples::ProcessCode GeantinoRecording::execute ( const ActsExamples::AlgorithmContext context) const
finaloverridevirtual

Execute the algorithm for one event.

This function must be implemented by subclasses.

Implements ActsExamples::BareAlgorithm.

Definition at line 54 of file GeantinoRecording.cpp.

View newest version in sPHENIX GitHub at line 54 of file GeantinoRecording.cpp

References ActsExamples::WhiteBoard::add(), ActsExamples::AlgorithmContext::eventStore, ActsExamples::EventAction::instance(), m_cfg, m_runManager, m_runManagerLock, ActsExamples::EventAction::materialTracks(), ActsExamples::GeantinoRecording::Config::outputMaterialTracks, SUCCESS, and ActsExamples::GeantinoRecording::Config::tracksPerEvent.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::GeantinoRecording::m_cfg
private

Definition at line 57 of file GeantinoRecording.hpp.

View newest version in sPHENIX GitHub at line 57 of file GeantinoRecording.hpp

Referenced by execute(), and GeantinoRecording().

std::unique_ptr<G4RunManager> ActsExamples::GeantinoRecording::m_runManager
private

Definition at line 58 of file GeantinoRecording.hpp.

View newest version in sPHENIX GitHub at line 58 of file GeantinoRecording.hpp

Referenced by execute(), and GeantinoRecording().

std::mutex ActsExamples::GeantinoRecording::m_runManagerLock
mutableprivate

Definition at line 60 of file GeantinoRecording.hpp.

View newest version in sPHENIX GitHub at line 60 of file GeantinoRecording.hpp

Referenced by execute().


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