Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::MeasurementMapSelector Exception Referencefinal

#include <acts/blob/sPHENIX/Examples/Algorithms/Utilities/include/ActsExamples/Utilities/MeasurementMapSelector.hpp>

+ Inheritance diagram for ActsExamples::MeasurementMapSelector:
+ Collaboration diagram for ActsExamples::MeasurementMapSelector:

Classes

struct  Config
 

Public Member Functions

 MeasurementMapSelector (Config cfg, Acts::Logging::Level lvl)
 
virtual ~MeasurementMapSelector ()=default
 
ActsExamples::ProcessCode execute (const ActsExamples::AlgorithmContext &ctx) const final
 
const Configconfig () const
 
- Public Member Functions inherited from ActsExamples::IAlgorithm
 IAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO)
 
std::string name () const override
 The algorithm name.
 
ProcessCode internalExecute (const AlgorithmContext &context) final
 
ProcessCode initialize () override
 Initialize the algorithm.
 
ProcessCode finalize () override
 Finalize the algorithm.
 

Private Types

using Map = IndexMultimap< ActsFatras::Barcode >
 

Private Attributes

Config m_cfg
 
ReadDataHandle
< IndexSourceLinkContainer
m_inputSourceLinks
 
ReadDataHandle< Mapm_inputMap {this, "InputMeasurementParticleMap"}
 
WriteDataHandle< Mapm_outputMap {this, "OutputMeasurementParticleMap"}
 

Additional Inherited Members

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

Detailed Description

Simple algorithm, that allows to extract a subset of a measurment-particles-map. This allows to conveniently work on subsets of the geometry.

Definition at line 28 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 28 of file MeasurementMapSelector.hpp

Member Typedef Documentation

Definition at line 29 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 29 of file MeasurementMapSelector.hpp

Constructor & Destructor Documentation

ActsExamples::MeasurementMapSelector::MeasurementMapSelector ( Config  cfg,
Acts::Logging::Level  lvl 
)
inline

Constructor of the track finding algorithm

Parameters
cfgis the config struct to configure the algorithm
levelis the logging level

Definition at line 50 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 50 of file MeasurementMapSelector.hpp

References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::MeasurementMapSelector::Config::inputMeasurementParticleMap, ActsExamples::MeasurementMapSelector::Config::inputSourceLinks, m_cfg, m_inputMap, m_inputSourceLinks, m_outputMap, and ActsExamples::MeasurementMapSelector::Config::outputMeasurementParticleMap.

+ Here is the call graph for this function:

virtual ActsExamples::MeasurementMapSelector::~MeasurementMapSelector ( )
virtualdefault

Member Function Documentation

const Config& ActsExamples::MeasurementMapSelector::config ( ) const
inline

Definition at line 83 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 83 of file MeasurementMapSelector.hpp

References m_cfg.

ActsExamples::ProcessCode ActsExamples::MeasurementMapSelector::execute ( const ActsExamples::AlgorithmContext ctx) const
inlinefinalvirtual

Filter the measurements

Parameters
ctxis the algorithm context that holds event-wise information
Returns
a process code to steer the algorithm flow

Implements ActsExamples::IAlgorithm.

Definition at line 63 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 63 of file MeasurementMapSelector.hpp

References parse_cmake_options::begin, end, ActsExamples::MeasurementMapSelector::Config::geometrySelection, m_cfg, m_inputMap, m_inputSourceLinks, m_outputMap, testing::internal::move(), ActsExamples::selectLowestNonZeroGeometryObject(), and SUCCESS.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::MeasurementMapSelector::m_cfg
private

Definition at line 87 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 87 of file MeasurementMapSelector.hpp

Referenced by config(), execute(), and MeasurementMapSelector().

ReadDataHandle<Map> ActsExamples::MeasurementMapSelector::m_inputMap {this, "InputMeasurementParticleMap"}
private

Definition at line 91 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 91 of file MeasurementMapSelector.hpp

Referenced by execute(), and MeasurementMapSelector().

ReadDataHandle<IndexSourceLinkContainer> ActsExamples::MeasurementMapSelector::m_inputSourceLinks
private
Initial value:
{
this, "InputSourceLinks"}

Definition at line 89 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 89 of file MeasurementMapSelector.hpp

Referenced by execute(), and MeasurementMapSelector().

WriteDataHandle<Map> ActsExamples::MeasurementMapSelector::m_outputMap {this, "OutputMeasurementParticleMap"}
private

Definition at line 92 of file MeasurementMapSelector.hpp.

View newest version in sPHENIX GitHub at line 92 of file MeasurementMapSelector.hpp

Referenced by execute(), and MeasurementMapSelector().


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