|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETTRACKPERFMON_TRACKANALYSISPLOTSMGR_H
6 #define INDETTRACKPERFMON_TRACKANALYSISPLOTSMGR_H
42 class TrackAnalysisCollections;
43 class ITrackMatchingLookup;
52 const std::string&
chain,
72 template<
typename PARTICLE,
typename VERTEX >
74 const std::vector< const PARTICLE* >&
particles,
76 const std::vector< const VERTEX* >& vertices,
77 float truthMu=0.,
float actualMu=0.,
float weight=1.0 );
82 template<
typename PARTICLE,
typename VERTEX >
84 const std::vector< const PARTICLE* >&
particles,
86 const std::vector< const VERTEX* >& vertices,
87 float truthMu=0.,
float actualMu=0.,
float weight=1.0 );
91 const std::vector< const xAOD::TrackParticle* >& testTracks,
92 const std::vector< const xAOD::TrackParticle* >& refTracks,
93 const std::vector< const xAOD::TruthParticle* >& truths,
95 float truthMu=0.,
float actualMu=0.,
float weight=1.0 );
147 #endif // > !INDETTRACKPERFMON_TRACKANALYSISPLOTSMGR_H
const std::string & chain() const
std::unique_ptr< EfficiencyPlots > m_plots_tech_eff_vsTruth
std::unique_ptr< VertexParametersPlots > m_plots_vtxParam_vsRef
plots w.r.t. reference vertices parameters
std::unique_ptr< NtracksPlots > m_plots_nTracks_vsRef
std::unique_ptr< TrackParametersPlots > m_plots_trkParam_vsTest
Plot categories plots w.r.t.
std::unique_ptr< HitsOnTracksPlots > m_plots_hitsOnTrk_vsTest
std::unique_ptr< HitsOnTracksPlots > m_plots_hitsOnUnlinkedTrk
std::unique_ptr< HitsOnTracksPlots > m_plots_hitsOnMatchedTrk
StatusCode fillPlotsTruth(const std::vector< const xAOD::TrackParticle * > &testTracks, const std::vector< const xAOD::TrackParticle * > &refTracks, const std::vector< const xAOD::TruthParticle * > &truths, const ITrackMatchingLookup &matches, float truthMu=0., float actualMu=0., float weight=1.0)
Fill efficiency plots w.r.t. truth (for EFTruthMatch only)
std::unique_ptr< EfficiencyPlots > m_plots_eff_vsTruth
plots w.r.t. efficiency plots w.r.t. truth (for EFTruthMatch only)
std::unique_ptr< FakeRatePlots > m_plots_fakeRate
fake rate plots (only when reference=truth)
std::unique_ptr< ResolutionPlots > m_plots_resolution
resolution plots
std::unique_ptr< VertexParametersPlots > m_plots_nVtxParam_vsTest
std::unique_ptr< EfficiencyPlots > m_plots_tech_eff_vsRef
StatusCode fillPlotsTest(const std::vector< const PARTICLE * > &particles, const ITrackMatchingLookup &matches, const std::vector< const VERTEX * > &vertices, float truthMu=0., float actualMu=0., float weight=1.0)
Fill all plots w.r.t.
virtual ~TrackAnalysisPlotsMgr()=default
Destructor.
std::unique_ptr< EfficiencyPlots > m_plots_eff_vsRef
StatusCode fillPlotsReference(const std::vector< const PARTICLE * > &particles, const ITrackMatchingLookup &matches, const std::vector< const VERTEX * > &vertices, float truthMu=0., float actualMu=0., float weight=1.0)
Fill all plots w.r.t.
::StatusCode StatusCode
StatusCode definition for legacy code.
Derived class to give extra capabilities to TrkValHistUtils/PlotBase.h such as ATH_MSG and an easier ...
std::unique_ptr< FakeRatePlots > m_plots_missingTruth
std::unique_ptr< DuplicateRatePlots > m_plots_duplRate
duplicate rate plots
std::unique_ptr< HitsOnTracksPlots > m_plots_hitsOnFakeTrk
std::unique_ptr< TrackParametersPlots > m_plots_trkParam_vsRef
plots w.r.t. reference tracks parameters
std::unique_ptr< OfflineElectronPlots > m_plots_eff_vsOffEle
std::unique_ptr< VertexParametersPlots > m_plots_vtxParam_vsTest
plots w.r.t. test vertices parameters
std::unique_ptr< HitsOnTracksPlots > m_plots_hitsOnTrk_vsRef
std::unique_ptr< HitsOnTracksPlots > m_plots_hitsOnMatchedTrk_vsRef
std::unique_ptr< EfficiencyPlots > m_plots_tech_eff_vsTest
std::unique_ptr< VertexParametersPlots > m_plots_nVtxParam_vsRef
TrackAnalysisPlotsMgr(const std::string &dirName, const std::string &anaTag, const std::string &chain, PlotMgr *pParent=nullptr)
Constructor.
StatusCode fill(TrackAnalysisCollections &trkAnaColls, float weight=1.0)
General fill method.
SmartIF< ITrackAnalysisDefinitionSvc > m_trkAnaDefSvc
TrackAnalysis definition service to "hold" the histograms configurations/flags.
StatusCode initialize()
initialize
const std::string & directory() const
std::unique_ptr< OfflineElectronPlots > m_plots_offEle
plots w.r.t. reference offline electron
const std::string & anaTag() const
return members
std::unique_ptr< NtracksPlots > m_plots_nTracks_vsTest
std::unique_ptr< EfficiencyPlots > m_plots_eff_vsTest