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

Create planar clusters from simulation hits. More...

#include <acts/blob/sPHENIX/Examples/Algorithms/Digitization/include/ActsExamples/Digitization/DigitizationAlgorithm.hpp>

+ Inheritance diagram for ActsExamples::DigitizationAlgorithm:
+ Collaboration diagram for ActsExamples::DigitizationAlgorithm:

Classes

struct  Config
 
struct  Digitizable
 

Public Member Functions

 DigitizationAlgorithm (Config cfg, Acts::Logging::Level lvl)
 
ProcessCode execute (const 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::unordered_map
< Acts::GeometryIdentifier,
Digitizable
m_digitizables
 Lookup container for all digitizable surfaces.
 

Additional Inherited Members

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

Detailed Description

Create planar clusters from simulation hits.

Definition at line 30 of file DigitizationAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 30 of file DigitizationAlgorithm.hpp

Constructor & Destructor Documentation

ActsExamples::DigitizationAlgorithm::DigitizationAlgorithm ( Config  cfg,
Acts::Logging::Level  lvl 
)

Construct the digitization algorithm.

Parameters
cfgis the algorithm configuration
lvlis the logging level

Definition at line 31 of file DigitizationAlgorithm.cpp.

View newest version in sPHENIX GitHub at line 31 of file DigitizationAlgorithm.cpp

References Acts::IdentifiedDetectorElement::digitizationModule(), Acts::GeometryObject::geometryId(), ActsExamples::DigitizationAlgorithm::Config::inputSimulatedHits, m_cfg, m_digitizables, ActsExamples::DigitizationAlgorithm::Config::outputClusters, ActsExamples::DigitizationAlgorithm::Config::planarModuleStepper, ActsExamples::DigitizationAlgorithm::Config::randomNumbers, ActsExamples::DigitizationAlgorithm::Digitizable::surface, surface(), and ActsExamples::DigitizationAlgorithm::Config::trackingGeometry.

+ Here is the call graph for this function:

Member Function Documentation

ActsExamples::ProcessCode ActsExamples::DigitizationAlgorithm::execute ( const AlgorithmContext ctx) const
finaloverridevirtual

Build clusters from input simulation hits.

Parameters
txtis the algorithm context with event information
Returns
a process code indication success or failure

Implements ActsExamples::BareAlgorithm.

Definition at line 74 of file DigitizationAlgorithm.cpp.

View newest version in sPHENIX GitHub at line 74 of file DigitizationAlgorithm.cpp

References ACTS_DEBUG, ACTS_VERBOSE, ActsExamples::WhiteBoard::add(), Acts::Segmentation::binUtility(), Acts::Test::cov, ActsExamples::AlgorithmContext::eventStore, ActsExamples::AlgorithmContext::geoContext, ActsExamples::WhiteBoard::get(), ActsExamples::groupByModule(), it, Acts::UnitConstants::ps, SUCCESS, and thickness.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::DigitizationAlgorithm::m_cfg
private

Definition at line 64 of file DigitizationAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 64 of file DigitizationAlgorithm.hpp

Referenced by DigitizationAlgorithm().

std::unordered_map<Acts::GeometryIdentifier, Digitizable> ActsExamples::DigitizationAlgorithm::m_digitizables
private

Lookup container for all digitizable surfaces.

Definition at line 66 of file DigitizationAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 66 of file DigitizationAlgorithm.hpp

Referenced by DigitizationAlgorithm().


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