ATLAS Offline Software
JepByteStreamTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGT1CALOBYTESTREAM_JEPBYTESTREAMTOOL_H
6 #define TRIGT1CALOBYTESTREAM_JEPBYTESTREAMTOOL_H
7 
8 #include <stdint.h>
9 
10 #include <map>
11 #include <string>
12 #include <vector>
13 
14 #include "L1CaloSrcIdMap.h"
21 #include "eformat/SourceIdentifier.h"
22 #include "GaudiKernel/ToolHandle.h"
23 
24 class IInterface;
25 class InterfaceID;
26 class StatusCode;
27 
28 template <class T> class FullEventAssembler;
29 
30 namespace LVL1 {
31  class CMMJetHits;
32  class CMMEtSums;
33  class IL1CaloMappingTool;
34  class JEMHits;
35  class JEMEtSums;
36  class JEPBSCollection;
37  class JetElement;
38  class JetElementKey;
39 }
40 
41 namespace LVL1BS {
42 
43 class CmmEnergySubBlock;
44 class CmmJetSubBlock;
45 class JemSubBlock;
46 class L1CaloErrorByteStreamTool;
47 class L1CaloSrcIdMap;
48 
57 class JepByteStreamTool : public AthAlgTool {
58 
59  public:
60  JepByteStreamTool(const std::string& type, const std::string& name,
61  const IInterface* parent);
62  virtual ~JepByteStreamTool();
63 
65  static const InterfaceID& interfaceID();
66 
67  virtual StatusCode initialize();
68  virtual StatusCode finalize();
69 
71  StatusCode convert(const std::string& sgKey,
72  const IROBDataProviderSvc::VROBFRAG& robFrags,
73  DataVector<LVL1::JetElement>* jeCollection) const;
75  StatusCode convert(const std::string& sgKey,
76  const IROBDataProviderSvc::VROBFRAG& robFrags,
77  DataVector<LVL1::JEMHits>* hitCollection) const;
79  StatusCode convert(const std::string& sgKey,
80  const IROBDataProviderSvc::VROBFRAG& robFrags,
81  DataVector<LVL1::JEMEtSums>* etCollection) const;
83  StatusCode convert(const std::string& sgKey,
84  const IROBDataProviderSvc::VROBFRAG& robFrags,
85  DataVector<LVL1::CMMJetHits>* hitCollection) const;
87  StatusCode convert(const std::string& sgKey,
88  const IROBDataProviderSvc::VROBFRAG& robFrags,
89  DataVector<LVL1::CMMEtSums>* etCollection) const;
90 
92  StatusCode convert(const LVL1::JEPBSCollection* jep) const;
93 
95  const std::vector<uint32_t>& sourceIDs() const;
96 
97  private:
99  { this, "ByteStreamCnvSvc", "ByteStreamCnvSvc" };
100 
101  struct LocalData
102  {
104  int coreOverlap = 0;
106  unsigned int rodErr = 0;
108  std::vector<unsigned int> exVec;
110  std::vector<unsigned int> eyVec;
112  std::vector<unsigned int> etVec;
114  std::vector<int> exErrVec;
116  std::vector<int> eyErrVec;
118  std::vector<int> etErrVec;
120  std::vector<unsigned int> hitsVec;
122  std::vector<int> errVec;
125  };
126 
129 
135  typedef std::map<unsigned int, LVL1::JetElement*> JetElementMap;
136  typedef std::map<unsigned int, const LVL1::JetElement*> ConstJetElementMap;
137  typedef std::map<int, LVL1::JEMHits*> JetHitsMap;
138  typedef std::map<int, const LVL1::JEMHits*> ConstJetHitsMap;
139  typedef std::map<int, LVL1::JEMEtSums*> EnergySumsMap;
140  typedef std::map<int, const LVL1::JEMEtSums*> ConstEnergySumsMap;
141  typedef std::map<int, LVL1::CMMJetHits*> CmmHitsMap;
142  typedef std::map<int, const LVL1::CMMJetHits*> ConstCmmHitsMap;
143  typedef std::map<int, LVL1::CMMEtSums*> CmmSumsMap;
144  typedef std::map<int, const LVL1::CMMEtSums*> ConstCmmSumsMap;
145  typedef IROBDataProviderSvc::VROBFRAG::const_iterator ROBIterator;
148 
150  {
152  : m_collection(collection){}
154  };
156  {
157  JetElementData (JetElementCollection* const jeCollection)
158  : JepByteStreamToolData (JET_ELEMENTS), m_jeCollection (jeCollection) {}
161  };
163  {
164  JetHitsData (JetHitsCollection* const hitCollection)
165  : JepByteStreamToolData (JET_HITS), m_hitCollection (hitCollection) {}
168  };
170  {
171  EnergySumsData (EnergySumsCollection* const etCollection)
172  : JepByteStreamToolData (ENERGY_SUMS), m_etCollection (etCollection) {}
175  };
177  {
178  CmmHitsData (CmmHitsCollection* const cmmHitCollection)
179  : JepByteStreamToolData (CMM_HITS), m_cmmHitCollection (cmmHitCollection) {}
182  };
184  {
185  CmmSumsData (CmmSumsCollection* const cmmEtCollection)
186  : JepByteStreamToolData (CMM_SUMS), m_cmmEtCollection (cmmEtCollection) {}
189  };
190 
192  StatusCode convertBs(const std::string& sgKey,
193  const IROBDataProviderSvc::VROBFRAG& robFrags,
194  JepByteStreamToolData& data) const;
196  void decodeCmmEnergy(CmmEnergySubBlock* subBlock, int trigCmm, CmmSumsData& data,
197  LocalData& ld) const;
199  void decodeCmmJet(CmmJetSubBlock* subBlock, int trigCmm, CmmHitsData& data,
200  LocalData& ld) const;
202  void decodeJem(JemSubBlock* subBlock, int trigJem,
204  LocalData& ld) const;
205 
207  const LVL1::JetElement* findJetElement(double eta, double phi,
208  const ConstJetElementMap& jeMap,
209  LVL1::JetElementKey& elementKey) const;
210  LVL1::JetElement* findJetElement(const JetElementData& data, double eta, double phi,
211  LVL1::JetElementKey& elementKey) const;
213  const LVL1::JEMHits* findJetHits(int crate, int module,
214  const ConstJetHitsMap& hitsMap) const;
215  LVL1::JEMHits* findJetHits(const JetHitsData& data, int crate, int module) const;
217  const LVL1::JEMEtSums* findEnergySums(int crate, int module,
218  const ConstEnergySumsMap& etMap) const;
219  LVL1::JEMEtSums* findEnergySums(const EnergySumsData& data, int crate, int module) const;
221  const LVL1::CMMJetHits* findCmmHits(int crate, int dataID,
222  const ConstCmmHitsMap& cmmHitsMap) const;
223  LVL1::CMMJetHits* findCmmHits(const CmmHitsData& data, int crate, int dataID) const;
225  const LVL1::CMMEtSums* findCmmSums(int crate, int dataID,
226  const ConstCmmSumsMap& cmmEtMap) const;
227  LVL1::CMMEtSums* findCmmSums(const CmmSumsData& data, int crate, int dataID) const;
228 
229  std::vector<uint32_t> makeSourceIDs() const;
230 
232  void setupJeMap(const JetElementCollection* jeCollection,
233  ConstJetElementMap& jeMap,
234  LVL1::JetElementKey& elementKey) const;
236  void setupHitsMap(const JetHitsCollection* hitCollection,
237  ConstJetHitsMap& hitsMap) const;
239  void setupEtMap(const EnergySumsCollection* enCollection,
240  ConstEnergySumsMap& etMap) const;
242  void setupCmmHitsMap(const CmmHitsCollection* hitCollection,
243  ConstCmmHitsMap& cmmHitsMap) const;
245  void setupCmmEtMap(const CmmSumsCollection* enCollection,
246  ConstCmmSumsMap& cmmEtMap) const;
247 
249  bool slinkSlices(int crate, int module, int modulesPerSlink,
250  int& timeslices, int& trigJem,
251  const ConstJetElementMap& jeMap,
252  const ConstJetHitsMap& hitsMap,
253  const ConstEnergySumsMap& etMap,
254  const ConstCmmHitsMap& cmmHitsMap,
255  const ConstCmmSumsMap& cmmEtMap,
256  LVL1::JetElementKey& elementKey) const;
257 
259  ToolHandle<LVL1::IL1CaloMappingTool> m_jemMaps;
261  ToolHandle<LVL1BS::L1CaloErrorByteStreamTool> m_errorTool;
262 
272  const int m_channels;
274  const int m_crates;
276  const int m_modules;
278  int m_slinks;
284  std::vector<uint32_t> m_sourceIDsProp;
286  const eformat::SubDetector m_subDetector;
289 };
290 
291 } // end namespace
292 
293 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LVL1BS::JepByteStreamTool::JET_ELEMENTS
@ JET_ELEMENTS
Definition: JepByteStreamTool.h:127
xAOD::JEMEtSums
JEMEtSums_v2 JEMEtSums
Define the latest version of the JEMEtSums class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JEMEtSums.h:15
LVL1BS::JepByteStreamTool::JetHitsData::m_hitsMap
JetHitsMap m_hitsMap
Definition: JepByteStreamTool.h:167
LVL1BS::JepByteStreamTool::m_subDetector
const eformat::SubDetector m_subDetector
Sub-detector type.
Definition: JepByteStreamTool.h:286
LVL1::JEPBSCollection
Jet/Energy Processor container for writing bytestream.
Definition: JEPBSCollection.h:26
LVL1BS::JepByteStreamTool::m_dataFormat
int m_dataFormat
Property: Data compression format.
Definition: JepByteStreamTool.h:270
FullEventAssembler
Template class for assembling a full atlas raw event from subfragments.
Definition: FullEventAssembler.h:40
LVL1BS::JepByteStreamTool::convert
StatusCode convert(const std::string &sgKey, const IROBDataProviderSvc::VROBFRAG &robFrags, DataVector< LVL1::JetElement > *jeCollection) const
Convert ROB fragments to jet elements.
Definition: JepByteStreamTool.cxx:126
LVL1BS::JepByteStreamTool::CmmSumsData::m_cmmEtCollection
CmmSumsCollection *const m_cmmEtCollection
Definition: JepByteStreamTool.h:187
LVL1BS::JepByteStreamTool::JepByteStreamToolData
Definition: JepByteStreamTool.h:150
LVL1BS::JepByteStreamTool::CmmHitsData::m_cmmHitCollection
CmmHitsCollection *const m_cmmHitCollection
Definition: JepByteStreamTool.h:180
LVL1BS::JepByteStreamTool::LocalData::etErrVec
std::vector< int > etErrVec
Ex error vector for unpacking.
Definition: JepByteStreamTool.h:118
xAOD::JEMHits
JEMHits_v1 JEMHits
Define the latest version of the JEMHits class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JEMHits.h:14
LVL1BS::JepByteStreamTool::EnergySumsCollection
DataVector< LVL1::JEMEtSums > EnergySumsCollection
Definition: JepByteStreamTool.h:132
LVL1BS::L1CaloSrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for L1Calo Byt...
Definition: L1CaloSrcIdMap.h:24
LVL1::CMMEtSums
CMMEtSums object stores Et sums from the Energy CMMs.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMEtSums.h:33
LVL1BS::JepByteStreamTool::CMM_HITS
@ CMM_HITS
Definition: JepByteStreamTool.h:128
JetElementKey.h
LVL1BS::JepByteStreamTool::~JepByteStreamTool
virtual ~JepByteStreamTool()
Definition: JepByteStreamTool.cxx:89
LVL1BS::JepByteStreamTool::findCmmSums
const LVL1::CMMEtSums * findCmmSums(int crate, int dataID, const ConstCmmSumsMap &cmmEtMap) const
Find CMM energy sums for given crate, data ID.
Definition: JepByteStreamTool.cxx:1574
LVL1BS::JepByteStreamTool::setupHitsMap
void setupHitsMap(const JetHitsCollection *hitCollection, ConstJetHitsMap &hitsMap) const
Set up jet hits map.
Definition: JepByteStreamTool.cxx:1613
LVL1BS::JemSubBlock
Sub-Block class for JEM data.
Definition: JemSubBlock.h:25
LVL1BS::JepByteStreamTool::ConstJetElementMap
std::map< unsigned int, const LVL1::JetElement * > ConstJetElementMap
Definition: JepByteStreamTool.h:136
LVL1BS::JepByteStreamTool::decodeCmmEnergy
void decodeCmmEnergy(CmmEnergySubBlock *subBlock, int trigCmm, CmmSumsData &data, LocalData &ld) const
Unpack CMM-Energy sub-block.
Definition: JepByteStreamTool.cxx:797
LVL1BS::JepByteStreamTool::JepByteStreamToolData::m_collection
const CollectionType m_collection
Definition: JepByteStreamTool.h:153
LVL1BS::JepByteStreamTool::ROBIterator
IROBDataProviderSvc::VROBFRAG::const_iterator ROBIterator
Definition: JepByteStreamTool.h:145
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1BS::JepByteStreamTool::CmmHitsCollection
DataVector< LVL1::CMMJetHits > CmmHitsCollection
Definition: JepByteStreamTool.h:133
LVL1BS::JepByteStreamTool::m_crateOffsetSw
int m_crateOffsetSw
Property: Software crate number offset.
Definition: JepByteStreamTool.h:266
LVL1BS::JepByteStreamTool::JetHitsData::JetHitsData
JetHitsData(JetHitsCollection *const hitCollection)
Definition: JepByteStreamTool.h:164
LVL1BS::JepByteStreamTool::CmmHitsData::m_cmmHitsMap
CmmHitsMap m_cmmHitsMap
Definition: JepByteStreamTool.h:181
LVL1BS::JepByteStreamTool::m_crates
const int m_crates
Number of crates.
Definition: JepByteStreamTool.h:274
LVL1BS::JepByteStreamTool::m_jemMaps
ToolHandle< LVL1::IL1CaloMappingTool > m_jemMaps
Property: Channel mapping tool.
Definition: JepByteStreamTool.h:259
LVL1BS::JepByteStreamTool::LocalData::eyErrVec
std::vector< int > eyErrVec
Ex error vector for unpacking.
Definition: JepByteStreamTool.h:116
LVL1BS::JepByteStreamTool::initialize
virtual StatusCode initialize()
Definition: JepByteStreamTool.cxx:96
LVL1BS::JepByteStreamTool::setupCmmEtMap
void setupCmmEtMap(const CmmSumsCollection *enCollection, ConstCmmSumsMap &cmmEtMap) const
Set up CMM energy sums map.
Definition: JepByteStreamTool.cxx:1670
python.PyAthena.module
module
Definition: PyAthena.py:131
LVL1BS::JepByteStreamTool::JetHitsData
Definition: JepByteStreamTool.h:163
LVL1BS::JepByteStreamTool::EnergySumsData::m_etCollection
EnergySumsCollection *const m_etCollection
Definition: JepByteStreamTool.h:173
LVL1BS::JepByteStreamTool::decodeCmmJet
void decodeCmmJet(CmmJetSubBlock *subBlock, int trigCmm, CmmHitsData &data, LocalData &ld) const
Unpack CMM-Jet sub-block.
Definition: JepByteStreamTool.cxx:1091
OFFLINE_FRAGMENTS_NAMESPACE::PointerType
const DataType * PointerType
Definition: RawEvent.h:25
LVL1BS::JepByteStreamTool::CMM_SUMS
@ CMM_SUMS
Definition: JepByteStreamTool.h:128
LVL1BS::JepByteStreamTool::findJetHits
const LVL1::JEMHits * findJetHits(int crate, int module, const ConstJetHitsMap &hitsMap) const
Find jet hits for given crate, module.
Definition: JepByteStreamTool.cxx:1511
LVL1::JetElement
Jet elements are the inputs to the Jet, ETmiss and ETsum triggers.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JetElement.h:43
LVL1BS::JepByteStreamTool::CmmSumsData::CmmSumsData
CmmSumsData(CmmSumsCollection *const cmmEtCollection)
Definition: JepByteStreamTool.h:185
LVL1BS::JepByteStreamTool::setupEtMap
void setupEtMap(const EnergySumsCollection *enCollection, ConstEnergySumsMap &etMap) const
Set up energy sums map.
Definition: JepByteStreamTool.cxx:1632
LVL1BS::JepByteStreamTool::JetHitsData::m_hitCollection
JetHitsCollection *const m_hitCollection
Definition: JepByteStreamTool.h:166
LVL1BS::JepByteStreamTool::LocalData::coreOverlap
int coreOverlap
Jet elements to accept (0=Core, 1=Overlap)
Definition: JepByteStreamTool.h:104
xAOD::JetElement
JetElement_v2 JetElement
Define the latest version of the JetElement class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/JetElement.h:16
RawEvent.h
LVL1BS::JepByteStreamTool::JetElementCollection
DataVector< LVL1::JetElement > JetElementCollection
Definition: JepByteStreamTool.h:130
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1BS::JepByteStreamTool::CmmSumsMap
std::map< int, LVL1::CMMEtSums * > CmmSumsMap
Definition: JepByteStreamTool.h:143
AthAlgTool.h
LVL1BS::JepByteStreamTool::ConstJetHitsMap
std::map< int, const LVL1::JEMHits * > ConstJetHitsMap
Definition: JepByteStreamTool.h:138
LVL1BS::JepByteStreamTool::LocalData::elementKey
LVL1::JetElementKey elementKey
Jet element key provider.
Definition: JepByteStreamTool.h:124
LVL1BS::JepByteStreamTool::JepByteStreamTool
JepByteStreamTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: JepByteStreamTool.cxx:50
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1BS::JepByteStreamTool::JetElementData::m_jeCollection
JetElementCollection *const m_jeCollection
Definition: JepByteStreamTool.h:159
LVL1BS::JepByteStreamTool::m_srcIdMap
const L1CaloSrcIdMap m_srcIdMap
Source ID converter.
Definition: JepByteStreamTool.h:288
LVL1BS::JepByteStreamTool::m_slinks
int m_slinks
Property: Number of slinks per crate when writing out bytestream.
Definition: JepByteStreamTool.h:278
LVL1BS::JepByteStreamTool
Tool to perform ROB fragments to jet elements, jet hits and energy sums, and JEP container to raw dat...
Definition: JepByteStreamTool.h:57
LVL1BS::JepByteStreamTool::CmmHitsMap
std::map< int, LVL1::CMMJetHits * > CmmHitsMap
Definition: JepByteStreamTool.h:141
LVL1BS::JepByteStreamTool::LocalData
Definition: JepByteStreamTool.h:102
IROBDataProviderSvc::VROBFRAG
std::vector< const ROBF * > VROBFRAG
Definition: IROBDataProviderSvc.h:27
LVL1BS::JepByteStreamTool::JepByteStreamToolData::JepByteStreamToolData
JepByteStreamToolData(const CollectionType collection)
Definition: JepByteStreamTool.h:151
LVL1BS::JepByteStreamTool::m_modules
const int m_modules
Number of JEM modules per crate.
Definition: JepByteStreamTool.h:276
DataVector< LVL1::JetElement >
LVL1BS::JepByteStreamTool::LocalData::eyVec
std::vector< unsigned int > eyVec
Ey vector for unpacking.
Definition: JepByteStreamTool.h:110
LVL1BS::JepByteStreamTool::ConstEnergySumsMap
std::map< int, const LVL1::JEMEtSums * > ConstEnergySumsMap
Definition: JepByteStreamTool.h:140
LVL1::JetElementKey
The JetElementKey object provides the key for each JetElement depending on its eta,...
Definition: JetElementKey.h:51
LVL1BS::JepByteStreamTool::CollectionType
CollectionType
Definition: JepByteStreamTool.h:127
LVL1BS::JepByteStreamTool::CmmSumsData::m_cmmEtMap
CmmSumsMap m_cmmEtMap
Definition: JepByteStreamTool.h:188
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
LVL1BS::JepByteStreamTool::CmmHitsData
Definition: JepByteStreamTool.h:177
LVL1BS::JepByteStreamTool::setupJeMap
void setupJeMap(const JetElementCollection *jeCollection, ConstJetElementMap &jeMap, LVL1::JetElementKey &elementKey) const
Set up jet element map.
Definition: JepByteStreamTool.cxx:1594
xAOD::CMMEtSums
CMMEtSums_v1 CMMEtSums
Define the latest version of the CMMEtSums class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CMMEtSums.h:14
LVL1BS::JepByteStreamTool::LocalData::rodErr
unsigned int rodErr
Unpacking error code.
Definition: JepByteStreamTool.h:106
LVL1BS::JepByteStreamTool::LocalData::exErrVec
std::vector< int > exErrVec
Ex error vector for unpacking.
Definition: JepByteStreamTool.h:114
LVL1BS::JepByteStreamTool::decodeJem
void decodeJem(JemSubBlock *subBlock, int trigJem, JepByteStreamToolData &data, LocalData &ld) const
Unpack JEM sub-block.
Definition: JepByteStreamTool.cxx:1263
LVL1BS::JepByteStreamTool::findCmmHits
const LVL1::CMMJetHits * findCmmHits(int crate, int dataID, const ConstCmmHitsMap &cmmHitsMap) const
Find CMM hits for given crate, data ID.
Definition: JepByteStreamTool.cxx:1553
LVL1BS::JepByteStreamTool::m_forceSlices
int m_forceSlices
Property: Force number of slices in bytestream.
Definition: JepByteStreamTool.h:282
LVL1BS::JepByteStreamTool::ConstCmmSumsMap
std::map< int, const LVL1::CMMEtSums * > ConstCmmSumsMap
Definition: JepByteStreamTool.h:144
LVL1BS::JepByteStreamTool::makeSourceIDs
std::vector< uint32_t > makeSourceIDs() const
Definition: JepByteStreamTool.cxx:561
LVL1BS::JepByteStreamTool::RODPointer
OFFLINE_FRAGMENTS_NAMESPACE::PointerType RODPointer
Definition: JepByteStreamTool.h:147
LVL1BS::JepByteStreamTool::slinkSlices
bool slinkSlices(int crate, int module, int modulesPerSlink, int &timeslices, int &trigJem, const ConstJetElementMap &jeMap, const ConstJetHitsMap &hitsMap, const ConstEnergySumsMap &etMap, const ConstCmmHitsMap &cmmHitsMap, const ConstCmmSumsMap &cmmEtMap, LVL1::JetElementKey &elementKey) const
Get number of slices and triggered slice offset for next slink.
Definition: JepByteStreamTool.cxx:1689
LVL1BS::JepByteStreamTool::convertBs
StatusCode convertBs(const std::string &sgKey, const IROBDataProviderSvc::VROBFRAG &robFrags, JepByteStreamToolData &data) const
Convert bytestream to given container type.
Definition: JepByteStreamTool.cxx:594
LVL1BS::JepByteStreamTool::m_sourceIDsProp
std::vector< uint32_t > m_sourceIDsProp
Property: ROB source IDs.
Definition: JepByteStreamTool.h:284
LVL1BS::JepByteStreamTool::JET_HITS
@ JET_HITS
Definition: JepByteStreamTool.h:127
LVL1BS::JepByteStreamTool::m_errorTool
ToolHandle< LVL1BS::L1CaloErrorByteStreamTool > m_errorTool
Error collection tool.
Definition: JepByteStreamTool.h:261
LVL1BS::JepByteStreamTool::JetElementData::JetElementData
JetElementData(JetElementCollection *const jeCollection)
Definition: JepByteStreamTool.h:157
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1BS::JepByteStreamTool::EnergySumsData
Definition: JepByteStreamTool.h:170
LVL1BS::JepByteStreamTool::LocalData::errVec
std::vector< int > errVec
Error vector for unpacking.
Definition: JepByteStreamTool.h:122
LVL1BS::JepByteStreamTool::JetElementData
Definition: JepByteStreamTool.h:156
LVL1BS::CmmJetSubBlock
Sub-Block class for CMM-Jet data.
Definition: CmmJetSubBlock.h:23
LVL1BS::JepByteStreamTool::JetElementMap
std::map< unsigned int, LVL1::JetElement * > JetElementMap
Definition: JepByteStreamTool.h:135
LVL1BS::JepByteStreamTool::findJetElement
const LVL1::JetElement * findJetElement(double eta, double phi, const ConstJetElementMap &jeMap, LVL1::JetElementKey &elementKey) const
Find a jet element given eta, phi.
Definition: JepByteStreamTool.cxx:1486
LVL1BS::JepByteStreamTool::LocalData::hitsVec
std::vector< unsigned int > hitsVec
Hits vector for unpacking.
Definition: JepByteStreamTool.h:120
LVL1BS::JepByteStreamTool::JetElementData::m_jeMap
JetElementMap m_jeMap
Definition: JepByteStreamTool.h:160
LVL1BS::JepByteStreamTool::EnergySumsMap
std::map< int, LVL1::JEMEtSums * > EnergySumsMap
Definition: JepByteStreamTool.h:139
LVL1::JEMEtSums
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMEtSums.h:27
LVL1BS::JepByteStreamTool::m_byteStreamCnvSvc
ServiceHandle< IByteStreamCnvSvc > m_byteStreamCnvSvc
Definition: JepByteStreamTool.h:99
LVL1BS::JepByteStreamTool::LocalData::etVec
std::vector< unsigned int > etVec
Et vector for unpacking.
Definition: JepByteStreamTool.h:112
LVL1BS::JepByteStreamTool::CmmHitsData::CmmHitsData
CmmHitsData(CmmHitsCollection *const cmmHitCollection)
Definition: JepByteStreamTool.h:178
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LVL1BS::JepByteStreamTool::m_dfltSlices
int m_dfltSlices
Property: Default number of slices in simulation.
Definition: JepByteStreamTool.h:280
LVL1BS
Definition: ZdcByteStreamReadV1V2Tool.h:47
LVL1BS::JepByteStreamTool::EnergySumsData::EnergySumsData
EnergySumsData(EnergySumsCollection *const etCollection)
Definition: JepByteStreamTool.h:171
LVL1::JEMHits
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/JEMHits.h:27
xAOD::CMMJetHits
CMMJetHits_v1 CMMJetHits
Define the latest version of the CMMJetHits class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CMMJetHits.h:14
LVL1BS::JepByteStreamTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: JepByteStreamTool.cxx:43
LVL1BS::JepByteStreamTool::m_channels
const int m_channels
Number of channels per module.
Definition: JepByteStreamTool.h:272
LVL1::CMMJetHits
CMMJetHits class stores Jet hit multiplicities received by and read out from the Jet CMMs.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMMJetHits.h:32
LVL1BS::JepByteStreamTool::sourceIDs
const std::vector< uint32_t > & sourceIDs() const
Return reference to vector with all possible Source Identifiers.
Definition: JepByteStreamTool.cxx:586
LVL1BS::JepByteStreamTool::ENERGY_SUMS
@ ENERGY_SUMS
Definition: JepByteStreamTool.h:127
LVL1BS::JepByteStreamTool::LocalData::exVec
std::vector< unsigned int > exVec
Ex vector for unpacking.
Definition: JepByteStreamTool.h:108
L1CaloSrcIdMap.h
LVL1BS::JepByteStreamTool::findEnergySums
const LVL1::JEMEtSums * findEnergySums(int crate, int module, const ConstEnergySumsMap &etMap) const
Find energy sums for given crate, module.
Definition: JepByteStreamTool.cxx:1532
LVL1BS::JepByteStreamTool::CmmSumsData
Definition: JepByteStreamTool.h:184
LVL1BS::CmmEnergySubBlock
Sub-Block class for CMM-Energy data.
Definition: CmmEnergySubBlock.h:23
AthAlgTool
Definition: AthAlgTool.h:26
LVL1BS::JepByteStreamTool::m_crateOffsetHw
int m_crateOffsetHw
Property: Hardware crate number offset.
Definition: JepByteStreamTool.h:264
IByteStreamCnvSvc.h
LVL1BS::JepByteStreamTool::ConstCmmHitsMap
std::map< int, const LVL1::CMMJetHits * > ConstCmmHitsMap
Definition: JepByteStreamTool.h:142
LVL1BS::JepByteStreamTool::JetHitsMap
std::map< int, LVL1::JEMHits * > JetHitsMap
Definition: JepByteStreamTool.h:137
LVL1BS::JepByteStreamTool::ROBPointer
OFFLINE_FRAGMENTS_NAMESPACE::PointerType ROBPointer
Definition: JepByteStreamTool.h:146
geometry_dat_to_json.ld
ld
Definition: geometry_dat_to_json.py:32
LVL1BS::JepByteStreamTool::EnergySumsData::m_etMap
EnergySumsMap m_etMap
Definition: JepByteStreamTool.h:174
LVL1BS::JepByteStreamTool::JetHitsCollection
DataVector< LVL1::JEMHits > JetHitsCollection
Definition: JepByteStreamTool.h:131
IROBDataProviderSvc.h
LVL1BS::JepByteStreamTool::setupCmmHitsMap
void setupCmmHitsMap(const CmmHitsCollection *hitCollection, ConstCmmHitsMap &cmmHitsMap) const
Set up CMM hits map.
Definition: JepByteStreamTool.cxx:1651
ServiceHandle< IByteStreamCnvSvc >
LVL1BS::JepByteStreamTool::m_version
int m_version
Property: Sub_block header version.
Definition: JepByteStreamTool.h:268
LVL1BS::JepByteStreamTool::CmmSumsCollection
DataVector< LVL1::CMMEtSums > CmmSumsCollection
Definition: JepByteStreamTool.h:134
LVL1BS::JepByteStreamTool::finalize
virtual StatusCode finalize()
Definition: JepByteStreamTool.cxx:119