ATLAS Offline Software
TruthElectronHistograms.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAVALIDATION_TRUTHELECTRONHISTOGRAMS_H
6 #define EGAMMAVALIDATION_TRUTHELECTRONHISTOGRAMS_H
7 
9 #include "xAODEgamma/Electron.h"
10 #include "ParticleHistograms.h"
11 
12 class TH2D;
13 
14 namespace egammaMonitoring {
15 
17  {
18 
19  public:
20 
21  using ParticleHistograms::ParticleHistograms;
22 
23  virtual StatusCode initializePlots() override;
24  StatusCode initializePlots(bool reducedHistSet);
25 
27 
28  void fill(const xAOD::TruthParticle* truth, const xAOD::Electron* el = nullptr) ;
30 
31  std::map<std::string, TH2D*> histoMap2D;
32 
33  private:
34 
36 
37  };
38 
39 }
40 
41 #endif
egammaMonitoring::TruthElectronHistograms::m_reducedHistSet
bool m_reducedHistSet
Definition: TruthElectronHistograms.h:35
egammaMonitoring::TruthElectronHistograms::histoMap2D
std::map< std::string, TH2D * > histoMap2D
Definition: TruthElectronHistograms.h:29
egammaMonitoring::TruthElectronHistograms::initializePlots
virtual StatusCode initializePlots() override
Definition: TruthElectronHistograms.cxx:17
egammaMonitoring::ParticleHistograms::fill
void fill(const xAOD::IParticle &egamma)
Definition: ParticleHistograms.cxx:41
egammaMonitoring::TruthElectronHistograms
Definition: TruthElectronHistograms.h:17
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
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:37
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
egammaMonitoring
Definition: ClusterHistograms.h:19
xAOD::Electron_v1
Definition: Electron_v1.h:34
Electron.h
TruthParticle.h
egammaMonitoring::TruthElectronHistograms::~TruthElectronHistograms
virtual ~TruthElectronHistograms()
Definition: TruthElectronHistograms.h:29
egammaMonitoring::TruthElectronHistograms::fill
void fill(const xAOD::TruthParticle *truth, const xAOD::Electron *el=nullptr)
Definition: TruthElectronHistograms.cxx:67