ATLAS Offline Software
PhysicsAnalysis
StandardModelPhys
Validation
ZeeValidation
ZeeValidation
TrueElectronsPlots.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ZEEVALIDATION_TRUEELECTRONSPLOTS_H
6
#define ZEEVALIDATION_TRUEELECTRONSPLOTS_H
7
8
#include "
TrkValHistUtils/PlotBase.h
"
9
#include "CLHEP/Units/SystemOfUnits.h"
10
#include "
xAODBase/IParticle.h
"
11
#include "
xAODEgamma/Electron.h
"
12
13
namespace
ZeeValidation
{
14
15
class
TrueElectronsPlots
:
public
PlotBase
{
16
public
:
17
TrueElectronsPlots
(
PlotBase
* pParent, std::string
sDir
, 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
33
TH1*
h_electron_pt
[
nLevels
];
34
TH1*
h_electron_eta
[
nLevels
];
35
TH1*
h_electron_phi
[
nLevels
];
36
37
TProfile
*
h_electron_eff_pt
[
nLevels
-1];
38
TProfile
*
h_electron_eff_eta
[
nLevels
-1];
39
TProfile
*
h_electron_eff_phi
[
nLevels
-1];
40
41
TProfile
*
h_e_response_vs_e
;
42
TProfile
*
h_e_cluster_response_vs_e
;
43
TProfile
*
h_e_response_vs_eta
;
44
TProfile
*
h_e_cluster_response_vs_eta
;
45
TProfile
*
h_e_response_vs_phi
;
46
TProfile
*
h_e_cluster_response_vs_phi
;
47
48
TH1*
h_dr_electron
;
49
TH1*
h_dphi_electron
;
50
TH1*
h_deta_electron
;
51
52
TH1*
h_dr_photon
;
53
54
private
:
55
56
virtual
void
initializePlots
();
57
virtual
void
finalizePlots
();
58
59
};
60
}
61
62
#endif
LArG4FSStartPointFilter.part
part
Definition:
LArG4FSStartPointFilter.py:21
ZeeValidation::TrueElectronsPlots::h_e_cluster_response_vs_phi
TProfile * h_e_cluster_response_vs_phi
Definition:
TrueElectronsPlots.h:46
ZeeValidation::TrueElectronsPlots::h_electron_eta
TH1 * h_electron_eta[nLevels]
Definition:
TrueElectronsPlots.h:34
IParticle.h
PlotBase
Definition:
PlotBase.h:34
ZeeValidation::TrueElectronsPlots::h_dr_photon
TH1 * h_dr_photon
Definition:
TrueElectronsPlots.h:52
ZeeValidation::TrueElectronsPlots::h_deta_electron
TH1 * h_deta_electron
Definition:
TrueElectronsPlots.h:50
ZeeValidation::TrueElectronsPlots::h_dphi_electron
TH1 * h_dphi_electron
Definition:
TrueElectronsPlots.h:49
python.copyTCTOutput.sDir
sDir
Definition:
copyTCTOutput.py:60
ZeeValidation::TrueElectronsPlots::fillResponseCluster
void fillResponseCluster(const xAOD::IParticle *part, const xAOD::CaloCluster *cluster)
Definition:
TrueElectronsPlots.cxx:103
ZeeValidation::TrueElectronsPlots::h_e_response_vs_e
TProfile * h_e_response_vs_e
Definition:
TrueElectronsPlots.h:41
ZeeValidation::TrueElectronsPlots::h_e_cluster_response_vs_e
TProfile * h_e_cluster_response_vs_e
Definition:
TrueElectronsPlots.h:42
ZeeValidation::TrueElectronsPlots::fillinAcc
void fillinAcc(const xAOD::IParticle *part, int level)
Definition:
TrueElectronsPlots.cxx:85
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition:
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
ZeeValidation::TrueElectronsPlots::h_electron_phi
TH1 * h_electron_phi[nLevels]
Definition:
TrueElectronsPlots.h:35
ZeeValidation::TrueElectronsPlots::h_e_response_vs_eta
TProfile * h_e_response_vs_eta
Definition:
TrueElectronsPlots.h:43
python.iconfTool.models.loaders.level
level
Definition:
loaders.py:20
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition:
CaloCluster_v1.h:59
ZeeValidation::TrueElectronsPlots::fill
void fill(const xAOD::IParticle *part, int level)
Definition:
TrueElectronsPlots.cxx:81
ZeeValidation::TrueElectronsPlots::initializePlots
virtual void initializePlots()
Definition:
TrueElectronsPlots.cxx:50
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition:
TrigEgammaMonitorHelper.py:81
ZeeValidation
Definition:
FWDZeePlots.cxx:9
ZeeValidation::TrueElectronsPlots::finalizePlots
virtual void finalizePlots()
Definition:
TrueElectronsPlots.cxx:126
ZeeValidation::TrueElectronsPlots::h_e_response_vs_phi
TProfile * h_e_response_vs_phi
Definition:
TrueElectronsPlots.h:45
ZeeValidation::TrueElectronsPlots::h_electron_eff_phi
TProfile * h_electron_eff_phi[nLevels-1]
Definition:
TrueElectronsPlots.h:39
ZeeValidation::TrueElectronsPlots::h_electron_eff_pt
TProfile * h_electron_eff_pt[nLevels-1]
Definition:
TrueElectronsPlots.h:37
ZeeValidation::TrueElectronsPlots::fillResponse
void fillResponse(const xAOD::IParticle *part, const xAOD::Electron *electron)
Definition:
TrueElectronsPlots.cxx:91
ZeeValidation::TrueElectronsPlots
Definition:
TrueElectronsPlots.h:15
ZeeValidation::TrueElectronsPlots::m_sParticleType
std::string m_sParticleType
Definition:
TrueElectronsPlots.h:27
xAOD::Electron_v1
Definition:
Electron_v1.h:34
ZeeValidation::TrueElectronsPlots::h_dr_electron
TH1 * h_dr_electron
Definition:
TrueElectronsPlots.h:48
ZeeValidation::TrueElectronsPlots::cLevelLabel
static const std::string cLevelLabel[nLevels]
Definition:
TrueElectronsPlots.h:31
ZeeValidation::TrueElectronsPlots::makeEfficiencyPlot
void makeEfficiencyPlot(TH1 *hDenom, TH1 *hNom, TProfile *hEff)
Definition:
TrueElectronsPlots.cxx:111
ZeeValidation::TrueElectronsPlots::TrueElectronsPlots
TrueElectronsPlots(PlotBase *pParent, std::string sDir, std::string sParticleType)
Definition:
TrueElectronsPlots.cxx:11
ZeeValidation::TrueElectronsPlots::nLevels
static const int nLevels
Definition:
TrueElectronsPlots.h:30
xAOD::EgammaParameters::electron
@ electron
Definition:
EgammaEnums.h:18
Electron.h
ZeeValidation::TrueElectronsPlots::h_electron_pt
TH1 * h_electron_pt[nLevels]
Definition:
TrueElectronsPlots.h:33
PlotBase.h
ZeeValidation::TrueElectronsPlots::h_electron_eff_eta
TProfile * h_electron_eff_eta[nLevels-1]
Definition:
TrueElectronsPlots.h:38
ZeeValidation::TrueElectronsPlots::h_e_cluster_response_vs_eta
TProfile * h_e_cluster_response_vs_eta
Definition:
TrueElectronsPlots.h:44
Generated on Thu Nov 7 2024 21:31:03 for ATLAS Offline Software by
1.8.18