ATLAS Offline Software
ElectronPlots.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAPHYSVALMONITORING_ELECTRONPLOTS_H
6 #define EGAMMAPHYSVALMONITORING_ELECTRONPLOTS_H
7 
8 #include "GaudiKernel/ToolHandle.h"
9 
12 #include "KinematicsPlots.h"
13 #include "ShowerShapesPlots.h"
14 #include "IsolationPlots.h"
15 #include "TrackPlots.h"
18 
19 #include "xAODEgamma/Electron.h"
21 
22 namespace Egamma{
23 
24 class ElectronPlots:public PlotBase {
25  public:
26  ElectronPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
27  void fill(const xAOD::Electron& electron, const xAOD::EventInfo& eventInfo, bool isPrompt);
28  // Reco only information
29 
34 
39 
44 
49 
54 
59 
64 
69 
74 
75  TH1* nParticles;
78  std::string m_sParticleType;
79 
80  void Set_d0_nBins(unsigned d0_nBins)
81  {
91  };
92 
93  void Set_d0sig_nBins(unsigned d0_nBins)
94  {
104  };
105  void Set_z0_nBins(unsigned z0_nBins)
106  {
116  };
117  void Set_d0_Bins(const std::vector<double> &d0Range)
118  {
128  };
129 
130  void Set_d0sig_Bins(const std::vector<double> &d0Range)
131  {
141  };
142  void Set_z0_Bins(const std::vector<double> &z0Range)
143  {
153  };
154 
155 
156  private:
157  virtual void initializePlots();
158 
160 
161 };
162 
163 }
164 
165 #endif
Egamma::ElectronPlots::m_oIsolationPromptLHTightPlots
Egamma::IsolationPlots m_oIsolationPromptLHTightPlots
Definition: ElectronPlots.h:72
TrackPlots.h
Egamma::TrackPlots::Set_d0sig_nBins
void Set_d0sig_nBins(unsigned d0sig_nBins)
Definition: TrackPlots.cxx:66
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
Egamma::ElectronPlots::fill
void fill(const xAOD::Electron &electron, const xAOD::EventInfo &eventInfo, bool isPrompt)
Definition: ElectronPlots.cxx:67
Egamma::ElectronPlots::m_oShowerShapesIsoLHMediumPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHMediumPlots
Definition: ElectronPlots.h:46
KinematicsPlots.h
PlotBase
Definition: PlotBase.h:34
Egamma::KinematicsPlots
Definition: Reconstruction/egamma/EgammaPhysValMonitoring/src/KinematicsPlots.h:18
Egamma::ElectronPlots::m_oIsolationIsoLHTightPlots
Egamma::IsolationPlots m_oIsolationIsoLHTightPlots
Definition: ElectronPlots.h:52
Egamma::ElectronPlots::m_oTrackPromptLHTightPlots
Egamma::TrackPlots m_oTrackPromptLHTightPlots
Definition: ElectronPlots.h:73
Egamma
Definition: ClusMomentumPlots.cxx:11
Egamma::ElectronPlots::Set_z0_Bins
void Set_z0_Bins(const std::vector< double > &z0Range)
Definition: ElectronPlots.h:142
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Egamma::ElectronPlots::m_oTrackPromptRecoPlots
Egamma::TrackPlots m_oTrackPromptRecoPlots
Definition: ElectronPlots.h:58
Egamma::ElectronPlots::m_oTrackPromptLHMediumPlots
Egamma::TrackPlots m_oTrackPromptLHMediumPlots
Definition: ElectronPlots.h:68
Egamma::ElectronPlots::m_oKinIsoLHTightPlots
Egamma::KinematicsPlots m_oKinIsoLHTightPlots
Definition: ElectronPlots.h:50
Egamma::ElectronPlots::nParticles_weighted
TH1 * nParticles_weighted
Definition: ElectronPlots.h:76
Egamma::ElectronPlots::m_oShowerShapesPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHLoosePlots
Definition: ElectronPlots.h:61
ShowerShapesPlots.h
Egamma::ElectronPlots::m_oShowerShapesPromptLHMediumPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHMediumPlots
Definition: ElectronPlots.h:66
Egamma::ElectronPlots::Match
bool Match(const xAOD::Egamma &particle)
Egamma::ElectronPlots::Set_d0_Bins
void Set_d0_Bins(const std::vector< double > &d0Range)
Definition: ElectronPlots.h:117
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
Egamma::ShowerShapesPlots
Definition: ShowerShapesPlots.h:16
Egamma::ElectronPlots::m_sParticleType
std::string m_sParticleType
Definition: ElectronPlots.h:78
Egamma::ElectronPlots::m_oKinIsoLHMediumPlots
Egamma::KinematicsPlots m_oKinIsoLHMediumPlots
Definition: ElectronPlots.h:45
Egamma::IsolationPlots
Definition: IsolationPlots.h:16
Egamma::TrackPlots::Set_d0_Bins
void Set_d0_Bins(const std::vector< double > &d0Range)
Definition: TrackPlots.cxx:76
Egamma::ElectronPlots::nTypeParticles
TH1 * nTypeParticles
Definition: ElectronPlots.h:77
Egamma::TrackPlots::Set_z0_nBins
void Set_z0_nBins(unsigned z0_nBins)
Definition: TrackPlots.cxx:71
Egamma::ElectronPlots::m_oTrackIsoLHMediumPlots
Egamma::TrackPlots m_oTrackIsoLHMediumPlots
Definition: ElectronPlots.h:48
Egamma::ElectronPlots::m_oKinIsoLHLoosePlots
Egamma::KinematicsPlots m_oKinIsoLHLoosePlots
Definition: ElectronPlots.h:40
Egamma::ElectronPlots::m_oKinPromptLHLoosePlots
Egamma::KinematicsPlots m_oKinPromptLHLoosePlots
Definition: ElectronPlots.h:60
Egamma::ElectronPlots::m_oKinPromptLHTightPlots
Egamma::KinematicsPlots m_oKinPromptLHTightPlots
Definition: ElectronPlots.h:70
Egamma::ElectronPlots::m_oShowerShapesAllRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesAllRecoPlots
Definition: ElectronPlots.h:31
IMCTruthClassifier.h
Egamma::ElectronPlots::m_oIsolationIsoLHLoosePlots
Egamma::IsolationPlots m_oIsolationIsoLHLoosePlots
Definition: ElectronPlots.h:42
Egamma::ElectronPlots::m_oShowerShapesIsoRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoRecoPlots
Definition: ElectronPlots.h:36
Egamma::ElectronPlots::m_oTrackIsoRecoPlots
Egamma::TrackPlots m_oTrackIsoRecoPlots
Definition: ElectronPlots.h:38
Egamma::ElectronPlots::m_oKinAllRecoPlots
Egamma::KinematicsPlots m_oKinAllRecoPlots
Definition: ElectronPlots.h:30
Egamma::ElectronPlots::m_oKinPromptRecoPlots
Egamma::KinematicsPlots m_oKinPromptRecoPlots
Definition: ElectronPlots.h:55
Egamma::ElectronPlots::ElectronPlots
ElectronPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Definition: ElectronPlots.cxx:16
Egamma::ElectronPlots::m_oTrackIsoLHLoosePlots
Egamma::TrackPlots m_oTrackIsoLHLoosePlots
Definition: ElectronPlots.h:43
Egamma::ElectronPlots::nParticles
TH1 * nParticles
Definition: ElectronPlots.h:75
Egamma::TrackPlots::Set_d0sig_Bins
void Set_d0sig_Bins(const std::vector< double > &d0sigRange)
Definition: TrackPlots.cxx:80
Egamma::ElectronPlots::m_oShowerShapesPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHTightPlots
Definition: ElectronPlots.h:71
Egamma::ElectronPlots::m_oShowerShapesIsoLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHLoosePlots
Definition: ElectronPlots.h:41
Egamma::ElectronPlots::m_oTrackIsoLHTightPlots
Egamma::TrackPlots m_oTrackIsoLHTightPlots
Definition: ElectronPlots.h:53
Egamma::ElectronPlots::m_oKinPromptLHMediumPlots
Egamma::KinematicsPlots m_oKinPromptLHMediumPlots
Definition: ElectronPlots.h:65
Egamma::ElectronPlots
Definition: ElectronPlots.h:24
IsolationPlots.h
Egamma::ElectronPlots::m_oIsolationPromptLHLoosePlots
Egamma::IsolationPlots m_oIsolationPromptLHLoosePlots
Definition: ElectronPlots.h:62
Egamma::TrackPlots::Set_z0_Bins
void Set_z0_Bins(const std::vector< double > &z0Range)
Definition: TrackPlots.cxx:85
Egamma::ElectronPlots::Set_z0_nBins
void Set_z0_nBins(unsigned z0_nBins)
Definition: ElectronPlots.h:105
Egamma::ElectronPlots::Set_d0sig_Bins
void Set_d0sig_Bins(const std::vector< double > &d0Range)
Definition: ElectronPlots.h:130
Egamma::ElectronPlots::m_oIsolationIsoLHMediumPlots
Egamma::IsolationPlots m_oIsolationIsoLHMediumPlots
Definition: ElectronPlots.h:47
Egamma::TrackPlots
Definition: TrackPlots.h:16
xAOD::Electron_v1
Definition: Electron_v1.h:34
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
MCTruthPartClassifier::isPrompt
int isPrompt(const unsigned int classify, bool allow_prompt_tau_decays=true)
Definition: TruthClassifiers.h:180
Egamma::ElectronPlots::m_oIsolationPromptLHMediumPlots
Egamma::IsolationPlots m_oIsolationPromptLHMediumPlots
Definition: ElectronPlots.h:67
Egamma::ElectronPlots::Set_d0_nBins
void Set_d0_nBins(unsigned d0_nBins)
Definition: ElectronPlots.h:80
xAOD::EgammaParameters::electron
@ electron
Definition: EgammaEnums.h:18
Egamma::ElectronPlots::initializePlots
virtual void initializePlots()
Definition: ElectronPlots.cxx:62
Egamma::ElectronPlots::m_oKinIsoRecoPlots
Egamma::KinematicsPlots m_oKinIsoRecoPlots
Definition: ElectronPlots.h:35
Egamma::ElectronPlots::m_oIsolationPromptRecoPlots
Egamma::IsolationPlots m_oIsolationPromptRecoPlots
Definition: ElectronPlots.h:57
Egamma::ElectronPlots::m_oTrackAllRecoPlots
Egamma::TrackPlots m_oTrackAllRecoPlots
Definition: ElectronPlots.h:33
Electron.h
Egamma::ElectronPlots::m_oIsolationIsoRecoPlots
Egamma::IsolationPlots m_oIsolationIsoRecoPlots
Definition: ElectronPlots.h:37
Egamma::ElectronPlots::m_oShowerShapesPromptRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptRecoPlots
Definition: ElectronPlots.h:56
TruthParticle.h
PlotBase.h
Egamma::TrackPlots::Set_d0_nBins
void Set_d0_nBins(unsigned d0_nBins)
Definition: TrackPlots.cxx:62
EfficiencyPlots.h
Egamma::ElectronPlots::Set_d0sig_nBins
void Set_d0sig_nBins(unsigned d0_nBins)
Definition: ElectronPlots.h:93
ParamPlots.h
Egamma::ElectronPlots::m_oTrackPromptLHLoosePlots
Egamma::TrackPlots m_oTrackPromptLHLoosePlots
Definition: ElectronPlots.h:63
Egamma::ElectronPlots::m_oIsolationAllRecoPlots
Egamma::IsolationPlots m_oIsolationAllRecoPlots
Definition: ElectronPlots.h:32
Egamma::ElectronPlots::m_oShowerShapesIsoLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHTightPlots
Definition: ElectronPlots.h:51