ATLAS Offline Software
Loading...
Searching...
No Matches
InDetPerfPlot_HitEfficiency.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_HITEFFICIENCY
6#define INDETPHYSVALMONITORING_InDetPerfPlot_HITEFFICIENCY
11
12
13
14
15
16// local includes
17
18#include "InDetPlotBase.h"
19// could be fwd declared?
22
23
24// std includes
25#include <atomic>
26#include <string>
27
28class TProfile;
29class TEfficiency;
30
33public:
34 InDetPerfPlot_HitEfficiency(InDetPlotBase* pParent, const std::string& dirName, bool isITk);
35
36 void fill(const xAOD::TrackParticle& trkprt, float weight);
39
40private:
41 // enum copied from the hitDecorator tool in InDetPhysValMonitoring
48private:
49 void initializePlots();
50
51 bool m_isITk;
52
53 //TProfile* m_eff_hit_vs_eta[N_SUBDETECTORS][N_REGIONS];
55 bool m_debug;
56
57 mutable std::atomic<int> m_warnCount{0};
58};
59
60
61#endif
TEfficiency * m_HitEfficiencyVsEta[N_SUBDETECTORS][N_REGIONS]
void fill(const xAOD::TrackParticle &trkprt, float weight)
InDetPerfPlot_HitEfficiency(InDetPlotBase *pParent, const std::string &dirName, bool isITk)
InDetPlotBase(InDetPlotBase *pParent, const std::string &dirName)
Constructor taking parent node and directory name for plots.
Definition HitInfo.h:33
TrackParticle_v1 TrackParticle
Reference the current persistent version: