ATLAS Offline Software
RecoElectronHistograms.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAVALIDATION_RECOELECTRONHISTOGRAMS_H
6 #define EGAMMAVALIDATION_RECOELECTRONHISTOGRAMS_H
7 
8 #include "xAODEgamma/Electron.h"
9 #include "ParticleHistograms.h"
10 
11 class TH2D;
12 class TH3D;
13 
14 namespace egammaMonitoring {
15 
17 
18  public:
19  using ParticleHistograms::ParticleHistograms;
20 
21  std::map<std::string, TH2D*> histo2DMap;
22  std::map<std::string, TH3D*> histo3DMap;
23 
25 
27  void fill(const xAOD::Electron& elrec);
28 
29  void isData(bool b = true) { m_isData = b; }
30 
31  private:
32  bool m_isData = false;
33 
34  };
35 
36 }
37 
38 #endif
egammaMonitoring::RecoElectronHistograms::initializePlots
StatusCode initializePlots()
Definition: RecoElectronHistograms.cxx:14
egammaMonitoring::RecoElectronHistograms::histo2DMap
std::map< std::string, TH2D * > histo2DMap
Definition: RecoElectronHistograms.h:21
egammaMonitoring::RecoElectronHistograms::histo3DMap
std::map< std::string, TH3D * > histo3DMap
Definition: RecoElectronHistograms.h:22
egammaMonitoring::ParticleHistograms::fill
void fill(const xAOD::IParticle &egamma)
Definition: ParticleHistograms.cxx:41
egammaMonitoring::RecoElectronHistograms::fill
void fill(const xAOD::Electron &elrec)
Definition: RecoElectronHistograms.cxx:39
ParticleHistograms.h
egammaMonitoring::ParticleHistograms
Definition: ParticleHistograms.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
egammaMonitoring::RecoElectronHistograms::m_isData
bool m_isData
Definition: RecoElectronHistograms.h:32
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
egammaMonitoring
Definition: ClusterHistograms.h:19
xAOD::Electron_v1
Definition: Electron_v1.h:34
egammaMonitoring::RecoElectronHistograms::isData
void isData(bool b=true)
Definition: RecoElectronHistograms.h:29
Electron.h
egammaMonitoring::RecoElectronHistograms
Definition: RecoElectronHistograms.h:16