ATLAS Offline Software
Loading...
Searching...
No Matches
ClusterPositionInCaloFillerTool.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/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15#ifndef CALOD3PDMAKER_CLUSTERPOSITIONINCALOFILLERTOOL_H
16#define CALOD3PDMAKER_CLUSTERPOSITIONINCALOFILLERTOOL_H
17
21class CaloCluster;
22class CaloCellDetPos;
23
24namespace D3PD {
25
26
31 : public BlockFillerTool<Types<CaloCluster, xAOD::CaloCluster> >
32{
33public:
35
42 ClusterPositionInCaloFillerTool (const std::string& type,
43 const std::string& name,
44 const IInterface* parent);
45
46 virtual StatusCode initialize() override;
47
49 virtual StatusCode book() final;
50
51
60 virtual StatusCode fill (const CaloCluster& p) override;
61
62
71 virtual StatusCode fill (const xAOD::CaloCluster& p) override;
72
73
81 template <class T>
82 StatusCode fillT (const T& p);
83
84
86 double* m_etaCalo;
87
89 double* m_phiCalo;
90
92 double* m_eta0Calo;
93
95 double* m_phi0Calo;
96
99
101 this,
102 "CaloDetDescrManager",
103 "CaloDetDescrManager",
104 "SG Key for CaloDetDescrManager in the Condition Store"
105 };
106
107};
108
109
110} // namespace D3PD
111
112
113#endif // not CALOD3PDMAKER_CLUSTERPOSITIONINCALOFILLERTOOL_H
Type-safe wrapper for block filler tools.
Principal data class for CaloCell clusters.
This class provides the client interface for accessing the detector description information common to...
Type-safe wrapper for block filler tools.
ClusterPositionInCaloFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
double * m_phi0Calo
Variable: seed phi position in calo frame.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloDetDescrMgrKey
virtual StatusCode book() final
Book variables for this block.
virtual StatusCode fill(const CaloCluster &p) override
Fill one block — type-safe version.
double * m_eta0Calo
Variable: seed eta position in calo frame.
BlockFillerTool< Types< CaloCluster, xAOD::CaloCluster > > Base
double * m_etaCalo
Variable: eta position in calo frame.
bool m_FillSeedCoordinates
Variable: whether to dump the seed coordinates.
double * m_phiCalo
Variable: phi position in calo frame.
Block filler tool for noisy FEB information.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private