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

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

+ Collaboration diagram for FW::FakeRatePlotTool:

Classes

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

Public Member Functions

 FakeRatePlotTool (const Config &cfg, Acts::Logging::Level lvl)
 
void book (FakeRatePlotCache &fakeRatePlotCache) const
 book the fake rate plots
 
void fill (FakeRatePlotCache &fakeRatePlotCache, const ActsFatras::Particle &truthParticle, bool status) const
 fill fake rate plots
 
void fill (FakeRatePlotCache &fakeRatePlotCache, const ActsFatras::Particle &truthParticle, size_t nTruthMatchedTracks, size_t nFakeTracks) const
 fill number of reco/truth-matched/fake tracks for a single Multi-trajectory
 
void write (const FakeRatePlotCache &fakeRatePlotCache) const
 write the fake rate plots to file
 
void clear (FakeRatePlotCache &fakeRatePlotCache) const
 delete the fake rate 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 22 of file FakeRatePlotTool.hpp.

View newest version in sPHENIX GitHub at line 22 of file FakeRatePlotTool.hpp

Constructor & Destructor Documentation

FW::FakeRatePlotTool::FakeRatePlotTool ( const Config cfg,
Acts::Logging::Level  lvl 
)

Constructor

Parameters
cfgConfiguration struct
lvlMessage level declaration

Definition at line 18 of file FakeRatePlotTool.cpp.

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

Member Function Documentation

void FW::FakeRatePlotTool::fill ( FakeRatePlotTool::FakeRatePlotCache fakeRatePlotCache,
const ActsFatras::Particle truthParticle,
bool  status 
) const

fill fake rate plots

Parameters
fakeRatePlotCachecache object for fake rate plots
truthParticlethe truth Particle
statusthe reconstruction status

Definition at line 87 of file FakeRatePlotTool.cpp.

View newest version in sPHENIX GitHub at line 87 of file FakeRatePlotTool.cpp

References Acts::VectorHelpers::eta(), FW::FakeRatePlotTool::FakeRatePlotCache::fakerate_vs_eta, FW::FakeRatePlotTool::FakeRatePlotCache::fakerate_vs_phi, FW::FakeRatePlotTool::FakeRatePlotCache::fakerate_vs_pT, FW::PlotHelpers::fillEff(), phi, ActsFatras::Particle::transverseMomentum(), and ActsFatras::Particle::unitDirection().

+ Here is the call graph for this function:

void FW::FakeRatePlotTool::fill ( FakeRatePlotTool::FakeRatePlotCache fakeRatePlotCache,
const ActsFatras::Particle truthParticle,
size_t  nTruthMatchedTracks,
size_t  nFakeTracks 
) const

fill number of reco/truth-matched/fake tracks for a single Multi-trajectory

Parameters
fakeRatePlotCachecache object for fake rate plots
truthParticlethe truth Particle
nTruthMatchedTracksthe number of truth-Matched tracks
nFakeTracksthe number of fake tracks

Definition at line 99 of file FakeRatePlotTool.cpp.

View newest version in sPHENIX GitHub at line 99 of file FakeRatePlotTool.cpp

References FW::FakeRatePlotTool::FakeRatePlotCache::duplicationNum_vs_eta, FW::FakeRatePlotTool::FakeRatePlotCache::duplicationNum_vs_phi, FW::FakeRatePlotTool::FakeRatePlotCache::duplicationNum_vs_pT, Acts::VectorHelpers::eta(), FW::PlotHelpers::fillHisto(), FW::PlotHelpers::fillProf(), FW::FakeRatePlotTool::FakeRatePlotCache::nFakeTracks, FW::FakeRatePlotTool::FakeRatePlotCache::nRecoTracks, FW::FakeRatePlotTool::FakeRatePlotCache::nTruthMatchedTracks, phi, ActsFatras::Particle::transverseMomentum(), and ActsFatras::Particle::unitDirection().

+ Here is the call graph for this function:

const Acts::Logger& FW::FakeRatePlotTool::logger ( ) const
inlineprivate

The logger.

Definition at line 89 of file FakeRatePlotTool.hpp.

View newest version in sPHENIX GitHub at line 89 of file FakeRatePlotTool.hpp

References m_logger.

Member Data Documentation

Config FW::FakeRatePlotTool::m_cfg
private

The Config class.

Definition at line 85 of file FakeRatePlotTool.hpp.

View newest version in sPHENIX GitHub at line 85 of file FakeRatePlotTool.hpp

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

The logging instance.

Definition at line 86 of file FakeRatePlotTool.hpp.

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

Referenced by logger().


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