ATLAS Offline Software
InDetPerfPlot_nTracks.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef INDETPHYSVALMONITORING_INDETPERFPLOT_NTRACKS
6 #define INDETPHYSVALMONITORING_INDETPERFPLOT_NTRACKS
7 
12 // std includes
13 #include <string>
14 
15 // local includes
16 #include "InDetPlotBase.h"
17 class TH1;
18 class TH2;
19 
22 public:
23  InDetPerfPlot_nTracks(InDetPlotBase* pParent, const std::string& dirName);
26  };
27  void fill(const unsigned int freq, const CounterCategory counter, float weight=1.0);
28  void fill(const unsigned int ntracksFull, const unsigned int ntracksCentral,
29  const unsigned int ntracksPt1GeV, const unsigned int truthMu,
30  const float actualMu, const unsigned int nvertices, const float weight=1.0);
31 
32 private:
33  TH1* m_counters[N_COUNTERS]{nullptr};
43  void initializePlots();
44 };
45 
46 #endif
InDetPerfPlot_nTracks::N_COUNTERS
@ N_COUNTERS
Definition: InDetPerfPlot_nTracks.h:25
InDetPerfPlot_nTracks::ALLASSOCIATEDTRUTH
@ ALLASSOCIATEDTRUTH
Definition: InDetPerfPlot_nTracks.h:25
InDetPerfPlot_nTracks::m_ntracks_vs_truthMu
TH2 * m_ntracks_vs_truthMu
Definition: InDetPerfPlot_nTracks.h:34
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
InDetPerfPlot_nTracks::m_counters
TH1 * m_counters[N_COUNTERS]
Definition: InDetPerfPlot_nTracks.h:33
InDetPlotBase
Mixin class to give extra capabilities to plots such as ATH_MSG and an easier booking interface,...
Definition: InDetPlotBase.h:33
InDetPlotBase.h
InDetPerfPlot_nTracks::InDetPerfPlot_nTracks
InDetPerfPlot_nTracks(InDetPlotBase *pParent, const std::string &dirName)
Definition: InDetPerfPlot_nTracks.cxx:13
InDetPerfPlot_nTracks::m_ntracks_vs_nvertices_pT_1GeV
TH2 * m_ntracks_vs_nvertices_pT_1GeV
Definition: InDetPerfPlot_nTracks.h:42
InDetPerfPlot_nTracks::m_ntracks_vs_nvertices_absEta_0_2p5
TH2 * m_ntracks_vs_nvertices_absEta_0_2p5
Definition: InDetPerfPlot_nTracks.h:41
InDetPerfPlot_nTracks::m_ntracks_vs_truthMu_absEta_0_2p5
TH2 * m_ntracks_vs_truthMu_absEta_0_2p5
Definition: InDetPerfPlot_nTracks.h:35
InDetPerfPlot_nTracks::m_ntracks_vs_actualMu_absEta_0_2p5
TH2 * m_ntracks_vs_actualMu_absEta_0_2p5
Definition: InDetPerfPlot_nTracks.h:38
InDetPerfPlot_nTracks::fill
void fill(const unsigned int freq, const CounterCategory counter, float weight=1.0)
Definition: InDetPerfPlot_nTracks.cxx:45
InDetPerfPlot_nTracks::m_ntracks_vs_actualMu
TH2 * m_ntracks_vs_actualMu
Definition: InDetPerfPlot_nTracks.h:37
InDetPerfPlot_nTracks::MATCHEDRECO
@ MATCHEDRECO
Definition: InDetPerfPlot_nTracks.h:25
InDetPerfPlot_nTracks::initializePlots
void initializePlots()
Definition: InDetPerfPlot_nTracks.cxx:18
InDetPerfPlot_nTracks::m_ntracks_vs_actualMu_pT_1GeV
TH2 * m_ntracks_vs_actualMu_pT_1GeV
Definition: InDetPerfPlot_nTracks.h:39
InDetPerfPlot_nTracks::m_ntracks_vs_truthMu_pT_1GeV
TH2 * m_ntracks_vs_truthMu_pT_1GeV
Definition: InDetPerfPlot_nTracks.h:36
InDetPerfPlot_nTracks::m_ntracks_vs_nvertices
TH2 * m_ntracks_vs_nvertices
Definition: InDetPerfPlot_nTracks.h:40
InDetPerfPlot_nTracks::CounterCategory
CounterCategory
Definition: InDetPerfPlot_nTracks.h:24
InDetPerfPlot_nTracks
Class to hold various counters used in RTT code.
Definition: InDetPerfPlot_nTracks.h:21
InDetPerfPlot_nTracks::SELECTEDRECO
@ SELECTEDRECO
Definition: InDetPerfPlot_nTracks.h:25
test_pyathena.counter
counter
Definition: test_pyathena.py:15
InDetPerfPlot_nTracks::ALLRECO
@ ALLRECO
Definition: InDetPerfPlot_nTracks.h:25
InDetPerfPlot_nTracks::ALLTRUTH
@ ALLTRUTH
Definition: InDetPerfPlot_nTracks.h:25
InDetPerfPlot_nTracks::SELECTEDTRUTH
@ SELECTEDTRUTH
Definition: InDetPerfPlot_nTracks.h:25