ATLAS Offline Software
Loading...
Searching...
No Matches
TrueElectronsPlots.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_TRUEELECTRONSPLOTS_H
6#define ZEEVALIDATION_TRUEELECTRONSPLOTS_H
7
9#include "CLHEP/Units/SystemOfUnits.h"
10#include "xAODBase/IParticle.h"
11#include "xAODEgamma/Electron.h"
12
13namespace ZeeValidation{
14
16 public:
17 TrueElectronsPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
18 void fill(const xAOD::IParticle* part, int level);
19 void fillinAcc(const xAOD::IParticle* part, int level);
20
21 void fillResponse(const xAOD::IParticle* part, const xAOD::Electron* electron);
22 void fillResponseCluster(const xAOD::IParticle* part, const xAOD::CaloCluster* cluster);
23
24 void makeEfficiencyPlot(TH1* hDenom, TH1* hNom, TProfile* hEff);
25
26 // Reco only information
27 std::string m_sParticleType;
28
29 //nLevels = 10 (Loose, Medium, Tight, LHLoose, LHMedium, LHTight, OQ, MatchedEl, MatchedElPh, True)
30 static const int nLevels = 10;
31 static const std::string cLevelLabel[nLevels];
32
36
40
47
51
53
54 private:
55
56 virtual void initializePlots();
57 virtual void finalizePlots();
58
59 };
60}
61
62#endif
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
void fill(const xAOD::IParticle *part, int level)
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
TProfile * h_electron_eff_eta[nLevels-1]
TProfile * h_electron_eff_pt[nLevels-1]
TrueElectronsPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
void fillResponseCluster(const xAOD::IParticle *part, const xAOD::CaloCluster *cluster)
void fillResponse(const xAOD::IParticle *part, const xAOD::Electron *electron)
static const std::string cLevelLabel[nLevels]
void fillinAcc(const xAOD::IParticle *part, int level)
TProfile * h_electron_eff_phi[nLevels-1]
Class providing the definition of the 4-vector interface.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Electron_v1 Electron
Definition of the current "egamma version".