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

#include <acts/blob/sPHENIX/Examples/Framework/include/ActsExamples/Validation/ResPlotTool.hpp>

+ Collaboration diagram for ActsExamples::ResPlotTool:

Classes

struct  Config
 Nested configuration struct. More...
 
struct  ResPlotCache
 Nested Cache struct. More...
 

Public Member Functions

 ResPlotTool (const Config &cfg, Acts::Logging::Level lvl)
 
void book (ResPlotCache &resPlotCache) const
 book the histograms
 
void fill (ResPlotCache &resPlotCache, const Acts::GeometryContext &gctx, const ActsFatras::Particle &truthParticle, const Acts::BoundTrackParameters &fittedParamters) const
 fill the histograms
 
void refinement (ResPlotCache &resPlotCache) const
 extract the details of the residual/pull plots and fill details
 
void write (const ResPlotCache &resPlotCache) const
 write the histograms to output file
 
void clear (ResPlotCache &resPlotCache) const
 delele the histograms
 

Private Member Functions

const Acts::Loggerlogger () const
 The logger.
 

Private Attributes

Config m_cfg
 The config class.
 
std::unique_ptr< const
Acts::Logger
m_logger
 The logging instance.
 

Detailed Description

Definition at line 26 of file ResPlotTool.hpp.

View newest version in sPHENIX GitHub at line 26 of file ResPlotTool.hpp

Constructor & Destructor Documentation

ActsExamples::ResPlotTool::ResPlotTool ( const Config cfg,
Acts::Logging::Level  lvl 
)

Constructor

Parameters
cfgConfiguration struct
levelMessage level declaration

Definition at line 14 of file ResPlotTool.cpp.

View newest version in sPHENIX GitHub at line 14 of file ResPlotTool.cpp

Member Function Documentation

void ActsExamples::ResPlotTool::book ( ResPlotTool::ResPlotCache resPlotCache) const
void ActsExamples::ResPlotTool::fill ( ResPlotTool::ResPlotCache resPlotCache,
const Acts::GeometryContext gctx,
const ActsFatras::Particle truthParticle,
const Acts::BoundTrackParameters fittedParamters 
) const

fill the histograms

Parameters
resPlotCachethe cache for residual/pull histograms
gctxthe geometry context
truthParticlethe truth particle
fittedParamtersthe fitted parameters at perigee surface

Definition at line 135 of file ResPlotTool.cpp.

View newest version in sPHENIX GitHub at line 135 of file ResPlotTool.cpp

References ActsFatras::Particle::absMomentum(), ACTS_ERROR, ACTS_WARNING, ActsFatras::Particle::charge(), Acts::SingleBoundTrackParameters< charge_t >::covariance(), Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundPhi, Acts::eBoundQOverP, Acts::eBoundSize, Acts::eBoundTheta, Acts::eBoundTime, Acts::VectorHelpers::eta(), ActsExamples::PlotHelpers::fillHisto(), Acts::SingleBoundTrackParameters< charge_t >::parameters(), Acts::VectorHelpers::perp(), Acts::VectorHelpers::phi(), phi, ActsFatras::Particle::position(), ActsExamples::ResPlotTool::ResPlotCache::pull, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::pull_vs_pT, Acts::SingleBoundTrackParameters< charge_t >::referenceSurface(), ActsExamples::ResPlotTool::ResPlotCache::res, ActsExamples::ResPlotTool::ResPlotCache::res_vs_eta, ActsExamples::ResPlotTool::ResPlotCache::res_vs_pT, Acts::VectorHelpers::theta(), theta(), ActsFatras::Particle::time(), ActsFatras::Particle::transverseMomentum(), and ActsFatras::Particle::unitDirection().

+ Here is the call graph for this function:

const Acts::Logger& ActsExamples::ResPlotTool::logger ( ) const
inlineprivate

The logger.

Definition at line 119 of file ResPlotTool.hpp.

View newest version in sPHENIX GitHub at line 119 of file ResPlotTool.hpp

References m_logger.

Member Data Documentation

Config ActsExamples::ResPlotTool::m_cfg
private

The config class.

Definition at line 115 of file ResPlotTool.hpp.

View newest version in sPHENIX GitHub at line 115 of file ResPlotTool.hpp

std::unique_ptr<const Acts::Logger> ActsExamples::ResPlotTool::m_logger
private

The logging instance.

Definition at line 116 of file ResPlotTool.hpp.

View newest version in sPHENIX GitHub at line 116 of file ResPlotTool.hpp

Referenced by logger().


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