ATLAS Offline Software
Loading...
Searching...
No Matches
TrueFwdElectronsPlots.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_TRUEFWDELECTRONSPLOTS_H
6#define ZEEVALIDATION_TRUEFWDELECTRONSPLOTS_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 TrueFwdElectronsPlots(PlotBase* pParent, const std::string& sDir, const std::string& sParticleType);
18 void fill(const xAOD::IParticle* part, int level);
19
20 void fillResponse(const xAOD::IParticle* part, const xAOD::Electron* electron);
21
22 void makeEfficiencyPlot(TH1* hDenom, TH1* hNom, TProfile* hEff);
23
24 std::string m_sParticleType;
25
26 //nLevels = 4 (Loose, Tight, MatchedEl, Truth)
27 static const int nLevels = 4;
28 static const std::string cLevelLabel[nLevels];
29
34
39
44
48
49 private:
50
51 virtual void initializePlots();
52 virtual void finalizePlots();
53
54 };
55}
56
57#endif
PlotBase(PlotBase *parent, const std::string &sDir)
Definition PlotBase.cxx:29
TProfile * h_true_fwd_electron_eff_abseta[nLevels-1]
void fillResponse(const xAOD::IParticle *part, const xAOD::Electron *electron)
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
TrueFwdElectronsPlots(PlotBase *pParent, const std::string &sDir, const std::string &sParticleType)
static const std::string cLevelLabel[nLevels]
void fill(const xAOD::IParticle *part, int level)
Class providing the definition of the 4-vector interface.
Electron_v1 Electron
Definition of the current "egamma version".