ATLAS Offline Software
Loading...
Searching...
No Matches
ReconElectronsPlots.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ZEEVALIDATION_RECONELECTRONSPLOTS_H
6#define ZEEVALIDATION_RECONELECTRONSPLOTS_H
7
9#include "CLHEP/Units/SystemOfUnits.h"
11#include "xAODEgamma/Electron.h"
12#include "xAODTracking/Vertex.h"
14
15namespace ZeeValidation{
16
18 public:
19 ReconElectronsPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
20
21 void fill(const xAOD::Electron* electron, int level);
22 void fillinAcc(const xAOD::Electron* electron, int level);
23 void fill(const xAOD::EventInfo* eventInfo, const xAOD::VertexContainer* vertices);
24
25 void fillShowerShape(const xAOD::Electron* electron);
26 void fillTrackCaloMatch(const xAOD::Electron* electron, const xAOD::TrackParticle* track);
27 void fillIsolation(const xAOD::Electron* electron);
28 void fillHitInfo(const xAOD::Electron* electron);
29
30 void makeEfficiencyPlot(TH1* hDenom, TH1* hNom, TProfile* hEff);
31
32 //nLevels = 5 (LHLoose, LHMedium, LHTight, Loose, Medium, Tight, OQ, Reco)
33 static const int nLevels = 8;
34 static const std::string cLevelLabel[nLevels];
35
36 // Reco only information
37 std::string m_sParticleType;
38
42 TH1* h_nvtx;
43 TH1* h_mu;
44 TH1* h_bcid;
46 TH1* h_pv_x;
47 TH1* h_pv_y;
48 TH1* h_pv_z;
49
53
57
58 TH1* h_f1;
59 TH1* h_f3;
62 TH1* h_e233;
63 TH1* h_e237;
64 TH1* h_e277;
65 TH1* h_reta;
66 TH1* h_rphi;
67 TH1* h_weta1;
68 TH1* h_weta2;
70 TH1* h_ethad;
78 TH1* h_demm1;
79 TH1* h_iso;
81
82 TH1* h_deta1;
83 TH1* h_deta2;
84 TH1* h_dphi1;
85 TH1* h_dphi2;
87
97
104
111
112 TH1* h_d0;
116
117 private:
118
119 virtual void initializePlots();
120 virtual void finalizePlots();
121
122 };
123}
124
125#endif
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
void fillinAcc(const xAOD::Electron *electron, int level)
void fill(const xAOD::Electron *electron, int level)
ReconElectronsPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
static const std::string cLevelLabel[nLevels]
void fillShowerShape(const xAOD::Electron *electron)
void fillIsolation(const xAOD::Electron *electron)
void fillTrackCaloMatch(const xAOD::Electron *electron, const xAOD::TrackParticle *track)
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
void fillHitInfo(const xAOD::Electron *electron)
EventInfo_v1 EventInfo
Definition of the latest event info version.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Electron_v1 Electron
Definition of the current "egamma version".