ATLAS Offline Software
Loading...
Searching...
No Matches
LArDigitFillerTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOSYSD3PDMAKER_LARDIGITFILLERTOOL_H
6#define CALOSYSD3PDMAKER_LARDIGITFILLERTOOL_H
13
18
19class LArEM_ID;
20class LArFCAL_ID;
21class LArHEC_ID;
22class LArOnlineID;
23
24
25namespace D3PD {
26
27
32 : public BlockFillerTool<LArDigit>
33{
34public:
41 LArDigitFillerTool (const std::string& type,
42 const std::string& name,
43 const IInterface* parent);
44
45
47 virtual StatusCode book();
48
49
58 virtual StatusCode fill (const LArDigit& p);
59
60private:
61
62 SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
63
64 // flags
67 //int m_maxChannels;
68 std::string m_CaloType; // EM, HEC, FCAL
70
71 bool m_em;
72 bool m_hec;
73 bool m_fcal;
74
75 //unsigned short m_dump_cut;
76 std::string m_dump_gain;
79 //bool m_dumpDisc;
80
81
82 // id helper
87
88 // variables in ntuple
90 //long m_evt;
91
92 int* m_layer;
93 int* m_eta;
94 int* m_phi;
95 int* m_gain;
96 int* m_calo;
99 int* m_FT;
100 int* m_slot;
102 // std::vector< short >* m_samples;
103 // std::vector< unsigned short >* m_sca;
104
105 std::vector< int >* m_samples;
106 std::vector< unsigned int >* m_sca;
107
108 unsigned int* m_offId;
109 //For OF Iter results:
110 bool* m_Itervalid; //actually bool
111 bool* m_Iterconverged; //actually bool
112 short* m_IterNIter;
113 float* m_IterAmpl;
114 float* m_IterTau;
116 float* m_IterDelay;
117 float* m_IterQual;
118 short* m_IterIdx;
119
120};
121
122}
123
124#endif
Type-safe wrapper for block filler tools.
Type-safe wrapper for block filler tools.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
std::vector< unsigned int > * m_sca
bool m_gains[CaloGain::LARNGAIN]
LArDigitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
const LArOnlineID * m_onlineHelper
virtual StatusCode fill(const LArDigit &p)
Fill one block — type-safe version.
virtual StatusCode book()
Book variables for this block.
std::vector< int > * m_samples
const LArFCAL_ID * m_fcalId
Liquid Argon digit base class.
Definition LArDigit.h:25
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
@ LARNGAIN
Definition CaloGain.h:19
Block filler tool for noisy FEB information.