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

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

+ Collaboration diagram for ActsExamples::TrackSummaryPlotTool:

Classes

struct  Config
 The nested configuration struct. More...
 
struct  TrackSummaryPlotCache
 Nested Cache struct. More...
 

Public Member Functions

 TrackSummaryPlotTool (const Config &cfg, Acts::Logging::Level lvl)
 
void book (TrackSummaryPlotCache &trackSummaryPlotCache) const
 book the track info plots
 
void fill (TrackSummaryPlotCache &trackSummaryPlotCache, const Acts::BoundTrackParameters &fittedParameters, size_t nStates, size_t nMeasurments, size_t Outliers, size_t nHoles) const
 fill reco track info w.r.t. fitted track parameters
 
void write (const TrackSummaryPlotCache &trackSummaryPlotCache) const
 write the track info plots to file
 
void clear (TrackSummaryPlotCache &trackSummaryPlotCache) const
 delete the track info plots
 

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 23 of file TrackSummaryPlotTool.hpp.

View newest version in sPHENIX GitHub at line 23 of file TrackSummaryPlotTool.hpp

Constructor & Destructor Documentation

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

Constructor

Parameters
cfgConfiguration struct
lvlMessage level declaration

Definition at line 13 of file TrackSummaryPlotTool.cpp.

View newest version in sPHENIX GitHub at line 13 of file TrackSummaryPlotTool.cpp

Member Function Documentation

void ActsExamples::TrackSummaryPlotTool::book ( TrackSummaryPlotTool::TrackSummaryPlotCache trackSummaryPlotCache) const
void ActsExamples::TrackSummaryPlotTool::fill ( TrackSummaryPlotTool::TrackSummaryPlotCache trackSummaryPlotCache,
const Acts::BoundTrackParameters fittedParameters,
size_t  nStates,
size_t  nMeasurments,
size_t  Outliers,
size_t  nHoles 
) const

fill reco track info w.r.t. fitted track parameters

Parameters
trackSummaryPlotCachecache object for track info plots
fittedParametersfitted track parameters of this track
nStatesnumber of track states
nMeasurementsnumber of measurements
nOutliersnumber of outliers
nHolesnumber of holes

Definition at line 77 of file TrackSummaryPlotTool.cpp.

View newest version in sPHENIX GitHub at line 77 of file TrackSummaryPlotTool.cpp

References Acts::VectorHelpers::eta(), ActsExamples::PlotHelpers::fillProf(), momentum, Acts::SingleBoundTrackParameters< charge_t >::momentum(), ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nHoles_vs_eta, ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nHoles_vs_pt, ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nMeasurements_vs_eta, ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nMeasurements_vs_pt, ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nOutliers_vs_eta, ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nOutliers_vs_pt, ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nStates_vs_eta, ActsExamples::TrackSummaryPlotTool::TrackSummaryPlotCache::nStates_vs_pt, and Acts::VectorHelpers::perp().

+ Here is the call graph for this function:

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

The logger.

Definition at line 86 of file TrackSummaryPlotTool.hpp.

View newest version in sPHENIX GitHub at line 86 of file TrackSummaryPlotTool.hpp

References m_logger.

Member Data Documentation

Config ActsExamples::TrackSummaryPlotTool::m_cfg
private

The Config class.

Definition at line 82 of file TrackSummaryPlotTool.hpp.

View newest version in sPHENIX GitHub at line 82 of file TrackSummaryPlotTool.hpp

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

The logging instance.

Definition at line 83 of file TrackSummaryPlotTool.hpp.

View newest version in sPHENIX GitHub at line 83 of file TrackSummaryPlotTool.hpp

Referenced by logger().


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