ATLAS Offline Software
Loading...
Searching...
No Matches
egammaTraversedMaterialFillerTool.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-2024 CERN for the benefit of the ATLAS collaboration
4*/
11
12#ifndef EGAMMAD3PDMAKER_EGAMMATRAVERSEDMATERIALFILLERTOOL_H
13#define EGAMMAD3PDMAKER_EGAMMATRAVERSEDMATERIALFILLERTOOL_H
14
16#include "xAODEgamma/Electron.h"
17#include "xAODEgamma/Photon.h"
18#include "xAODEgamma/Egamma.h"
20#include "GaudiKernel/ToolHandle.h"
22#include <string>
23
25namespace Trk { class IExtrapolator; }
26
27namespace D3PD {
28
29
34 : public BlockFillerTool<Types<xAOD::Electron, xAOD::Photon> >
35{
36public:
38
39
46 egammaTraversedMaterialFillerTool (const std::string& type,
47 const std::string& name,
48 const IInterface* parent);
49
51
52 virtual StatusCode initialize() override;
53
55 virtual StatusCode book() final;
56
57
66 virtual StatusCode fill (const xAOD::Electron& p) override;
67
68
77 virtual StatusCode fill (const xAOD::Photon& p) override;
78
79
86 StatusCode fill (const xAOD::Egamma& eg,
87 const Trk::TrackParameters& parameters);
88
92
94 ToolHandle<Trk::IExtrapolator> m_extrapolator;
95
98
99 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey{
100 this,
101 "CaloDetDescrManager",
102 "CaloDetDescrManager"
103 };
104
106 float m_minPt;
107};
108
109
110} // namespace D3PD
111
112
113#endif // EGAMMAD3PDMAKER_EGAMMATRAVERSEDMATERIALFILLERTOOL_H
Type-safe wrapper for block filler tools.
Definition of CaloDetDescrManager.
This class provides the client interface for accessing the detector description information common to...
Type-safe wrapper for block filler tools.
float * m_materialTraversed
Variable: Material traversed between vertex (conversion vertex) and the entrance of the calorimeter (...
BlockFillerTool< Types< xAOD::Electron, xAOD::Photon > > Base
float m_minPt
Property: Minimum track pT to do the extrapolation.
virtual StatusCode book() final
Book variables for this block.
ToolHandle< Trk::IExtrapolator > m_extrapolator
Property: The extrapolator tool.
ToolHandle< ICaloSurfaceBuilder > m_caloSurfaceBuilder
Property: CaloSurfaceBuilder tool.
virtual StatusCode fill(const xAOD::Electron &p) override
Fill one block — type-safe version.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
egammaTraversedMaterialFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Interface to CaloSurfaceBuilder.
Interface class for the extrapolation AlgTool, it inherits from IAlgTool Detailed information about p...
Class describing an electron.
Class describing an photon.
Block filler tool for noisy FEB information.
Forward declaration.
Ensure that the ATLAS eigen extensions are properly loaded.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private