ATLAS Offline Software
PhysicsAnalysis
StandardModelPhys
Validation
ZeeValidation
ZeeValidation
ZeeValidationMonitoringTool.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_ZEEVALIDATIONMONITORINGTOOL_H
6
#define ZEEVALIDATION_ZEEVALIDATIONMONITORINGTOOL_H
7
8
// STL includes
9
#include <string>
10
11
// FrameWork includes
12
#include "GaudiKernel/ServiceHandle.h"
13
14
// Local includes
15
#include "
AthenaMonitoring/ManagedMonitorToolBase.h
"
16
#include "
ReconElectronsPlots.h
"
17
#include "
TrueElectronsPlots.h
"
18
#include "
TrueFwdElectronsPlots.h
"
19
#include "
ZeePlots.h
"
20
#include "
FWDZeePlots.h
"
21
22
// Root includes
23
#include "TH1.h"
24
25
// xAOD
26
#include "
xAODEgamma/Electron.h
"
27
#include "
xAODEgamma/ElectronContainer.h
"
28
#include "
xAODEgamma/PhotonContainer.h
"
29
#include "
xAODTruth/TruthParticle.h
"
30
31
// Forward declaration
32
namespace
ZeeValidation
{
33
34
class
ZeeValidationMonitoringTool
35
:
public
ManagedMonitorToolBase
36
{
38
// Public methods:
40
public
:
41
42
// Copy constructor:
43
44
// Constructor with parameters:
45
ZeeValidationMonitoringTool
(
const
std::string&
type
,
46
const
std::string&
name
,
47
const
IInterface*
parent
);
48
49
// Destructor:
50
virtual
~ZeeValidationMonitoringTool
();
51
52
// Athena algtool's Hooks
53
virtual
StatusCode
initialize
();
54
virtual
StatusCode
bookHistograms
();
55
virtual
StatusCode
fillHistograms
();
56
virtual
StatusCode
procHistograms
();
57
59
// Const methods:
61
63
// Non-const methods:
65
67
// Private data:
69
private
:
70
72
ZeeValidationMonitoringTool
();
73
74
// Protect against Truth in Data
75
bool
m_isData
;
76
77
// Containers
78
std::string
m_eventInfoName
;
79
std::string
m_elecName
;
80
std::string
m_elecFwdName
;
81
std::string
m_photonName
;
82
std::string
m_vertexName
;
83
std::string
m_trackName
;
84
std::string
m_truthName
;
85
86
// Cut Values
87
double
m_PtCentCut
,
m_PtFwdCut
;
88
double
m_MeeLowCut
,
m_MeeHighCut
;
89
double
m_EtaCentCut
,
m_EtaLowFwdCut
,
m_EtaHighFwdCut
;
90
double
m_EtaCrackLowCut
,
m_EtaCrackHighCut
;
91
double
m_dRminRecoTrue
;
92
93
// Hists
94
ZeeValidation::ReconElectronsPlots
m_ReconElectronsPlots
;
95
ZeeValidation::TrueElectronsPlots
m_TrueElectronsPlots
;
96
ZeeValidation::TrueFwdElectronsPlots
m_TrueFwdElectronsPlots
;
97
ZeeValidation::ZeePlots
m_ZeePlots
;
98
ZeeValidation::FWDZeePlots
m_FWDZeePlots
;
99
100
// Matching True-Reco
101
void
MatchElec
(
const
xAOD::TruthParticle
* truth_electron,
const
xAOD::ElectronContainer
*
electrons
);
102
double
m_drmin_elreco_truth
;
103
bool
m_matchedE
;
104
const
xAOD::Electron
*
m_matched_electron
;
105
106
void
MatchPhot
(
const
xAOD::TruthParticle
* truth_electron,
const
xAOD::PhotonContainer
* photons);
107
double
m_drmin_phreco_truth
;
108
bool
m_matchedP
;
109
110
StatusCode
book
(
PlotBase
&
plots
);
111
};
112
113
}
114
115
#endif //> !ZEEVALIDATION_ZEEVALIDATIONMONITORINGTOOL_H
TrueElectronsPlots.h
ZeeValidation::ZeeValidationMonitoringTool::m_EtaHighFwdCut
double m_EtaHighFwdCut
Definition:
ZeeValidationMonitoringTool.h:89
ZeeValidation::ZeeValidationMonitoringTool::procHistograms
virtual StatusCode procHistograms()
An inheriting class should either override this function or finalHists().
Definition:
ZeeValidationMonitoringTool.cxx:699
ZeeValidation::ZeeValidationMonitoringTool::m_EtaCrackHighCut
double m_EtaCrackHighCut
Definition:
ZeeValidationMonitoringTool.h:90
PlotBase
Definition:
PlotBase.h:34
ZeeValidation::TrueFwdElectronsPlots
Definition:
TrueFwdElectronsPlots.h:15
ZeeValidation::ZeeValidationMonitoringTool::m_TrueElectronsPlots
ZeeValidation::TrueElectronsPlots m_TrueElectronsPlots
Definition:
ZeeValidationMonitoringTool.h:95
ManagedMonitorToolBase
Provides functionality for users to implement and save histograms, ntuples, and summary data,...
Definition:
ManagedMonitorToolBase.h:73
ZeeValidation::ZeeValidationMonitoringTool::m_EtaCentCut
double m_EtaCentCut
Definition:
ZeeValidationMonitoringTool.h:89
ZeeValidation::ZeeValidationMonitoringTool::m_matchedE
bool m_matchedE
Definition:
ZeeValidationMonitoringTool.h:103
ZeeValidation::ZeeValidationMonitoringTool::m_elecFwdName
std::string m_elecFwdName
Definition:
ZeeValidationMonitoringTool.h:80
FWDZeePlots.h
ZeePlots.h
ZeeValidation::ZeeValidationMonitoringTool::initialize
virtual StatusCode initialize()
Definition:
ZeeValidationMonitoringTool.cxx:83
ZeeValidation::ZeeValidationMonitoringTool::m_ZeePlots
ZeeValidation::ZeePlots m_ZeePlots
Definition:
ZeeValidationMonitoringTool.h:97
ZeeValidation::ZeeValidationMonitoringTool::m_MeeLowCut
double m_MeeLowCut
Definition:
ZeeValidationMonitoringTool.h:88
ZeeValidation::ZeeValidationMonitoringTool::m_eventInfoName
std::string m_eventInfoName
Definition:
ZeeValidationMonitoringTool.h:78
ZeeValidation::ZeeValidationMonitoringTool::m_truthName
std::string m_truthName
Definition:
ZeeValidationMonitoringTool.h:84
ZeeValidation::ZeeValidationMonitoringTool::m_isData
bool m_isData
Definition:
ZeeValidationMonitoringTool.h:75
ReconElectronsPlots.h
ZeeValidation::ZeeValidationMonitoringTool::bookHistograms
virtual StatusCode bookHistograms()
An inheriting class should either override this function or bookHists().
Definition:
ZeeValidationMonitoringTool.cxx:103
ZeeValidation::ZeeValidationMonitoringTool::m_elecName
std::string m_elecName
Definition:
ZeeValidationMonitoringTool.h:79
ZeeValidation::ZeeValidationMonitoringTool::m_MeeHighCut
double m_MeeHighCut
Definition:
ZeeValidationMonitoringTool.h:88
ZeeValidation::ZeeValidationMonitoringTool::m_vertexName
std::string m_vertexName
Definition:
ZeeValidationMonitoringTool.h:82
ZeeValidation::ZeeValidationMonitoringTool::m_trackName
std::string m_trackName
Definition:
ZeeValidationMonitoringTool.h:83
ManagedMonitorToolBase.h
ZeeValidation::ZeePlots
Definition:
ZeePlots.h:15
ZeeValidation::ZeeValidationMonitoringTool::ZeeValidationMonitoringTool
ZeeValidationMonitoringTool()
Default constructor:
ZeeValidation::ZeeValidationMonitoringTool::m_EtaCrackLowCut
double m_EtaCrackLowCut
Definition:
ZeeValidationMonitoringTool.h:90
ElectronContainer.h
ZeeValidation::ZeeValidationMonitoringTool
Definition:
ZeeValidationMonitoringTool.h:36
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZeeValidation::ZeeValidationMonitoringTool::m_FWDZeePlots
ZeeValidation::FWDZeePlots m_FWDZeePlots
Definition:
ZeeValidationMonitoringTool.h:98
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition:
TruthParticle_v1.h:37
ZeeValidation
Definition:
FWDZeePlots.cxx:9
test_pyathena.parent
parent
Definition:
test_pyathena.py:15
ZeeValidation::ZeeValidationMonitoringTool::m_drmin_elreco_truth
double m_drmin_elreco_truth
Definition:
ZeeValidationMonitoringTool.h:102
ZeeValidation::ZeeValidationMonitoringTool::m_PtCentCut
double m_PtCentCut
Definition:
ZeeValidationMonitoringTool.h:87
ZeeValidation::TrueElectronsPlots
Definition:
TrueElectronsPlots.h:15
ZeeValidation::ZeeValidationMonitoringTool::fillHistograms
virtual StatusCode fillHistograms()
An inheriting class should either override this function or fillHists().
Definition:
ZeeValidationMonitoringTool.cxx:121
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:794
ZeeValidation::ZeeValidationMonitoringTool::MatchElec
void MatchElec(const xAOD::TruthParticle *truth_electron, const xAOD::ElectronContainer *electrons)
Definition:
ZeeValidationMonitoringTool.cxx:717
ZeeValidation::ZeeValidationMonitoringTool::m_ReconElectronsPlots
ZeeValidation::ReconElectronsPlots m_ReconElectronsPlots
Definition:
ZeeValidationMonitoringTool.h:94
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
xAOD::Electron_v1
Definition:
Electron_v1.h:34
ZeeValidation::ZeeValidationMonitoringTool::m_PtFwdCut
double m_PtFwdCut
Definition:
ZeeValidationMonitoringTool.h:87
ZeeValidation::ZeeValidationMonitoringTool::m_drmin_phreco_truth
double m_drmin_phreco_truth
Definition:
ZeeValidationMonitoringTool.h:107
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
covarianceTool.plots
plots
Definition:
covarianceTool.py:698
ZeeValidation::ZeeValidationMonitoringTool::m_EtaLowFwdCut
double m_EtaLowFwdCut
Definition:
ZeeValidationMonitoringTool.h:89
ZeeValidation::ZeeValidationMonitoringTool::MatchPhot
void MatchPhot(const xAOD::TruthParticle *truth_electron, const xAOD::PhotonContainer *photons)
Definition:
ZeeValidationMonitoringTool.cxx:737
ZeeValidation::ZeeValidationMonitoringTool::book
StatusCode book(PlotBase &plots)
Definition:
ZeeValidationMonitoringTool.cxx:91
Electron.h
ZeeValidation::ZeeValidationMonitoringTool::m_matchedP
bool m_matchedP
Definition:
ZeeValidationMonitoringTool.h:108
TruthParticle.h
ZeeValidation::ReconElectronsPlots
Definition:
ReconElectronsPlots.h:17
PhotonContainer.h
TrueFwdElectronsPlots.h
ZeeValidation::ZeeValidationMonitoringTool::~ZeeValidationMonitoringTool
virtual ~ZeeValidationMonitoringTool()
Definition:
ZeeValidationMonitoringTool.cxx:78
ZeeValidation::ZeeValidationMonitoringTool::m_dRminRecoTrue
double m_dRminRecoTrue
Definition:
ZeeValidationMonitoringTool.h:91
ZeeValidation::FWDZeePlots
Definition:
FWDZeePlots.h:14
ZeeValidation::ZeeValidationMonitoringTool::m_photonName
std::string m_photonName
Definition:
ZeeValidationMonitoringTool.h:81
InDetDD::electrons
@ electrons
Definition:
InDetDD_Defs.h:17
ZeeValidation::ZeeValidationMonitoringTool::m_matched_electron
const xAOD::Electron * m_matched_electron
Definition:
ZeeValidationMonitoringTool.h:104
ZeeValidation::ZeeValidationMonitoringTool::m_TrueFwdElectronsPlots
ZeeValidation::TrueFwdElectronsPlots m_TrueFwdElectronsPlots
Definition:
ZeeValidationMonitoringTool.h:96
Generated on Sun Dec 22 2024 21:23:08 for ATLAS Offline Software by
1.8.18