EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::PlanarModuleStepper Class Reference

#include <acts/blob/sPHENIX/Plugins/Digitization/include/Acts/Plugins/Digitization/PlanarModuleStepper.hpp>

+ Collaboration diagram for Acts::PlanarModuleStepper:

Public Member Functions

 PlanarModuleStepper (std::unique_ptr< const Logger > mlogger=getDefaultLogger("PlanarModuleStepper", Logging::INFO))
 
 ~PlanarModuleStepper ()=default
 Destructor.
 
std::vector< DigitizationStepcellSteps (const GeometryContext &gctx, const DigitizationModule &dmodule, const Vector3D &startPoint, const Vector3D &endPoint) const
 
std::vector< DigitizationStepcellSteps (const GeometryContext &gctx, const DigitizationModule &dmodule, const Vector2D &moduleIntersection, const Vector3D &trackDirection) const
 
void setLogger (std::unique_ptr< const Logger > logger)
 

Private Member Functions

const Loggerlogger () const
 Private access method to the logging instance.
 

Private Attributes

std::unique_ptr< const Loggerm_logger
 logging instance
 

Detailed Description

Module for fast, geometric digitization this is a planar module stepper that calculates the step length in given segmentations and retrunes digitisation steps

Definition at line 28 of file PlanarModuleStepper.hpp.

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

Constructor & Destructor Documentation

Acts::PlanarModuleStepper::PlanarModuleStepper ( std::unique_ptr< const Logger mlogger = getDefaultLogger(                          "PlanarModuleStepper", Logging::INFO))

Constructor

Parameters
pmsConfigis the configuration
mloggeris the logging istance

Definition at line 20 of file PlanarModuleStepper.cpp.

View newest version in sPHENIX GitHub at line 20 of file PlanarModuleStepper.cpp

Acts::PlanarModuleStepper::~PlanarModuleStepper ( )
default

Destructor.

Member Function Documentation

std::vector< Acts::DigitizationStep > Acts::PlanarModuleStepper::cellSteps ( const GeometryContext gctx,
const DigitizationModule dmodule,
const Vector3D startPoint,
const Vector3D endPoint 
) const

Calculate the steps caused by this track - full simulation interface

Parameters
gctxThe current geometry context object, e.g. alignment
dmoduleis the digitization module
startPointis the starting position of the stepping
endPointis the end postion of the stepping
Returns
is the vector of digitization steps

Definition at line 24 of file PlanarModuleStepper.cpp.

View newest version in sPHENIX GitHub at line 24 of file PlanarModuleStepper.cpp

References ACTS_VERBOSE, Acts::DigitizationModule::digitizationStep(), and Acts::DigitizationModule::stepSurfaces().

Referenced by Acts::Test::BOOST_DATA_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< Acts::DigitizationStep > Acts::PlanarModuleStepper::cellSteps ( const GeometryContext gctx,
const DigitizationModule dmodule,
const Vector2D moduleIntersection,
const Vector3D trackDirection 
) const

Calculate the steps caused by this track - fast simulation interface

Parameters
gctxThe current geometry context object, e.g. alignment
dmoduleis the digitization module
moduleIntersectionis the 2d intersection at the module surface
trackDirectionis the track direction at the instersection
Returns
is the vector of digitization steps

Definition at line 74 of file PlanarModuleStepper.cpp.

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

References ACTS_VERBOSE, Acts::DigitizationModule::boundarySurfaces(), and Acts::VectorHelpers::position().

+ Here is the call graph for this function:

const Logger& Acts::PlanarModuleStepper::logger ( ) const
inlineprivate

Private access method to the logging instance.

Definition at line 75 of file PlanarModuleStepper.hpp.

View newest version in sPHENIX GitHub at line 75 of file PlanarModuleStepper.hpp

References m_logger.

void Acts::PlanarModuleStepper::setLogger ( std::unique_ptr< const Logger logger)
inline

Set logging instance

Parameters
loggeris the logging instance to be set

Definition at line 69 of file PlanarModuleStepper.hpp.

View newest version in sPHENIX GitHub at line 69 of file PlanarModuleStepper.hpp

References m_logger.

Member Data Documentation

std::unique_ptr<const Logger> Acts::PlanarModuleStepper::m_logger
private

logging instance

Definition at line 78 of file PlanarModuleStepper.hpp.

View newest version in sPHENIX GitHub at line 78 of file PlanarModuleStepper.hpp

Referenced by logger(), and setLogger().


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