ATLAS Offline Software
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 
14 class CaloDmDescrManager;
15 class Identifier;
16 class LArEM_ID;
17 class LArHEC_ID;
18 class LArFCAL_ID;
19 class TileID;
20 class LArOnlineID;
21 class CaloCell_ID;
22 class CaloDM_ID;
23 
24 
25 namespace D3PD {
26 
31  : public D3PD::SGCollectionGetterTool<CaloCalibrationHitContainer>
32 {
33 public:
35  const std::string& name,
36  const IInterface* parent)
38  (type, name, parent) {}
39 };
40 
41 
42 
43 
44 
49  : public BlockFillerTool<CaloCalibrationHit>
50 {
51 public:
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 
80 private:
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
107  const LArEM_ID* m_emid;
110  const TileID* m_tileid;
115 
116  // properties
117  bool m_isDM;
118  bool m_isbasic;
124 };
125 
126 
127 } // namespace D3PD
128 
129 
130 #endif // not CALOSYSD3PDMAKER_CALOCALIBHITFILLERTOOL_H
D3PD::CaloCalibHitFillerTool::m_e_em
float * m_e_em
Definition: CaloCalibHitFillerTool.h:87
D3PD::CaloCalibHitFillerTool::m_particleID
unsigned int * m_particleID
Definition: CaloCalibHitFillerTool.h:91
CaloCalibrationHitContainer
Definition: CaloCalibrationHitContainer.h:25
D3PD::CaloCalibHitFillerTool::m_tileid
const TileID * m_tileid
Definition: CaloCalibHitFillerTool.h:110
D3PD::CaloCalibHitFillerTool::m_eta
float * m_eta
Variable: time, quality and id.
Definition: CaloCalibHitFillerTool.h:83
D3PD::CaloCalibHitFillerTool::fill
virtual StatusCode fill(const CaloCalibrationHit &p) override
Fill one block — type-safe version.
Definition: CaloCalibHitFillerTool.cxx:149
D3PD::CaloCalibHitFillerTool::m_etatow
unsigned int * m_etatow
Definition: CaloCalibHitFillerTool.h:97
D3PD::CaloCalibHitFillerTool::m_etot
float * m_etot
Definition: CaloCalibHitFillerTool.h:85
D3PD::CaloCalibHitFillerTool::CaloCalibHitFillerTool
CaloCalibHitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition: CaloCalibHitFillerTool.cxx:34
D3PD::CaloCalibHitFillerTool::m_onlineid
const LArOnlineID * m_onlineid
Definition: CaloCalibHitFillerTool.h:111
D3PD::CaloCalibHitFillerTool::m_side
unsigned int * m_side
Definition: CaloCalibHitFillerTool.h:95
D3PD::CaloCalibHitFillerTool::m_isbasic
bool m_isbasic
Definition: CaloCalibHitFillerTool.h:118
D3PD::CaloCalibHitFillerTool::m_savepartID
bool m_savepartID
Definition: CaloCalibHitFillerTool.h:119
D3PD::CaloCalibHitFillerTool::m_saveallen
bool m_saveallen
Definition: CaloCalibHitFillerTool.h:123
D3PD::CaloCalibHitFillerTool::m_id
unsigned int * m_id
Definition: CaloCalibHitFillerTool.h:92
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition: LArHEC_ID.h:85
D3PD::CaloCalibHitFillerTool::initialize
virtual StatusCode initialize() override
Standard Gaudi initialize method.
Definition: CaloCalibHitFillerTool.cxx:62
D3PD::CaloCalibHitFillerTool::m_e_esc
float * m_e_esc
Definition: CaloCalibHitFillerTool.h:90
D3PD::CaloCalibHitFillerTool::m_sam
unsigned int * m_sam
Definition: CaloCalibHitFillerTool.h:94
D3PD::SGCollectionGetterTool
Collection getter tool retrieving a container from StoreGate.
Definition: SGCollectionGetterTool.h:41
CaloCalibrationHitContainer.h
D3PD::CaloCalibHitFillerTool::m_det
unsigned int * m_det
Definition: CaloCalibHitFillerTool.h:93
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
BlockFillerTool.h
Type-safe wrapper for block filler tools.
D3PD::CaloCalibHitFillerTool::m_cellid
const CaloCell_ID * m_cellid
Definition: CaloCalibHitFillerTool.h:112
D3PD::CaloCalibHitFillerTool::CaloHit_GetDetectorInfo
unsigned int CaloHit_GetDetectorInfo(Identifier &HitID)
Definition: CaloCalibHitFillerTool.cxx:221
D3PD
Block filler tool for noisy FEB information.
Definition: CaloCellDetailsFillerTool.cxx:29
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
D3PD::CaloCalibHitFillerTool::m_savevisen
bool m_savevisen
Definition: CaloCalibHitFillerTool.h:122
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
D3PD::CaloCalibHitFillerTool::m_dm_ddm
const CaloDmDescrManager * m_dm_ddm
Definition: CaloCalibHitFillerTool.h:106
D3PD::CaloCalibHitFillerTool::m_e_inv
float * m_e_inv
Definition: CaloCalibHitFillerTool.h:89
CaloDmDescrManager
Definition: CaloDmDescrManager.h:131
test_pyathena.parent
parent
Definition: test_pyathena.py:15
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition: BlockFillerTool.h:65
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
D3PD::CaloCalibHitFillerTool::m_hecid
const LArHEC_ID * m_hecid
Definition: CaloCalibHitFillerTool.h:109
D3PD::CaloCalibrationHitContainerGetterTool
define a special getter
Definition: CaloCalibHitFillerTool.h:32
D3PD::CaloCalibrationHitContainerGetterTool::CaloCalibrationHitContainerGetterTool
CaloCalibrationHitContainerGetterTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CaloCalibHitFillerTool.h:34
ReadCondHandleKey.h
SGCollectionGetterTool.h
Collection getter tool retrieving a container from StoreGate.
D3PD::CaloCalibHitFillerTool::m_fcalid
const LArFCAL_ID * m_fcalid
Definition: CaloCalibHitFillerTool.h:108
CaloCalibrationHit
Class to store calorimeter calibration hit.
Definition: CaloCalibrationHit.h:23
D3PD::CaloCalibHitFillerTool::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition: CaloCalibHitFillerTool.h:100
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
D3PD::CaloCalibHitFillerTool::m_e_nonem
float * m_e_nonem
Definition: CaloCalibHitFillerTool.h:88
D3PD::CaloCalibHitFillerTool::m_evis
float * m_evis
Definition: CaloCalibHitFillerTool.h:86
LArOnlineID
Definition: LArOnlineID.h:20
D3PD::CaloCalibHitFillerTool
Block filler tool for EM samplings from a CaloCluster.
Definition: CaloCalibHitFillerTool.h:50
D3PD::CaloCalibHitFillerTool::m_isDM
bool m_isDM
Definition: CaloCalibHitFillerTool.h:117
D3PD::CaloCalibHitFillerTool::m_emid
const LArEM_ID * m_emid
Definition: CaloCalibHitFillerTool.h:107
SG::ReadCondHandleKey< CaloDetDescrManager >
D3PD::CaloCalibHitFillerTool::m_savefullID
bool m_savefullID
Definition: CaloCalibHitFillerTool.h:120
D3PD::CaloCalibHitFillerTool::m_savetoten
bool m_savetoten
Definition: CaloCalibHitFillerTool.h:121
CaloDM_ID
Helper class for Calo Dead Material offline identifiers.
Definition: CaloDM_ID.h:102
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
D3PD::CaloCalibHitFillerTool::book
virtual StatusCode book() override
Book variables for this block.
Definition: CaloCalibHitFillerTool.cxx:93
D3PD::CaloCalibHitFillerTool::m_phi
float * m_phi
Definition: CaloCalibHitFillerTool.h:84
LArEM_ID
Helper class for LArEM offline identifiers.
Definition: LArEM_ID.h:118
D3PD::CaloCalibHitFillerTool::m_reg
unsigned int * m_reg
Definition: CaloCalibHitFillerTool.h:96
HitID
int HitID
Definition: GenericMuonSimHit.h:13
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition: LArFCAL_ID.h:60
D3PD::CaloCalibHitFillerTool::m_dmid
const CaloDM_ID * m_dmid
Definition: CaloCalibHitFillerTool.h:113
D3PD::CaloCalibHitFillerTool::m_phimod
unsigned int * m_phimod
Definition: CaloCalibHitFillerTool.h:98
Identifier
Definition: IdentifierFieldParser.cxx:14