5#ifndef INDETTRACKPERFMON_PLOTS_VERTEXPARAMETERSPLOTS_H
6#define INDETTRACKPERFMON_PLOTS_VERTEXPARAMETERSPLOTS_H
26 const std::string& dirName,
27 const std::string& anaTag,
29 bool doTrackPlots =
false,
30 bool doGlobalPlots =
false,
31 bool doTruthMuPlots =
false );
41 template<
typename VERTEX,
typename PARTICLE >
44 const std::vector< const PARTICLE* >& associatedTracks,
45 const std::vector< float >& associatedTrackWeights,
Derived class to give extra capabilities to TrkValHistUtils/PlotBase.h such as ATH_MSG and an easier ...
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...
void finalizePlots()
Print out final stats on histograms.
void initializePlots()
Book the histograms.
TH1 * m_vtx_track_nSiHits
TH2 * m_nVtx_vs_actualMu_2D
TH1 * m_vtx_track_nSiHoles
TH1 * m_vtx_x
vertex parameters plots
TH2 * m_nVtx_vs_truthMu_2D
vertex multiplicity vs pileup plots
VertexParametersPlots(PlotMgr *pParent, const std::string &dirName, const std::string &anaTag, const std::string &vertexType, bool doTrackPlots=false, bool doGlobalPlots=false, bool doTruthMuPlots=false)
Constructor.
TH1 * m_vtx_nTracks
vertex-associated tracks plots
virtual ~VertexParametersPlots()=default
Destructor.
TProfile * m_nVtx_vs_actualMu
TProfile * m_nVtx_vs_truthMu
StatusCode fillPlots(const VERTEX &vertex, const std::vector< const PARTICLE * > &associatedTracks, const std::vector< float > &associatedTrackWeights, float weight)
Dedicated fill method (for reco and/or truth vertices)
int vertexType(const V &v)