ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
egammaD3PDMaker
src
egammaTruthClassificationFillerTool.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
*/
11
12
13
#ifndef EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
14
#define EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
15
16
17
#include "
D3PDMakerUtils/BlockFillerTool.h
"
18
#include "
xAODEgamma/Egamma.h
"
19
#include "
xAODEgamma/Electron.h
"
20
#include "
xAODEgamma/Photon.h
"
21
#include "
xAODTruth/TruthParticle.h
"
22
#include "
egammaEvent/egammaParamDefs.h
"
23
#include "
MCTruthClassifier/IMCTruthClassifier.h
"
24
#include "GaudiKernel/ToolHandle.h"
25
#include <vector>
26
#include <string>
27
28
29
namespace
D3PD
{
30
31
35
class
egammaTruthClassificationFillerTool
36
:
public
BlockFillerTool
<xAOD::Egamma>
37
{
38
public
:
45
egammaTruthClassificationFillerTool
(
const
std::string&
type
,
46
const
std::string& name,
47
const
IInterface* parent);
48
49
51
virtual
StatusCode
initialize
()
override
;
52
53
55
virtual
StatusCode
book
()
final
;
56
57
66
virtual
StatusCode
fill
(
const
xAOD::Egamma
& p)
override
;
67
68
69
private
:
71
ToolHandle<IMCTruthClassifier>
m_classifier
;
72
73
75
bool
m_doBkgElecOrigin
;
76
77
79
int
*
m_type
;
80
81
83
int
*
m_origin
;
84
85
87
int
*
m_typebkg
;
88
89
91
int
*
m_originbkg
;
92
};
93
94
95
}
// namespace D3PD
96
97
98
#endif
// not EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
BlockFillerTool.h
Type-safe wrapper for block filler tools.
Egamma.h
Electron.h
Photon.h
TruthParticle.h
IMCTruthClassifier.h
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::egammaTruthClassificationFillerTool::m_classifier
ToolHandle< IMCTruthClassifier > m_classifier
Property: classifier tool.
Definition
egammaTruthClassificationFillerTool.h:71
D3PD::egammaTruthClassificationFillerTool::m_origin
int * m_origin
Variable: Particle origin.
Definition
egammaTruthClassificationFillerTool.h:83
D3PD::egammaTruthClassificationFillerTool::egammaTruthClassificationFillerTool
egammaTruthClassificationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
egammaTruthClassificationFillerTool.cxx:33
D3PD::egammaTruthClassificationFillerTool::m_type
int * m_type
Variable: Particle type.
Definition
egammaTruthClassificationFillerTool.h:79
D3PD::egammaTruthClassificationFillerTool::m_originbkg
int * m_originbkg
Variable: Origin of photon for background electron from conversions.
Definition
egammaTruthClassificationFillerTool.h:91
D3PD::egammaTruthClassificationFillerTool::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition
egammaTruthClassificationFillerTool.cxx:52
D3PD::egammaTruthClassificationFillerTool::book
virtual StatusCode book() final
Book variables for this block.
Definition
egammaTruthClassificationFillerTool.cxx:63
D3PD::egammaTruthClassificationFillerTool::m_doBkgElecOrigin
bool m_doBkgElecOrigin
Property: Should we fill origin of background electrons?
Definition
egammaTruthClassificationFillerTool.h:75
D3PD::egammaTruthClassificationFillerTool::m_typebkg
int * m_typebkg
Variable: Type of photon for background electron from conversions.
Definition
egammaTruthClassificationFillerTool.h:87
egammaParamDefs.h
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::fill
virtual StatusCode fill()
Fill one object.
xAOD::Egamma
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition
Egamma.h:17
type
Generated on
for ATLAS Offline Software by
1.17.0