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

#include <acts/blob/master/Examples/Framework/include/ACTFW/Validation/ResPlotTool.hpp>

+ Collaboration diagram for FW::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::BoundParameters &fittedParamters) const
 fill the histograms
 
void refinement (ResPlotCache &resPlotCache) const
 extract the details of the residual/pull plots and fill details into separate histograms
 
void write (const ResPlotCache &resPlotCache) const
 write the histograms to output file
 
void clear (ResPlotCache &resPlotCache) const
 delele the histograms
 

Private Types

using ParVector_t = typename Acts::BoundParameters::ParVector_t
 

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

Member Typedef Documentation

Definition at line 27 of file ResPlotTool.hpp.

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

Constructor & Destructor Documentation

FW::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 FW::ResPlotTool::book ( ResPlotTool::ResPlotCache resPlotCache) const

book the histograms

Parameters
resPlotCachethe cache for residual/pull histograms

Definition at line 18 of file ResPlotTool.cpp.

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

References ACTS_DEBUG, FW::PlotHelpers::bookHisto(), Acts::eBoundParametersSize, FW::ResPlotTool::ResPlotCache::pull, FW::ResPlotTool::ResPlotCache::pull_vs_eta, FW::ResPlotTool::ResPlotCache::pull_vs_pT, FW::ResPlotTool::ResPlotCache::pullmean_vs_eta, FW::ResPlotTool::ResPlotCache::pullmean_vs_pT, FW::ResPlotTool::ResPlotCache::pullwidth_vs_eta, FW::ResPlotTool::ResPlotCache::pullwidth_vs_pT, FW::ResPlotTool::ResPlotCache::res, FW::ResPlotTool::ResPlotCache::res_vs_eta, FW::ResPlotTool::ResPlotCache::res_vs_pT, FW::ResPlotTool::ResPlotCache::resmean_vs_eta, FW::ResPlotTool::ResPlotCache::resmean_vs_pT, FW::ResPlotTool::ResPlotCache::reswidth_vs_eta, and FW::ResPlotTool::ResPlotCache::reswidth_vs_pT.

Referenced by FW::TrackFitterPerformanceWriter::TrackFitterPerformanceWriter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void FW::ResPlotTool::fill ( ResPlotTool::ResPlotCache resPlotCache,
const Acts::GeometryContext gctx,
const ActsFatras::Particle truthParticle,
const Acts::BoundParameters fittedParamters 
) const
const Acts::Logger& FW::ResPlotTool::logger ( ) const
inlineprivate

The logger.

Definition at line 116 of file ResPlotTool.hpp.

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

References m_logger.

void FW::ResPlotTool::refinement ( ResPlotTool::ResPlotCache resPlotCache) const

Member Data Documentation

Config FW::ResPlotTool::m_cfg
private

The config class.

Definition at line 112 of file ResPlotTool.hpp.

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

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

The logging instance.

Definition at line 113 of file ResPlotTool.hpp.

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

Referenced by logger().


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