ATLAS Offline Software
LRTElectronPlots.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 EGAMMAPHYSVALMONITORING_LRTELECTRONPLOTS_H
6 #define EGAMMAPHYSVALMONITORING_LRTELECTRONPLOTS_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 LRTElectronPlots:public PlotBase {
25  public:
26  LRTElectronPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
27  void fill(const xAOD::Electron& electron, const xAOD::EventInfo& eventInfo, bool isPrompt, bool pass_LHVeryLooseNoPix, bool pass_LHLooseNoPix, bool pass_LHMediumNoPix, bool pass_LHTightNoPix);
28  // Reco only information
29 
34 
39 
44 
49 
54 
59 
64 
69 
74 
75  // working point plots
76 
81 
86 
91 
96 
97  TH1* nParticles;
100  std::string m_sParticleType;
101 
102  void Set_d0_nBins(unsigned d0_nBins)
103  {
117  };
118 
119  void Set_d0sig_nBins(unsigned d0_nBins)
120  {
134  };
135  void Set_z0_nBins(unsigned z0_nBins)
136  {
150  };
151  void Set_d0_Bins(const std::vector<double> &d0Range)
152  {
166  };
167 
168  void Set_d0sig_Bins(const std::vector<double> &d0Range)
169  {
183  };
184  void Set_z0_Bins(const std::vector<double> &z0Range)
185  {
199  };
200 
201 
202  private:
203  virtual void initializePlots();
205 
206 };
207 
208 }
209 
210 #endif
Egamma::LRTElectronPlots::nParticles_weighted
TH1 * nParticles_weighted
Definition: LRTElectronPlots.h:98
Egamma::LRTElectronPlots::m_oShowerShapesPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHLoosePlots
Definition: LRTElectronPlots.h:61
Egamma::LRTElectronPlots::Set_z0_nBins
void Set_z0_nBins(unsigned z0_nBins)
Definition: LRTElectronPlots.h:135
Egamma::LRTElectronPlots::m_oTrackPromptRecoPlots
Egamma::TrackPlots m_oTrackPromptRecoPlots
Definition: LRTElectronPlots.h:58
Egamma::LRTElectronPlots::Set_d0_nBins
void Set_d0_nBins(unsigned d0_nBins)
Definition: LRTElectronPlots.h:102
TrackPlots.h
Egamma::TrackPlots::Set_d0sig_nBins
void Set_d0sig_nBins(unsigned d0sig_nBins)
Definition: TrackPlots.cxx:66
Egamma::LRTElectronPlots::m_oKinLHLooseNoPixPlots
Egamma::KinematicsPlots m_oKinLHLooseNoPixPlots
Definition: LRTElectronPlots.h:82
Trk::ParticleSwitcher::particle
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
Definition: ParticleHypothesis.h:76
Egamma::LRTElectronPlots::Set_d0sig_Bins
void Set_d0sig_Bins(const std::vector< double > &d0Range)
Definition: LRTElectronPlots.h:168
Egamma::LRTElectronPlots::m_oKinIsoLHLoosePlots
Egamma::KinematicsPlots m_oKinIsoLHLoosePlots
Definition: LRTElectronPlots.h:40
KinematicsPlots.h
PlotBase
Definition: PlotBase.h:34
Egamma::LRTElectronPlots::m_oTrackPromptLHMediumPlots
Egamma::TrackPlots m_oTrackPromptLHMediumPlots
Definition: LRTElectronPlots.h:68
Egamma::KinematicsPlots
Definition: Reconstruction/egamma/EgammaPhysValMonitoring/src/KinematicsPlots.h:18
Egamma::LRTElectronPlots::m_oTrackIsoLHTightPlots
Egamma::TrackPlots m_oTrackIsoLHTightPlots
Definition: LRTElectronPlots.h:53
Egamma
Definition: ClusMomentumPlots.cxx:11
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Egamma::LRTElectronPlots::m_oTrackAllRecoPlots
Egamma::TrackPlots m_oTrackAllRecoPlots
Definition: LRTElectronPlots.h:33
Egamma::LRTElectronPlots::m_oKinAllRecoPlots
Egamma::KinematicsPlots m_oKinAllRecoPlots
Definition: LRTElectronPlots.h:30
Egamma::LRTElectronPlots::m_oTrackIsoRecoPlots
Egamma::TrackPlots m_oTrackIsoRecoPlots
Definition: LRTElectronPlots.h:38
Egamma::LRTElectronPlots::m_oKinLHMediumNoPixPlots
Egamma::KinematicsPlots m_oKinLHMediumNoPixPlots
Definition: LRTElectronPlots.h:87
Egamma::LRTElectronPlots::m_oShowerShapesPromptRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptRecoPlots
Definition: LRTElectronPlots.h:56
Egamma::LRTElectronPlots::nParticles
TH1 * nParticles
Definition: LRTElectronPlots.h:97
Egamma::LRTElectronPlots::m_oKinPromptLHTightPlots
Egamma::KinematicsPlots m_oKinPromptLHTightPlots
Definition: LRTElectronPlots.h:70
ShowerShapesPlots.h
Egamma::LRTElectronPlots::m_oKinIsoRecoPlots
Egamma::KinematicsPlots m_oKinIsoRecoPlots
Definition: LRTElectronPlots.h:35
Egamma::LRTElectronPlots::m_oIsolationAllRecoPlots
Egamma::IsolationPlots m_oIsolationAllRecoPlots
Definition: LRTElectronPlots.h:32
Egamma::LRTElectronPlots::m_oKinLHVeryLooseNoPixPlots
Egamma::KinematicsPlots m_oKinLHVeryLooseNoPixPlots
Definition: LRTElectronPlots.h:77
Egamma::LRTElectronPlots::Set_d0_Bins
void Set_d0_Bins(const std::vector< double > &d0Range)
Definition: LRTElectronPlots.h:151
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
Egamma::LRTElectronPlots
Definition: LRTElectronPlots.h:24
Egamma::ShowerShapesPlots
Definition: ShowerShapesPlots.h:16
Egamma::LRTElectronPlots::m_oShowerShapesIsoLHMediumPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHMediumPlots
Definition: LRTElectronPlots.h:46
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::LRTElectronPlots::m_oKinPromptLHMediumPlots
Egamma::KinematicsPlots m_oKinPromptLHMediumPlots
Definition: LRTElectronPlots.h:65
Egamma::LRTElectronPlots::m_oShowerShapesPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHTightPlots
Definition: LRTElectronPlots.h:71
Egamma::LRTElectronPlots::m_oIsolationPromptRecoPlots
Egamma::IsolationPlots m_oIsolationPromptRecoPlots
Definition: LRTElectronPlots.h:57
Egamma::LRTElectronPlots::m_oIsolationPromptLHTightPlots
Egamma::IsolationPlots m_oIsolationPromptLHTightPlots
Definition: LRTElectronPlots.h:72
Egamma::TrackPlots::Set_z0_nBins
void Set_z0_nBins(unsigned z0_nBins)
Definition: TrackPlots.cxx:71
Egamma::LRTElectronPlots::m_oIsolationLHLooseNoPixPlots
Egamma::IsolationPlots m_oIsolationLHLooseNoPixPlots
Definition: LRTElectronPlots.h:84
Egamma::LRTElectronPlots::m_oTrackLHMediumNoPixPlots
Egamma::TrackPlots m_oTrackLHMediumNoPixPlots
Definition: LRTElectronPlots.h:90
Egamma::LRTElectronPlots::m_oKinIsoLHTightPlots
Egamma::KinematicsPlots m_oKinIsoLHTightPlots
Definition: LRTElectronPlots.h:50
Egamma::LRTElectronPlots::m_oShowerShapesIsoLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHLoosePlots
Definition: LRTElectronPlots.h:41
Egamma::LRTElectronPlots::m_oKinLHTightNoPixPlots
Egamma::KinematicsPlots m_oKinLHTightNoPixPlots
Definition: LRTElectronPlots.h:92
Egamma::LRTElectronPlots::m_oShowerShapesIsoRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoRecoPlots
Definition: LRTElectronPlots.h:36
Egamma::LRTElectronPlots::m_oShowerShapesPromptLHMediumPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHMediumPlots
Definition: LRTElectronPlots.h:66
Egamma::LRTElectronPlots::m_oIsolationLHTightNoPixPlots
Egamma::IsolationPlots m_oIsolationLHTightNoPixPlots
Definition: LRTElectronPlots.h:94
Egamma::LRTElectronPlots::m_oTrackLHVeryLooseNoPixPlots
Egamma::TrackPlots m_oTrackLHVeryLooseNoPixPlots
Definition: LRTElectronPlots.h:80
Egamma::LRTElectronPlots::m_oIsolationIsoLHTightPlots
Egamma::IsolationPlots m_oIsolationIsoLHTightPlots
Definition: LRTElectronPlots.h:52
Egamma::LRTElectronPlots::m_oIsolationIsoLHMediumPlots
Egamma::IsolationPlots m_oIsolationIsoLHMediumPlots
Definition: LRTElectronPlots.h:47
IMCTruthClassifier.h
Egamma::LRTElectronPlots::m_oIsolationIsoRecoPlots
Egamma::IsolationPlots m_oIsolationIsoRecoPlots
Definition: LRTElectronPlots.h:37
Egamma::LRTElectronPlots::m_oTrackLHTightNoPixPlots
Egamma::TrackPlots m_oTrackLHTightNoPixPlots
Definition: LRTElectronPlots.h:95
Egamma::LRTElectronPlots::m_oKinPromptRecoPlots
Egamma::KinematicsPlots m_oKinPromptRecoPlots
Definition: LRTElectronPlots.h:55
Egamma::LRTElectronPlots::m_oIsolationPromptLHLoosePlots
Egamma::IsolationPlots m_oIsolationPromptLHLoosePlots
Definition: LRTElectronPlots.h:62
Egamma::LRTElectronPlots::m_oIsolationPromptLHMediumPlots
Egamma::IsolationPlots m_oIsolationPromptLHMediumPlots
Definition: LRTElectronPlots.h:67
Egamma::LRTElectronPlots::fill
void fill(const xAOD::Electron &electron, const xAOD::EventInfo &eventInfo, bool isPrompt, bool pass_LHVeryLooseNoPix, bool pass_LHLooseNoPix, bool pass_LHMediumNoPix, bool pass_LHTightNoPix)
Definition: LRTElectronPlots.cxx:88
Egamma::LRTElectronPlots::initializePlots
virtual void initializePlots()
Definition: LRTElectronPlots.cxx:83
Egamma::TrackPlots::Set_d0sig_Bins
void Set_d0sig_Bins(const std::vector< double > &d0sigRange)
Definition: TrackPlots.cxx:80
Egamma::LRTElectronPlots::m_oIsolationLHVeryLooseNoPixPlots
Egamma::IsolationPlots m_oIsolationLHVeryLooseNoPixPlots
Definition: LRTElectronPlots.h:79
Egamma::LRTElectronPlots::Set_d0sig_nBins
void Set_d0sig_nBins(unsigned d0_nBins)
Definition: LRTElectronPlots.h:119
Egamma::LRTElectronPlots::m_oShowerShapesLHMediumNoPixPlots
Egamma::ShowerShapesPlots m_oShowerShapesLHMediumNoPixPlots
Definition: LRTElectronPlots.h:88
Egamma::LRTElectronPlots::m_oShowerShapesIsoLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHTightPlots
Definition: LRTElectronPlots.h:51
Egamma::LRTElectronPlots::m_oShowerShapesAllRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesAllRecoPlots
Definition: LRTElectronPlots.h:31
Egamma::LRTElectronPlots::LRTElectronPlots
LRTElectronPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Definition: LRTElectronPlots.cxx:16
Egamma::LRTElectronPlots::Match
bool Match(const xAOD::Egamma &particle)
Egamma::LRTElectronPlots::m_oShowerShapesLHLooseNoPixPlots
Egamma::ShowerShapesPlots m_oShowerShapesLHLooseNoPixPlots
Definition: LRTElectronPlots.h:83
Egamma::LRTElectronPlots::m_oTrackIsoLHLoosePlots
Egamma::TrackPlots m_oTrackIsoLHLoosePlots
Definition: LRTElectronPlots.h:43
Egamma::LRTElectronPlots::m_oTrackIsoLHMediumPlots
Egamma::TrackPlots m_oTrackIsoLHMediumPlots
Definition: LRTElectronPlots.h:48
IsolationPlots.h
Egamma::LRTElectronPlots::nTypeParticles
TH1 * nTypeParticles
Definition: LRTElectronPlots.h:99
Egamma::TrackPlots::Set_z0_Bins
void Set_z0_Bins(const std::vector< double > &z0Range)
Definition: TrackPlots.cxx:85
Egamma::LRTElectronPlots::m_oTrackPromptLHLoosePlots
Egamma::TrackPlots m_oTrackPromptLHLoosePlots
Definition: LRTElectronPlots.h:63
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
Egamma::LRTElectronPlots::m_oShowerShapesLHTightNoPixPlots
Egamma::ShowerShapesPlots m_oShowerShapesLHTightNoPixPlots
Definition: LRTElectronPlots.h:93
Egamma::LRTElectronPlots::m_oTrackPromptLHTightPlots
Egamma::TrackPlots m_oTrackPromptLHTightPlots
Definition: LRTElectronPlots.h:73
Egamma::LRTElectronPlots::m_oTrackLHLooseNoPixPlots
Egamma::TrackPlots m_oTrackLHLooseNoPixPlots
Definition: LRTElectronPlots.h:85
Egamma::LRTElectronPlots::m_oKinPromptLHLoosePlots
Egamma::KinematicsPlots m_oKinPromptLHLoosePlots
Definition: LRTElectronPlots.h:60
MCTruthPartClassifier::isPrompt
int isPrompt(const unsigned int classify, bool allow_prompt_tau_decays=true)
Definition: TruthClassifiers.h:180
xAOD::EgammaParameters::electron
@ electron
Definition: EgammaEnums.h:18
Egamma::LRTElectronPlots::m_oIsolationLHMediumNoPixPlots
Egamma::IsolationPlots m_oIsolationLHMediumNoPixPlots
Definition: LRTElectronPlots.h:89
Egamma::LRTElectronPlots::Set_z0_Bins
void Set_z0_Bins(const std::vector< double > &z0Range)
Definition: LRTElectronPlots.h:184
Egamma::LRTElectronPlots::m_oIsolationIsoLHLoosePlots
Egamma::IsolationPlots m_oIsolationIsoLHLoosePlots
Definition: LRTElectronPlots.h:42
Electron.h
Egamma::LRTElectronPlots::m_oKinIsoLHMediumPlots
Egamma::KinematicsPlots m_oKinIsoLHMediumPlots
Definition: LRTElectronPlots.h:45
Egamma::LRTElectronPlots::m_oShowerShapesLHVeryLooseNoPixPlots
Egamma::ShowerShapesPlots m_oShowerShapesLHVeryLooseNoPixPlots
Definition: LRTElectronPlots.h:78
TruthParticle.h
PlotBase.h
Egamma::TrackPlots::Set_d0_nBins
void Set_d0_nBins(unsigned d0_nBins)
Definition: TrackPlots.cxx:62
Egamma::LRTElectronPlots::m_sParticleType
std::string m_sParticleType
Definition: LRTElectronPlots.h:100
EfficiencyPlots.h
ParamPlots.h