5#ifndef INDETTRACKPERFMON_PLOTS_NTRACKSPLOTS_H
6#define INDETTRACKPERFMON_PLOTS_NTRACKSPLOTS_H
27 const std::string& dirName,
28 const std::string& anaTag,
29 const std::string& trackType,
30 bool doTrigger =
false,
31 bool doTruthMuPlots =
false );
38 const std::vector< size_t >& trackCounts,
39 const std::vector< size_t >& vertexCounts,
67 "all",
"selected",
"selectedInRoI",
"matched"
Derived class to give extra capabilities to TrkValHistUtils/PlotBase.h such as ATH_MSG and an easier ...
Class to hold for each event collections needed in the TrkAnalsis.
TH2 * m_nTracks_vs_truthMu[NCOUNTERS]
void finalizePlots()
Print out final stats on histograms.
void initializePlots()
Book the histograms.
TProfile * m_avg_nTracks_vs_actualMu[NCOUNTERS]
NtracksPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, const std::string &trackType, bool doTrigger=false, bool doTruthMuPlots=false)
Constructor.
TH1 * m_nTracks[NCOUNTERS]
virtual ~NtracksPlots()=default
Destructor.
std::string m_counterName[NCOUNTERS]
TH2 * m_nTracks_vs_nVertices[NCOUNTERS]
StatusCode fillPlots(const std::vector< size_t > &trackCounts, const std::vector< size_t > &vertexCounts, float truthMu, float actualMu, float weight)
Dedicated fill method.
Counter
Importing Counter enum.
TProfile * m_avg_nTracks_vs_truthMu[NCOUNTERS]
TH2 * m_nTracks_vs_actualMu[NCOUNTERS]
PlotMgr(const std::string &dirName, const std::string &anaTag, PlotMgr *pParent=nullptr)
Constructor taking parent node and directory name for plots pParent = nullptr by default to book plot...