EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Initiates and executes material mapping. More...
Classes | |
struct | Config |
Public Member Functions | |
MaterialMapping (const Config &cfg, Acts::Logging::Level level=Acts::Logging::INFO) | |
~MaterialMapping () | |
ActsExamples::ProcessCode | execute (const AlgorithmContext &context) 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 |
internal config object | |
Acts::SurfaceMaterialMapper::State | m_mappingState |
Material mapping state. | |
Acts::VolumeMaterialMapper::State | m_mappingStateVol |
Material mapping state. | |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::BareAlgorithm | |
const Acts::Logger & | logger () const |
Initiates and executes material mapping.
The MaterialMapping reads in the MaterialTrack with a dedicated reader and uses the material mapper to project the material onto the tracking geometry
By construction, the material mapping needs inter-event information to build the material maps of accumulated single particle views. However, running it in one single event, puts enormous pressure onto the I/O structure.
It therefore saves the mapping state/cache as a private member variable and is designed to be executed in a single threaded mode.
Definition at line 53 of file MaterialMapping.hpp.
View newest version in sPHENIX GitHub at line 53 of file MaterialMapping.hpp
ActsExamples::MaterialMapping::MaterialMapping | ( | const Config & | cfg, |
Acts::Logging::Level | level = Acts::Logging::INFO |
||
) |
Constructor
cfg | The configuration struct carrying the used tools |
level | The output logging level |
Definition at line 16 of file MaterialMapping.cpp.
View newest version in sPHENIX GitHub at line 16 of file MaterialMapping.cpp
References ACTS_INFO, ActsExamples::MaterialMapping::Config::geoContext, m_cfg, m_mappingState, m_mappingStateVol, ActsExamples::MaterialMapping::Config::magFieldContext, ActsExamples::MaterialMapping::Config::materialSurfaceMapper, ActsExamples::MaterialMapping::Config::materialVolumeMapper, and ActsExamples::MaterialMapping::Config::trackingGeometry.
ActsExamples::MaterialMapping::~MaterialMapping | ( | ) |
Destructor
Definition at line 44 of file MaterialMapping.cpp.
View newest version in sPHENIX GitHub at line 44 of file MaterialMapping.cpp
References value.
|
finaloverridevirtual |
Framework execute method
context | The algorithm context for event consistency |
Implements ActsExamples::BareAlgorithm.
Definition at line 91 of file MaterialMapping.cpp.
View newest version in sPHENIX GitHub at line 91 of file MaterialMapping.cpp
References ActsExamples::WhiteBoard::add(), ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), and SUCCESS.
|
private |
internal config object
Definition at line 107 of file MaterialMapping.hpp.
View newest version in sPHENIX GitHub at line 107 of file MaterialMapping.hpp
Referenced by MaterialMapping().
|
private |
Material mapping state.
Definition at line 109 of file MaterialMapping.hpp.
View newest version in sPHENIX GitHub at line 109 of file MaterialMapping.hpp
Referenced by MaterialMapping().
|
private |
Material mapping state.
Definition at line 111 of file MaterialMapping.hpp.
View newest version in sPHENIX GitHub at line 111 of file MaterialMapping.hpp
Referenced by MaterialMapping().