ATLAS Offline Software
Loading...
Searching...
No Matches
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
11
12// std includes
13#include <string>
14
15// local includes
16#include "InDetPlotBase.h"
17class TH1;
18class TH2;
19
22public:
23 InDetPerfPlot_nTracks(InDetPlotBase* pParent, const std::string& dirName);
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
32private:
33 TH1* m_counters[N_COUNTERS]{nullptr};
43
53
54 void initializePlots();
55};
56
57#endif
TProfile * m_ntracks_vs_nvertices_pT_1GeV_profile
InDetPerfPlot_nTracks(InDetPlotBase *pParent, const std::string &dirName)
TProfile * m_ntracks_vs_actualMu_absEta_0_2p5_profile
TProfile * m_ntracks_vs_actualMu_pT_1GeV_profile
TProfile * m_ntracks_vs_truthMu_absEta_0_2p5_profile
TProfile * m_ntracks_vs_truthMu_pT_1GeV_profile
TProfile * m_ntracks_vs_nvertices_absEta_0_2p5_profile
void fill(const unsigned int freq, const CounterCategory counter, float weight=1.0)
InDetPlotBase(InDetPlotBase *pParent, const std::string &dirName)
Constructor taking parent node and directory name for plots.