ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCalibHitFillerTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOSYSD3PDMAKER_CALOCALIBHITFILLERTOOL_H
6#define CALOSYSD3PDMAKER_CALOCALIBHITFILLERTOOL_H
7
13
15class Identifier;
16class LArEM_ID;
17class LArHEC_ID;
18class LArFCAL_ID;
19class TileID;
20class LArOnlineID;
21class CaloCell_ID;
22class CaloDM_ID;
23
24
25namespace D3PD {
26
29
31 : public D3PD::SGCollectionGetterTool<CaloCalibrationHitContainer>
32{
33public:
35 const std::string& name,
36 const IInterface* parent)
38 (type, name, parent) {}
39};
40
41
42
43
44
49 : public BlockFillerTool<CaloCalibrationHit>
50{
51public:
58 CaloCalibHitFillerTool (const std::string& type,
59 const std::string& name,
60 const IInterface* parent);
61
62
64 virtual StatusCode initialize() override;
65
66
68 virtual StatusCode book() override;
69
78 virtual StatusCode fill (const CaloCalibrationHit& p) override;
79
80private:
81
83 float* m_eta;
84 float* m_phi;
85 float* m_etot;
86 float* m_evis;
87 float* m_e_em;
88 float* m_e_nonem;
89 float* m_e_inv;
90 float* m_e_esc;
91 unsigned int* m_particleID;
92 unsigned int* m_id ;
93 unsigned int* m_det ;
94 unsigned int* m_sam ;
95 unsigned int* m_side ;
96 unsigned int* m_reg ;
97 unsigned int* m_etatow ;
98 unsigned int* m_phimod ;
99
101 , "CaloDetDescrManager"
102 , "CaloDetDescrManager"
103 , "SG Key for CaloDetDescrManager in the Condition Store" };
104
105 // idHelper
115
116 // properties
117 bool m_isDM;
124};
125
126
127} // namespace D3PD
128
129
130#endif // not CALOSYSD3PDMAKER_CALOCALIBHITFILLERTOOL_H
Type-safe wrapper for block filler tools.
Definition of CaloDetDescrManager.
int HitID
Collection getter tool retrieving a container from StoreGate.
Class to store calorimeter calibration hit.
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Helper class for Calo Dead Material offline identifiers.
Definition CaloDM_ID.h:102
Type-safe wrapper for block filler tools.
virtual StatusCode initialize() override
Standard Gaudi initialize method.
virtual StatusCode fill(const CaloCalibrationHit &p) override
Fill one block — type-safe version.
unsigned int CaloHit_GetDetectorInfo(Identifier &HitID)
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
const CaloDmDescrManager * m_dm_ddm
float * m_eta
Variable: time, quality and id.
CaloCalibHitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual StatusCode book() override
Book variables for this block.
CaloCalibrationHitContainerGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
Collection getter tool retrieving a container from StoreGate.
SGCollectionGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
Helper class for LArEM offline identifiers.
Definition LArEM_ID.h:111
Helper class for LArFCAL offline identifiers.
Definition LArFCAL_ID.h:49
Helper class for LArHEC offline identifiers.
Definition LArHEC_ID.h:76
Helper class for TileCal offline identifiers.
Definition TileID.h:67
Block filler tool for noisy FEB information.