ATLAS Offline Software
Loading...
Searching...
No Matches
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
22namespace Egamma{
23
24class 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
78 std::string m_sParticleType;
79
80 void Set_d0_nBins(unsigned d0_nBins)
81 {
82 m_oTrackAllRecoPlots.Set_d0_nBins(d0_nBins);
83 m_oTrackIsoRecoPlots.Set_d0_nBins(d0_nBins);
84 m_oTrackIsoLHLoosePlots.Set_d0_nBins(d0_nBins);
85 m_oTrackIsoLHMediumPlots.Set_d0_nBins(d0_nBins);
86 m_oTrackIsoLHTightPlots.Set_d0_nBins(d0_nBins);
87 m_oTrackPromptRecoPlots.Set_d0_nBins(d0_nBins);
88 m_oTrackPromptLHLoosePlots.Set_d0_nBins(d0_nBins);
89 m_oTrackPromptLHMediumPlots.Set_d0_nBins(d0_nBins);
90 m_oTrackPromptLHTightPlots.Set_d0_nBins(d0_nBins);
91 };
92
93 void Set_d0sig_nBins(unsigned d0_nBins)
94 {
95 m_oTrackAllRecoPlots.Set_d0sig_nBins(d0_nBins);
96 m_oTrackIsoRecoPlots.Set_d0sig_nBins(d0_nBins);
97 m_oTrackIsoLHLoosePlots.Set_d0sig_nBins(d0_nBins);
98 m_oTrackIsoLHMediumPlots.Set_d0sig_nBins(d0_nBins);
99 m_oTrackIsoLHTightPlots.Set_d0sig_nBins(d0_nBins);
100 m_oTrackPromptRecoPlots.Set_d0sig_nBins(d0_nBins);
101 m_oTrackPromptLHLoosePlots.Set_d0sig_nBins(d0_nBins);
102 m_oTrackPromptLHMediumPlots.Set_d0sig_nBins(d0_nBins);
103 m_oTrackPromptLHTightPlots.Set_d0sig_nBins(d0_nBins);
104 };
105 void Set_z0_nBins(unsigned z0_nBins)
106 {
107 m_oTrackAllRecoPlots.Set_z0_nBins(z0_nBins);
108 m_oTrackIsoRecoPlots.Set_z0_nBins(z0_nBins);
109 m_oTrackIsoLHLoosePlots.Set_z0_nBins(z0_nBins);
110 m_oTrackIsoLHMediumPlots.Set_z0_nBins(z0_nBins);
111 m_oTrackIsoLHTightPlots.Set_z0_nBins(z0_nBins);
112 m_oTrackPromptRecoPlots.Set_z0_nBins(z0_nBins);
113 m_oTrackPromptLHLoosePlots.Set_z0_nBins(z0_nBins);
114 m_oTrackPromptLHMediumPlots.Set_z0_nBins(z0_nBins);
115 m_oTrackPromptLHTightPlots.Set_z0_nBins(z0_nBins);
116 };
117 void Set_d0_Bins(const std::vector<double> &d0Range)
118 {
119 m_oTrackAllRecoPlots.Set_d0_Bins(d0Range);
120 m_oTrackIsoRecoPlots.Set_d0_Bins(d0Range);
121 m_oTrackIsoLHLoosePlots.Set_d0_Bins(d0Range);
122 m_oTrackIsoLHMediumPlots.Set_d0_Bins(d0Range);
123 m_oTrackIsoLHTightPlots.Set_d0_Bins(d0Range);
124 m_oTrackPromptRecoPlots.Set_d0_Bins(d0Range);
125 m_oTrackPromptLHLoosePlots.Set_d0_Bins(d0Range);
126 m_oTrackPromptLHMediumPlots.Set_d0_Bins(d0Range);
127 m_oTrackPromptLHTightPlots.Set_d0_Bins(d0Range);
128 };
129
130 void Set_d0sig_Bins(const std::vector<double> &d0Range)
131 {
132 m_oTrackAllRecoPlots.Set_d0sig_Bins(d0Range);
133 m_oTrackIsoRecoPlots.Set_d0sig_Bins(d0Range);
134 m_oTrackIsoLHLoosePlots.Set_d0sig_Bins(d0Range);
135 m_oTrackIsoLHMediumPlots.Set_d0sig_Bins(d0Range);
136 m_oTrackIsoLHTightPlots.Set_d0sig_Bins(d0Range);
137 m_oTrackPromptRecoPlots.Set_d0sig_Bins(d0Range);
138 m_oTrackPromptLHLoosePlots.Set_d0sig_Bins(d0Range);
139 m_oTrackPromptLHMediumPlots.Set_d0sig_Bins(d0Range);
140 m_oTrackPromptLHTightPlots.Set_d0sig_Bins(d0Range);
141 };
142 void Set_z0_Bins(const std::vector<double> &z0Range)
143 {
144 m_oTrackAllRecoPlots.Set_z0_Bins(z0Range);
145 m_oTrackIsoRecoPlots.Set_z0_Bins(z0Range);
146 m_oTrackIsoLHLoosePlots.Set_z0_Bins(z0Range);
147 m_oTrackIsoLHMediumPlots.Set_z0_Bins(z0Range);
148 m_oTrackIsoLHTightPlots.Set_z0_Bins(z0Range);
149 m_oTrackPromptRecoPlots.Set_z0_Bins(z0Range);
150 m_oTrackPromptLHLoosePlots.Set_z0_Bins(z0Range);
151 m_oTrackPromptLHMediumPlots.Set_z0_Bins(z0Range);
152 m_oTrackPromptLHTightPlots.Set_z0_Bins(z0Range);
153 };
154
155
156 private:
157 virtual void initializePlots();
158
159 bool Match(const xAOD::Egamma& particle);
160
161};
162
163}
164
165#endif
Egamma::IsolationPlots m_oIsolationIsoLHTightPlots
Egamma::IsolationPlots m_oIsolationPromptRecoPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHMediumPlots
Egamma::TrackPlots m_oTrackIsoLHTightPlots
Egamma::IsolationPlots m_oIsolationIsoLHLoosePlots
std::string m_sParticleType
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptRecoPlots
void Set_d0sig_Bins(const std::vector< double > &d0Range)
Egamma::ShowerShapesPlots m_oShowerShapesAllRecoPlots
Egamma::IsolationPlots m_oIsolationIsoRecoPlots
void Set_d0_nBins(unsigned d0_nBins)
void Set_d0sig_nBins(unsigned d0_nBins)
Egamma::TrackPlots m_oTrackIsoLHMediumPlots
ElectronPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoRecoPlots
Egamma::IsolationPlots m_oIsolationPromptLHTightPlots
Egamma::TrackPlots m_oTrackPromptLHLoosePlots
void Set_z0_nBins(unsigned z0_nBins)
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHTightPlots
Egamma::IsolationPlots m_oIsolationAllRecoPlots
Egamma::KinematicsPlots m_oKinPromptLHLoosePlots
void Set_d0_Bins(const std::vector< double > &d0Range)
Egamma::KinematicsPlots m_oKinIsoLHMediumPlots
Egamma::KinematicsPlots m_oKinIsoRecoPlots
Egamma::TrackPlots m_oTrackIsoRecoPlots
Egamma::TrackPlots m_oTrackIsoLHLoosePlots
void Set_z0_Bins(const std::vector< double > &z0Range)
Egamma::KinematicsPlots m_oKinPromptLHMediumPlots
Egamma::KinematicsPlots m_oKinPromptRecoPlots
Egamma::IsolationPlots m_oIsolationIsoLHMediumPlots
void fill(const xAOD::Electron &electron, const xAOD::EventInfo &eventInfo, bool isPrompt)
Egamma::TrackPlots m_oTrackPromptLHTightPlots
Egamma::KinematicsPlots m_oKinPromptLHTightPlots
Egamma::ShowerShapesPlots m_oShowerShapesPromptLHMediumPlots
virtual void initializePlots()
Egamma::TrackPlots m_oTrackAllRecoPlots
Egamma::IsolationPlots m_oIsolationPromptLHLoosePlots
Egamma::ShowerShapesPlots m_oShowerShapesIsoLHLoosePlots
Egamma::KinematicsPlots m_oKinIsoLHTightPlots
Egamma::TrackPlots m_oTrackPromptRecoPlots
bool Match(const xAOD::Egamma &particle)
Egamma::KinematicsPlots m_oKinIsoLHLoosePlots
Egamma::IsolationPlots m_oIsolationPromptLHMediumPlots
Egamma::TrackPlots m_oTrackPromptLHMediumPlots
Egamma::KinematicsPlots m_oKinAllRecoPlots
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
EventInfo_v1 EventInfo
Definition of the latest event info version.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17
Electron_v1 Electron
Definition of the current "egamma version".