Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::PlanarModuleStepper Class Reference

#include <acts/blob/sPHENIX/Core/include/Acts/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 Vector3 &startPoint, const Vector3 &endPoint) const
 
std::vector< DigitizationStepcellSteps (const GeometryContext &gctx, const DigitizationModule &dmodule, const Vector2 &moduleIntersection, const Vector3 &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 31 of file PlanarModuleStepper.hpp.

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

Constructor & Destructor Documentation

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

Constructor

Parameters
mloggeris the logging instance

Definition at line 25 of file PlanarModuleStepper.cpp.

View newest version in sPHENIX GitHub at line 25 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 Vector3 startPoint,
const Vector3 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 position of the stepping
Returns
is the vector of digitization steps

Definition at line 29 of file PlanarModuleStepper.cpp.

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

References Acts::ACTS_VERBOSE(), Acts::DigitizationModule::digitizationStep(), Acts::Intersection< 3 >::forwardOrder(), norm, Acts::Experimental::detail::BlueprintHelper::sort(), 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 Vector2 moduleIntersection,
const Vector3 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 intersection
Returns
is the vector of digitization steps

Definition at line 80 of file PlanarModuleStepper.cpp.

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

References Acts::ACTS_VERBOSE(), Acts::DigitizationModule::boundarySurfaces(), Acts::Intersection< 3 >::forwardOrder(), position, and Acts::Experimental::detail::BlueprintHelper::sort().

+ 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 77 of file PlanarModuleStepper.hpp.

View newest version in sPHENIX GitHub at line 77 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 71 of file PlanarModuleStepper.hpp.

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

References m_logger, and testing::internal::move().

+ Here is the call graph for this function:

Member Data Documentation

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

logging instance

Definition at line 80 of file PlanarModuleStepper.hpp.

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

Referenced by logger(), and setLogger().


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