ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
CaloSysD3PDMaker
src
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
14
#include "
D3PDMakerUtils/BlockFillerTool.h
"
15
#include "
LArRawEvent/LArDigitContainer.h
"
16
#include "
LArCabling/LArOnOffIdMapping.h
"
17
#include "
StoreGate/ReadCondHandleKey.h
"
18
19
class
LArEM_ID
;
20
class
LArFCAL_ID
;
21
class
LArHEC_ID
;
22
class
LArOnlineID
;
23
24
25
namespace
D3PD
{
26
27
31
class
LArDigitFillerTool
32
:
public
BlockFillerTool
<LArDigit>
33
{
34
public
:
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
60
private
:
61
62
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
63
64
// flags
65
bool
m_savesca
;
66
bool
m_savedigit
;
67
//int m_maxChannels;
68
std::string
m_CaloType
;
// EM, HEC, FCAL
69
bool
m_storeId
;
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
;
77
bool
m_gains
[
CaloGain::LARNGAIN
];
78
bool
m_dumpIter
;
79
//bool m_dumpDisc;
80
81
82
// id helper
83
const
LArOnlineID
*
m_onlineHelper
;
84
const
LArEM_ID
*
m_emId
;
85
const
LArHEC_ID
*
m_hecId
;
86
const
LArFCAL_ID
*
m_fcalId
;
87
88
// variables in ntuple
89
long
m_cellIndex
;
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
;
97
int
*
m_barrel_ec
;
98
int
*
m_pos_neg
;
99
int
*
m_FT
;
100
int
*
m_slot
;
101
int
*
m_channel
;
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
;
115
short
*
m_IterPeakSample
;
116
float
*
m_IterDelay
;
117
float
*
m_IterQual
;
118
short
*
m_IterIdx
;
119
120
};
121
122
}
123
124
#endif
BlockFillerTool.h
Type-safe wrapper for block filler tools.
LArDigitContainer.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
D3PD::BlockFillerTool
Type-safe wrapper for block filler tools.
Definition
BlockFillerTool.h:65
D3PD::LArDigitFillerTool::m_calo
int * m_calo
Definition
LArDigitFillerTool.h:96
D3PD::LArDigitFillerTool::m_Itervalid
bool * m_Itervalid
Definition
LArDigitFillerTool.h:110
D3PD::LArDigitFillerTool::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArDigitFillerTool.h:62
D3PD::LArDigitFillerTool::m_fcal
bool m_fcal
Definition
LArDigitFillerTool.h:73
D3PD::LArDigitFillerTool::m_slot
int * m_slot
Definition
LArDigitFillerTool.h:100
D3PD::LArDigitFillerTool::m_IterTau
float * m_IterTau
Definition
LArDigitFillerTool.h:114
D3PD::LArDigitFillerTool::m_hec
bool m_hec
Definition
LArDigitFillerTool.h:72
D3PD::LArDigitFillerTool::m_sca
std::vector< unsigned int > * m_sca
Definition
LArDigitFillerTool.h:106
D3PD::LArDigitFillerTool::m_channel
int * m_channel
Definition
LArDigitFillerTool.h:101
D3PD::LArDigitFillerTool::m_IterAmpl
float * m_IterAmpl
Definition
LArDigitFillerTool.h:113
D3PD::LArDigitFillerTool::m_gains
bool m_gains[CaloGain::LARNGAIN]
Definition
LArDigitFillerTool.h:77
D3PD::LArDigitFillerTool::m_dump_gain
std::string m_dump_gain
Definition
LArDigitFillerTool.h:76
D3PD::LArDigitFillerTool::LArDigitFillerTool
LArDigitFillerTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
LArDigitFillerTool.cxx:50
D3PD::LArDigitFillerTool::m_CaloType
std::string m_CaloType
Definition
LArDigitFillerTool.h:68
D3PD::LArDigitFillerTool::m_IterIdx
short * m_IterIdx
Definition
LArDigitFillerTool.h:118
D3PD::LArDigitFillerTool::m_savedigit
bool m_savedigit
Definition
LArDigitFillerTool.h:66
D3PD::LArDigitFillerTool::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
LArDigitFillerTool.h:83
D3PD::LArDigitFillerTool::m_eta
int * m_eta
Definition
LArDigitFillerTool.h:93
D3PD::LArDigitFillerTool::m_offId
unsigned int * m_offId
Definition
LArDigitFillerTool.h:108
D3PD::LArDigitFillerTool::m_emId
const LArEM_ID * m_emId
Definition
LArDigitFillerTool.h:84
D3PD::LArDigitFillerTool::m_em
bool m_em
Definition
LArDigitFillerTool.h:71
D3PD::LArDigitFillerTool::m_savesca
bool m_savesca
Definition
LArDigitFillerTool.h:65
D3PD::LArDigitFillerTool::m_Iterconverged
bool * m_Iterconverged
Definition
LArDigitFillerTool.h:111
D3PD::LArDigitFillerTool::m_dumpIter
bool m_dumpIter
Definition
LArDigitFillerTool.h:78
D3PD::LArDigitFillerTool::book
virtual StatusCode book()
Book variables for this block.
Definition
LArDigitFillerTool.cxx:114
D3PD::LArDigitFillerTool::m_storeId
bool m_storeId
Definition
LArDigitFillerTool.h:69
D3PD::LArDigitFillerTool::m_gain
int * m_gain
Definition
LArDigitFillerTool.h:95
D3PD::LArDigitFillerTool::m_cellIndex
long m_cellIndex
Definition
LArDigitFillerTool.h:89
D3PD::LArDigitFillerTool::m_phi
int * m_phi
Definition
LArDigitFillerTool.h:94
D3PD::LArDigitFillerTool::m_FT
int * m_FT
Definition
LArDigitFillerTool.h:99
D3PD::LArDigitFillerTool::m_layer
int * m_layer
Definition
LArDigitFillerTool.h:92
D3PD::LArDigitFillerTool::m_IterDelay
float * m_IterDelay
Definition
LArDigitFillerTool.h:116
D3PD::LArDigitFillerTool::m_pos_neg
int * m_pos_neg
Definition
LArDigitFillerTool.h:98
D3PD::LArDigitFillerTool::m_IterNIter
short * m_IterNIter
Definition
LArDigitFillerTool.h:112
D3PD::LArDigitFillerTool::m_barrel_ec
int * m_barrel_ec
Definition
LArDigitFillerTool.h:97
D3PD::LArDigitFillerTool::m_samples
std::vector< int > * m_samples
Definition
LArDigitFillerTool.h:105
D3PD::LArDigitFillerTool::m_hecId
const LArHEC_ID * m_hecId
Definition
LArDigitFillerTool.h:85
D3PD::LArDigitFillerTool::m_IterPeakSample
short * m_IterPeakSample
Definition
LArDigitFillerTool.h:115
D3PD::LArDigitFillerTool::m_IterQual
float * m_IterQual
Definition
LArDigitFillerTool.h:117
D3PD::LArDigitFillerTool::m_fcalId
const LArFCAL_ID * m_fcalId
Definition
LArDigitFillerTool.h:86
LArDigit
Liquid Argon digit base class.
Definition
LArDigit.h:25
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition
LArFCAL_ID.h:49
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition
LArHEC_ID.h:76
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
CaloGain::LARNGAIN
@ LARNGAIN
Definition
CaloGain.h:19
D3PD
Block filler tool for noisy FEB information.
Definition
CaloCellDetailsFillerTool.cxx:29
D3PD::fill
virtual StatusCode fill()
Fill one object.
type
Generated on
for ATLAS Offline Software by
1.17.0