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 void initializePlots();
44};
45
46#endif
InDetPerfPlot_nTracks(InDetPlotBase *pParent, const std::string &dirName)
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.