ATLAS Offline Software
LArLATOMEDecoder.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 */
6 
14 #ifndef LARBYTESTREAM_LARLATOMEDDECODER_H
15 #define LARBYTESTREAM_LARLATOMEDDECODER_H
16 
17 #define N_LATOME_CHANNELS 320
18 
19 #include <stdint.h>
25 #include "LArRawEvent/LArSCDigit.h"
29 #include "CxxUtils/unused.h"
30 #include "eformat/Version.h"
31 #include "eformat/Issue.h"
32 #include <vector>
33 #include <string>
34 #include <fstream>
35 #include "eformat/index.h"
40 
41 
42 
50 
51 enum class MonDataType {
52  RawADC=1,
53  ADC=0,
54  Energy=2,
56  Averaged=4,
57  AutoCorr=5,
58  Invalid=15
59 };
60 
61 class LArLATOMEDecoder : public AthAlgTool {
62 
63 public:
64  typedef unsigned int Word;
65  typedef int NumWord;
66  typedef int Packet;
67  typedef int SuperCell;
68  typedef int Sample;
69  typedef int NumLATOME;
70  typedef std::string Path;
71 
73  LArLATOMEDecoder(const std::string& type, const std::string& name, const IInterface* parent);
74  static const InterfaceID& interfaceID();
76  virtual ~LArLATOMEDecoder() = default;
78  virtual StatusCode initialize();
80  virtual StatusCode finalize() {return StatusCode::SUCCESS;};
82  StatusCode convert(const std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& robFrags, const LArLATOMEMapping *map,
83  LArDigitContainer* adc_coll,
84  LArDigitContainer* adc_bas_coll,
85  LArRawSCContainer* et_coll,
86  LArRawSCContainer* et_id_coll,
87  LArLATOMEHeaderContainer* header_coll) const;
88 
89  StatusCode convert(const RawEvent* re, const LArLATOMEMapping *map,
90  const LArOnOffIdMapping *onoffmap, const LArCalibLineMapping *clmap,
93  LArLATOMEHeaderContainer* header_coll) const;
94 
95 private:
96 
98  static const int s_nBunches = 3564;
102 
103  public:
104  std::vector<short> adc;
105  std::vector<short> adc_bas;
106  std::vector<int> et;
107  std::vector<int> et_id;
108  std::vector<bool> saturation;
109  unsigned int latomeChannel{};
110  };
111 
113 
114  public:
115  std::vector<unsigned long long> sum;
116  std::vector<unsigned long long> sumSq;
117  std::vector<unsigned int> nTrigValid;
118  unsigned int latomeChannel{};
119  };
120 
122 
123  public:
124  unsigned int DAC=0;
125  unsigned int delay=0;
126  std::vector<unsigned int> patterns;
127  };
128 
129  class EventProcess : public AthMessaging {
130  public:
133  typedef unsigned int Word;
134  typedef int NumWord;
135  typedef int Packet;
136  typedef int SuperCell;
137  typedef int Sample;
138  typedef std::string Path;
139 
140  EventProcess(const LArLATOMEDecoder* decoderInput,
141  LArDigitContainer* adc_coll,
142  LArDigitContainer* adc_bas_coll,
143  LArRawSCContainer* et_coll,
144  LArRawSCContainer* et_id_coll,
145  LArAccumulatedDigitContainer* accdigits,
147  LArLATOMEHeaderContainer* header_coll);
148 
152  const LArOnOffIdMapping *onoffmap=nullptr, const LArCalibLineMapping *clmap=nullptr);
153 
154  private:
155  bool compareOrSet(Word& param, Word value, bool compare);
156  unsigned int decodeTrailer(const uint32_t* p, unsigned int offset);
157  unsigned int decodeHeader(const uint32_t* p, unsigned int offset);
158  unsigned int bytesPerChannel(MonDataType at0, MonDataType at1);
159  void increaseWordShift(unsigned int& wordshift);
160  void increaseByteShift(unsigned int& wordshift, unsigned int& byteshift);
161  void decodeByte(unsigned int& byte, unsigned int wordshift, unsigned int byteshift, const uint32_t* p);
162  void decodeWord(unsigned int& word, unsigned int& wordshift, unsigned int& byteshift, const uint32_t* p);
163  void decodeChannel(unsigned int& wordshift, unsigned int& byteshift, const uint32_t* p,
164  MonDataType at0, MonDataType at1,
165  unsigned int& at0Data, unsigned int& at1Data, unsigned int& satData,
166  bool& at0val, bool& at1val);
167  int signEnergy(unsigned int energy);
169  void fillRaw(const LArLATOMEMapping *map);
170  void fillCalib(const LArLATOMEMapping *map,
171  const LArOnOffIdMapping *onoffmap, const LArCalibLineMapping *clmap);
172  void fillHeader();
173 
174  enum MODE {
176  };
177 
180  // some of this values (in addition to some values from the rod header) should go to a LatomeHeader class (that replaces the current Mon class) and this class should be moved to another package and percistified (written into disk with pool format). This is not urgent and can be done later.
181  static const Word m_monTrailerSize=2;
182  static const Word s_monHeaderMarker=0xff1234ff;
183  static const Word s_monCheckPoint=0xdeadbeef;
184  std::vector<Word> m_packetEnd;
185 
186  // rod header
215 
216  short m_nBC_rawADC{};
217  short m_nBC_ADC{};
218  short m_nBC_E{};
219  short m_nBC_EID{};
220  short m_nBC_Averaged{};
221 
222  short m_BC_rawADC{};
223  short m_BC_ADC{};
224  short m_BC_E{};
225  short m_BC_EID{};
226 
227  bool m_hasRawAdc{};
228  bool m_hasAdc{};
229  bool m_hasE{};
230  bool m_hasEID{};
231  bool m_isAveraged{};
232  bool m_isAutoCorr{};
233 
242 
243  // LATOME source ID is stored here:
244  unsigned int m_nthLATOME = 0;
245 
246  std::vector<unsigned short> m_BCIDsInEvent;
247  std::vector<LatomeRawData> m_rawValuesInEvent;
248  std::vector<LatomeAveragedRawData> m_averagedRawValuesInEvent;
249  std::vector<LatomeCalibPatterns> m_latomeCalibPatternsInEvent;
250  };
251 
252  // propary of tool
254  ToolHandle<ICaloSuperCellIDTool> m_sc2ccMappingTool;
255 
256  BooleanProperty m_ignoreBarrelChannels{this, "IgnoreBarrelChannels", false};
257  BooleanProperty m_ignoreEndcapChannels{this, "IgnoreEndcapChannels", false};
258  BooleanProperty m_protectSourceId{this, "ProtectSourceId", true, "discard main readout sourceID, should be false for reading all files from the mon path with old source IDs"};
259  BooleanProperty m_keepPulsed{this, "KeepOnlyPulsed", true};
260  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKeySC{this,"ScCablingKey","LArOnOffIdMapSC","SG Key of SC LArOnOffIdMapping object"};
261 
262 };
263 
264 #endif // LARBYTESTREAM_LARLATOMEDDECODER_H
265 
LArLATOMEDecoder::convert
StatusCode convert(const std::vector< const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment * > &robFrags, const LArLATOMEMapping *map, LArDigitContainer *adc_coll, LArDigitContainer *adc_bas_coll, LArRawSCContainer *et_coll, LArRawSCContainer *et_id_coll, LArLATOMEHeaderContainer *header_coll) const
Converter.
Definition: LArLATOMEDecoder.cxx:94
LArLATOMEDecoder::EventProcess::m_activeSC
Word m_activeSC
Definition: LArLATOMEDecoder.h:207
LArLATOMEDecoder::EventProcess::m_BC_EID
short m_BC_EID
Definition: LArLATOMEDecoder.h:225
LArLATOMEDecoder
Definition: LArLATOMEDecoder.h:61
LArLATOMEDecoder::EventProcess::m_nsc5
Word m_nsc5
Definition: LArLATOMEDecoder.h:212
LArLATOMEDecoder::EventProcess
Definition: LArLATOMEDecoder.h:129
Amg::compare
std::pair< int, int > compare(const AmgSymMatrix(N) &m1, const AmgSymMatrix(N) &m2, double precision=1e-9, bool relative=false)
compare two matrices, returns the indices of the first element that fails the condition,...
Definition: EventPrimitivesHelpers.h:109
LArLATOMEDecoder::LatomeRawData::et
std::vector< int > et
Definition: LArLATOMEDecoder.h:106
LArLATOMEDecoder::EventProcess::compareOrSet
bool compareOrSet(Word &param, Word value, bool compare)
Definition: LArLATOMEDecoder.cxx:205
LArLATOMEDecoder::m_ignoreBarrelChannels
BooleanProperty m_ignoreBarrelChannels
Definition: LArLATOMEDecoder.h:256
LArLATOMEDecoder::EventProcess::m_et_coll
LArRawSCContainer * m_et_coll
Definition: LArLATOMEDecoder.h:237
MonDataType::ADC
@ ADC
LArLATOMEDecoder::EventProcess::Packet
int Packet
Definition: LArLATOMEDecoder.h:135
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
LArRawSCContainer.h
LArLATOMEDecoder::EventProcess::m_nStreams
Word m_nStreams
Definition: LArLATOMEDecoder.h:197
LArLATOMEDecoder::EventProcess::m_BC_rawADC
short m_BC_rawADC
Definition: LArLATOMEDecoder.h:222
LArLATOMEDecoder::EventProcess::m_nWordsPerPacket
Word m_nWordsPerPacket
Definition: LArLATOMEDecoder.h:194
LArAccumulatedDigitContainer
Container class for LArAccumulatedDigit.
Definition: LArAccumulatedDigitContainer.h:22
LArLATOMEDecoder::EventProcess::m_hasRawAdc
bool m_hasRawAdc
Definition: LArLATOMEDecoder.h:227
LArLATOMEDecoder::EventProcess::m_hasE
bool m_hasE
Definition: LArLATOMEDecoder.h:229
LArLATOMEDecoder::EventProcess::Word
unsigned int Word
this should be the same as how we get the data, otherwise we will have bugs.
Definition: LArLATOMEDecoder.h:133
LArLATOMEDecoder::LatomeRawData::adc_bas
std::vector< short > adc_bas
Definition: LArLATOMEDecoder.h:105
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LArLATOMEDecoder::m_onlineId
const LArOnline_SuperCellID * m_onlineId
Definition: LArLATOMEDecoder.h:253
LArLATOMEDecoder::EventProcess::m_BCIDsInEvent
std::vector< unsigned short > m_BCIDsInEvent
Definition: LArLATOMEDecoder.h:246
Energy
std::vector< double > Energy
Definition: CalibHitToCaloCell.h:23
LArRawSCContainer
Container class for LArRawSC.
Definition: LArRawSCContainer.h:17
LArLATOMEDecoder::EventProcess::PAYLOAD
@ PAYLOAD
Definition: LArLATOMEDecoder.h:175
LArAccumulatedDigitContainer.h
LArLATOMEDecoder::LatomeRawData::saturation
std::vector< bool > saturation
Definition: LArLATOMEDecoder.h:108
MonDataType
MonDataType
Definition: LArLATOMEDecoder.h:51
LArCalibLineMapping
Definition: LArCalibLineMapping.h:17
LArLATOMEDecoder::EventProcess::SuperCell
int SuperCell
Definition: LArLATOMEDecoder.h:136
RawEvent
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
Definition: RawEvent.h:37
LArLATOMEHeaderContainer.h
LArLATOMEDecoder::EventProcess::m_region
Word m_region
Definition: LArLATOMEDecoder.h:196
LArLATOMEDecoder::EventProcess::signEnergy
int signEnergy(unsigned int energy)
Definition: LArLATOMEDecoder.cxx:316
LArLATOMEDecoder::LatomeRawData
4th bit should be this value if the word indicate ADC value.
Definition: LArLATOMEDecoder.h:101
MonDataType::SelectedEnergy
@ SelectedEnergy
LArLATOMEDecoder::EventProcess::m_nsc3
Word m_nsc3
Definition: LArLATOMEDecoder.h:210
LArLATOMEDecoder::EventProcess::s_monHeaderMarker
static const Word s_monHeaderMarker
this is fixed and not read from data
Definition: LArLATOMEDecoder.h:182
LArLATOMEDecoder::EventProcess::bytesPerChannel
unsigned int bytesPerChannel(MonDataType at0, MonDataType at1)
Definition: LArLATOMEDecoder.cxx:322
LArLATOMEDecoder::EventProcess::m_nsc1
Word m_nsc1
Definition: LArLATOMEDecoder.h:208
athena.value
value
Definition: athena.py:122
LArLATOMEDecoder::EventProcess::m_nsc6
Word m_nsc6
Definition: LArLATOMEDecoder.h:213
unused.h
Macro to mark a member as unused.
LArLATOMEMapping
class to provide SC mapping
Definition: LArLATOMEMapping.h:28
LArLATOMEDecoder::EventProcess::m_packetEnd
std::vector< Word > m_packetEnd
Definition: LArLATOMEDecoder.h:184
LArLATOMEHeaderContainer
Container class for LArLATOMEHeader.
Definition: LArLATOMEHeaderContainer.h:19
LArLATOMEDecoder::LatomeRawData::adc
std::vector< short > adc
Definition: LArLATOMEDecoder.h:104
LArLATOMEDecoder::EventProcess::m_ROBFragSize
Word m_ROBFragSize
Definition: LArLATOMEDecoder.h:191
LArLATOMEDecoder::EventProcess::decodeChannel
void decodeChannel(unsigned int &wordshift, unsigned int &byteshift, const uint32_t *p, MonDataType at0, MonDataType at1, unsigned int &at0Data, unsigned int &at1Data, unsigned int &satData, bool &at0val, bool &at1val)
Definition: LArLATOMEDecoder.cxx:367
LArLATOMEDecoder::EventProcess::m_BC_E
short m_BC_E
Definition: LArLATOMEDecoder.h:224
LArLATOMEDecoder::EventProcess::m_latomeBCID
Word m_latomeBCID
Definition: LArLATOMEDecoder.h:187
LArLATOMEDecoder::EventProcess::decodeWord
void decodeWord(unsigned int &word, unsigned int &wordshift, unsigned int &byteshift, const uint32_t *p)
Definition: LArLATOMEDecoder.cxx:357
LArLATOMEDecoder::EventProcess::m_at1nBC
Word m_at1nBC
Definition: LArLATOMEDecoder.h:204
ICaloSuperCellIDTool.h
LArLATOMEDecoder::Sample
int Sample
Definition: LArLATOMEDecoder.h:68
LArLATOMEDecoder::LatomeCalibPatterns
Definition: LArLATOMEDecoder.h:121
LArLATOMEDecoder::LArLATOMEDecoder
LArLATOMEDecoder(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: LArLATOMEDecoder.cxx:22
LArLATOMEDecoder::EventProcess::m_nBC_Averaged
short m_nBC_Averaged
Definition: LArLATOMEDecoder.h:220
LArLATOMEDecoder::EventProcess::m_monHeaderSize
Word m_monHeaderSize
Definition: LArLATOMEDecoder.h:195
LArLATOMEDecoder::EventProcess::m_at1BC
Word m_at1BC
Definition: LArLATOMEDecoder.h:206
LArLATOMEDecoder::m_protectSourceId
BooleanProperty m_protectSourceId
Definition: LArLATOMEDecoder.h:258
LArLATOMEDecoder::LatomeCalibPatterns::patterns
std::vector< unsigned int > patterns
Definition: LArLATOMEDecoder.h:126
LArLATOMEDecoder::EventProcess::m_decoder
const LArLATOMEDecoder * m_decoder
Definition: LArLATOMEDecoder.h:234
MonDataType::AutoCorr
@ AutoCorr
LArLATOMEDecoder::EventProcess::m_nsc4
Word m_nsc4
Definition: LArLATOMEDecoder.h:211
LArLATOMEDecoder::EventProcess::m_isAveraged
bool m_isAveraged
Definition: LArLATOMEDecoder.h:231
LArLATOMEDecoder::EventProcess::m_header_coll
LArLATOMEHeaderContainer * m_header_coll
Definition: LArLATOMEDecoder.h:241
LArLATOMEDecoder::EventProcess::m_adc_coll
LArDigitContainer * m_adc_coll
Definition: LArLATOMEDecoder.h:235
LArLATOMEDecoder::EventProcess::m_at0nBC
Word m_at0nBC
Definition: LArLATOMEDecoder.h:203
LArLATOMEDecoder::Path
std::string Path
Definition: LArLATOMEDecoder.h:70
MonDataType::Invalid
@ Invalid
LArLATOMEDecoder::LatomeAveragedRawData::latomeChannel
unsigned int latomeChannel
Definition: LArLATOMEDecoder.h:118
LArOnOffIdMapping.h
LArLATOMEDecoder::LatomeAveragedRawData::sum
std::vector< unsigned long long > sum
Definition: LArLATOMEDecoder.h:115
LArLATOMEDecoder::EventProcess::m_monTrailerSize
static const Word m_monTrailerSize
some cached info to ease processing reading from data header
Definition: LArLATOMEDecoder.h:181
LArLATOMEDecoder::EventProcess::decodeByte
void decodeByte(unsigned int &byte, unsigned int wordshift, unsigned int byteshift, const uint32_t *p)
Definition: LArLATOMEDecoder.cxx:353
LArLATOMEDecoder::LatomeCalibPatterns::delay
unsigned int delay
Definition: LArLATOMEDecoder.h:125
LArLATOMEDecoder::EventProcess::m_at0BC
Word m_at0BC
Definition: LArLATOMEDecoder.h:205
ParticleGun_FastCalo_ChargeFlip_Config.energy
energy
Definition: ParticleGun_FastCalo_ChargeFlip_Config.py:78
LArLATOMEDecoder::EventProcess::increaseWordShift
void increaseWordShift(unsigned int &wordshift)
Definition: LArLATOMEDecoder.cxx:334
LArLATOMEDecoder::LatomeAveragedRawData::sumSq
std::vector< unsigned long long > sumSq
Definition: LArLATOMEDecoder.h:116
LArLATOMEDecoder::EventProcess::NumWord
int NumWord
Definition: LArLATOMEDecoder.h:134
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
LArLATOMEMapping.h
LArLATOMEDecoder::EventProcess::m_caccdigits
LArAccumulatedCalibDigitContainer * m_caccdigits
Definition: LArLATOMEDecoder.h:240
LArLATOMEDecoder::LatomeRawData::et_id
std::vector< int > et_id
Definition: LArLATOMEDecoder.h:107
LArLATOMEDecoder::EventProcess::m_nBC_E
short m_nBC_E
Definition: LArLATOMEDecoder.h:218
LArLATOMEDecoder::EventProcess::m_nBC_EID
short m_nBC_EID
Definition: LArLATOMEDecoder.h:219
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArLATOMEDecoder::EventProcess::m_nBC_ADC
short m_nBC_ADC
Definition: LArLATOMEDecoder.h:217
LArLATOMEDecoder::EventProcess::s_monCheckPoint
static const Word s_monCheckPoint
Definition: LArLATOMEDecoder.h:183
LArLATOMEDecoder::m_ignoreEndcapChannels
BooleanProperty m_ignoreEndcapChannels
Definition: LArLATOMEDecoder.h:257
AthAlgTool.h
LArLATOMEDecoder::m_cablingKeySC
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeySC
Definition: LArLATOMEDecoder.h:260
LArLATOMEDecoder::EventProcess::increaseByteShift
void increaseByteShift(unsigned int &wordshift, unsigned int &byteshift)
Definition: LArLATOMEDecoder.cxx:345
LArLATOMEDecoder::interfaceID
static const InterfaceID & interfaceID()
Definition: LArLATOMEDecoder.cxx:29
LArLATOMEDecoder::EventProcess::m_et_id_coll
LArRawSCContainer * m_et_id_coll
Definition: LArLATOMEDecoder.h:238
LArAccumulatedCalibDigitContainer.h
MonDataType::RawADC
@ RawADC
LArSCDigit.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
LArLATOMEDecoder::EventProcess::m_streamNumber
Word m_streamNumber
Definition: LArLATOMEDecoder.h:198
LArLATOMEDecoder::EventProcess::m_rawValuesInEvent
std::vector< LatomeRawData > m_rawValuesInEvent
Definition: LArLATOMEDecoder.h:247
LArLATOMEDecoder::EventProcess::decodeTrailer
unsigned int decodeTrailer(const uint32_t *p, unsigned int offset)
Definition: LArLATOMEDecoder.cxx:213
LArLATOMEDecoder::Packet
int Packet
Definition: LArLATOMEDecoder.h:66
LArLATOMEDecoder::~LArLATOMEDecoder
virtual ~LArLATOMEDecoder()=default
Destructor.
LArLATOMEDecoder::EventProcess::m_at1typeRec
Word m_at1typeRec
Definition: LArLATOMEDecoder.h:200
LArLATOMEDecoder::EventProcess::m_hasEID
bool m_hasEID
Definition: LArLATOMEDecoder.h:230
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
MonDataType::Averaged
@ Averaged
LArLATOMEDecoder::EventProcess::fillCalib
void fillCalib(const LArLATOMEMapping *map, const LArOnOffIdMapping *onoffmap, const LArCalibLineMapping *clmap)
Definition: LArLATOMEDecoder.cxx:845
LArLATOMEDecoder::EventProcess::fillRaw
void fillRaw(const LArLATOMEMapping *map)
Pass ADC values from an event.
Definition: LArLATOMEDecoder.cxx:1001
LArLATOMEDecoder::EventProcess::EventProcess
EventProcess(const LArLATOMEDecoder *decoderInput, LArDigitContainer *adc_coll, LArDigitContainer *adc_bas_coll, LArRawSCContainer *et_coll, LArRawSCContainer *et_id_coll, LArAccumulatedDigitContainer *accdigits, LArAccumulatedCalibDigitContainer *caccdigits, LArLATOMEHeaderContainer *header_coll)
Definition: LArLATOMEDecoder.cxx:131
LArLATOMEDecoder::EventProcess::m_at1type
Word m_at1type
Definition: LArLATOMEDecoder.h:202
LArLATOMEDecoder::NumWord
int NumWord
Definition: LArLATOMEDecoder.h:65
LArDigitContainer.h
LArLATOMEDecoder::EventProcess::m_nPackets
Word m_nPackets
Definition: LArLATOMEDecoder.h:192
LArLATOMEDecoder::EventProcess::m_averagedRawValuesInEvent
std::vector< LatomeAveragedRawData > m_averagedRawValuesInEvent
Definition: LArLATOMEDecoder.h:248
LArLATOMEDecoder::EventProcess::m_accdigits
LArAccumulatedDigitContainer * m_accdigits
Definition: LArLATOMEDecoder.h:239
LArLATOMEDecoder::EventProcess::MODE
MODE
Definition: LArLATOMEDecoder.h:174
LArLATOMEDecoder::LatomeAveragedRawData::nTrigValid
std::vector< unsigned int > nTrigValid
Definition: LArLATOMEDecoder.h:117
LArOnline_SuperCellID
Definition: LArOnline_SuperCellID.h:20
LArLATOMEDecoder::EventProcess::fillCollection
void fillCollection(const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment *pROB, const LArLATOMEMapping *map, const LArOnOffIdMapping *onoffmap=nullptr, const LArCalibLineMapping *clmap=nullptr)
Execute decoding for an event.
Definition: LArLATOMEDecoder.cxx:432
LArLATOMEDecoder::EventProcess::m_latomeCalibPatternsInEvent
std::vector< LatomeCalibPatterns > m_latomeCalibPatternsInEvent
Definition: LArLATOMEDecoder.h:249
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArLATOMEDecoder::SuperCell
int SuperCell
Definition: LArLATOMEDecoder.h:67
LArLATOMEDecoder::EventProcess::Sample
int Sample
Definition: LArLATOMEDecoder.h:137
LArLATOMEDecoder::EventProcess::m_BC_ADC
short m_BC_ADC
Definition: LArLATOMEDecoder.h:223
LArLATOMEDecoder::finalize
virtual StatusCode finalize()
Finalize the converter.
Definition: LArLATOMEDecoder.h:80
LArLATOMEDecoder::EventProcess::m_nthLATOME
unsigned int m_nthLATOME
Definition: LArLATOMEDecoder.h:244
LArLATOMEDecoder::LatomeRawData::latomeChannel
unsigned int latomeChannel
Definition: LArLATOMEDecoder.h:109
LArLATOMEDecoder::EventProcess::Path
std::string Path
Definition: LArLATOMEDecoder.h:138
LArLATOMEDecoder::Word
unsigned int Word
Definition: LArLATOMEDecoder.h:64
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
re
const boost::regex re(r_e)
LArLATOMEDecoder::EventProcess::MON_HEADER
@ MON_HEADER
Definition: LArLATOMEDecoder.h:175
LArLATOMEDecoder::EventProcess::m_at0typeRec
Word m_at0typeRec
Definition: LArLATOMEDecoder.h:199
LArLATOMEDecoder::initialize
virtual StatusCode initialize()
Initialize the converter.
Definition: LArLATOMEDecoder.cxx:32
LArLATOMEDecoder::EventProcess::fillHeader
void fillHeader()
Definition: LArLATOMEDecoder.cxx:1077
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71
LArLATOMEDecoder::EventProcess::m_headerDecoded
bool m_headerDecoded
Definition: LArLATOMEDecoder.h:214
LArDigitContainer
Container class for LArDigit.
Definition: LArDigitContainer.h:24
LArLATOMEDecoder::EventProcess::m_l1ID
Word m_l1ID
Definition: LArLATOMEDecoder.h:190
LArLATOMEDecoder::LatomeCalibPatterns::DAC
unsigned int DAC
Definition: LArLATOMEDecoder.h:124
LArLATOMEDecoder::EventProcess::m_iPacket
Word m_iPacket
Definition: LArLATOMEDecoder.h:193
LArOnline_SuperCellID.h
LArLATOMEDecoder::EventProcess::MON_TRAILER
@ MON_TRAILER
Definition: LArLATOMEDecoder.h:175
LArLATOMEDecoder::EventProcess::m_at0type
Word m_at0type
Definition: LArLATOMEDecoder.h:201
AthAlgTool
Definition: AthAlgTool.h:26
LArLATOMEDecoder::EventProcess::m_nBC_rawADC
short m_nBC_rawADC
Definition: LArLATOMEDecoder.h:216
LArLATOMEDecoder::EventProcess::decodeHeader
unsigned int decodeHeader(const uint32_t *p, unsigned int offset)
Definition: LArLATOMEDecoder.cxx:224
LArLATOMEDecoder::EventProcess::m_hasAdc
bool m_hasAdc
Definition: LArLATOMEDecoder.h:228
LArCalibLineMapping.h
LArAccumulatedCalibDigitContainer
Container class for LArAccumulatedCalibDigit.
Definition: LArAccumulatedCalibDigitContainer.h:25
LArLATOMEDecoder::EventProcess::m_nsc2
Word m_nsc2
Definition: LArLATOMEDecoder.h:209
LArLATOMEDecoder::NumLATOME
int NumLATOME
Definition: LArLATOMEDecoder.h:69
LArLATOMEDecoder::s_nBunches
static const int s_nBunches
Maximum value of BCID.
Definition: LArLATOMEDecoder.h:98
LArLATOMEDecoder::EventProcess::m_latomeID
Word m_latomeID
Definition: LArLATOMEDecoder.h:189
LArLATOMEDecoder::m_sc2ccMappingTool
ToolHandle< ICaloSuperCellIDTool > m_sc2ccMappingTool
Definition: LArLATOMEDecoder.h:254
LArLATOMEDecoder::m_keepPulsed
BooleanProperty m_keepPulsed
Definition: LArLATOMEDecoder.h:259
LArLATOMEDecoder::EventProcess::m_isAutoCorr
bool m_isAutoCorr
Definition: LArLATOMEDecoder.h:232
LArLATOMEDecoder::EventProcess::m_adc_bas_coll
LArDigitContainer * m_adc_bas_coll
Definition: LArLATOMEDecoder.h:236
LArOnOffIdMapping
Definition: LArOnOffIdMapping.h:20
LArLATOMEDecoder::LatomeAveragedRawData
Definition: LArLATOMEDecoder.h:112