ATLAS Offline Software
Loading...
Searching...
No Matches
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-2026 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
14#define EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
15
16
18#include "xAODEgamma/Egamma.h"
19#include "xAODEgamma/Electron.h"
20#include "xAODEgamma/Photon.h"
23#include "GaudiKernel/ToolHandle.h"
24#include <vector>
25#include <string>
26
27
28namespace D3PD {
29
30
35 : public BlockFillerTool<xAOD::Egamma>
36{
37public:
44 egammaTruthClassificationFillerTool (const std::string& type,
45 const std::string& name,
46 const IInterface* parent);
47
48
50 virtual StatusCode initialize() override;
51
52
54 virtual StatusCode book() final;
55
56
65 virtual StatusCode fill (const xAOD::Egamma& p) override;
66
67
68private:
70 ToolHandle<IMCTruthClassifier> m_classifier;
71
72
75
76
78 int* m_type;
79
80
83
84
87
88
91};
92
93
94} // namespace D3PD
95
96
97#endif // not EGAMMAD3PDMAKER_EGAMMATRUTHCLASSIFICATIONFILLERTOOL_H
Type-safe wrapper for block filler tools.
Type-safe wrapper for block filler tools.
ToolHandle< IMCTruthClassifier > m_classifier
Property: classifier tool.
egammaTruthClassificationFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
int * m_originbkg
Variable: Origin of photon for background electron from conversions.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
virtual StatusCode book() final
Book variables for this block.
bool m_doBkgElecOrigin
Property: Should we fill origin of background electrons?
int * m_typebkg
Variable: Type of photon for background electron from conversions.
Block filler tool for noisy FEB information.
virtual StatusCode fill()
Fill one object.
Egamma_v1 Egamma
Definition of the current "egamma version".
Definition Egamma.h:17