ATLAS Offline Software
CpByteStreamV2Tool.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_CPBYTESTREAMV2TOOL_H
6 #define TRIGT1CALOBYTESTREAM_CPBYTESTREAMV2TOOL_H
7 
8 #include <stdint.h>
9 
10 #include <map>
11 #include <string>
12 #include <vector>
13 
15 #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 <typename> class FullEventAssembler;
29 
30 namespace LVL1 {
31  class CMXCPHits;
32  class CMXCPTob;
33  class CPMTower;
34  class CPBSCollectionV2;
35  class IL1CaloMappingTool;
36  class TriggerTowerKey;
37 }
38 
39 namespace LVL1BS {
40 
41 class CmxCpSubBlock;
42 class CpmSubBlockV2;
43 class L1CaloErrorByteStreamTool;
44 class L1CaloSrcIdMap;
45 
55 
56  public:
57  CpByteStreamV2Tool(const std::string& type, const std::string& name,
58  const IInterface* parent);
59  virtual ~CpByteStreamV2Tool();
60 
62  static const InterfaceID& interfaceID();
63 
64  virtual StatusCode initialize() override;
65 
67  StatusCode convert(const std::string& sgKey, DataVector<LVL1::CPMTower>* ttCollection) const;
68  StatusCode convert(const std::string& sgKey,
69  const IROBDataProviderSvc::VROBFRAG& robFrags,
70  DataVector<LVL1::CPMTower>* ttCollection) const;
72  StatusCode convert(const std::string& sgKey,
73  DataVector<LVL1::CMXCPTob>* tobCollection) const;
74  StatusCode convert(const std::string& sgKey,
75  const IROBDataProviderSvc::VROBFRAG& robFrags,
76  DataVector<LVL1::CMXCPTob>* tobCollection) const;
78  StatusCode convert(const std::string& sgKey,
79  DataVector<LVL1::CMXCPHits>* hitCollection) const;
80  StatusCode convert(const std::string& sgKey,
81  const IROBDataProviderSvc::VROBFRAG& robFrags,
82  DataVector<LVL1::CMXCPHits>* hitCollection) const;
83 
86 
88  const std::vector<uint32_t>& sourceIDs() const;
89 
90  private:
91  // Need option to disable dependency on offline ByteStreamCnvSvc to be able to run
92  // decoding in online HLT framework (which uses TrigByteStreamCnvSvc)
93  Gaudi::Property<bool> m_enableEncoding{
94  this, "enableEncoding", true, "Enable conversion from RDO to ByteStream"};
95  SmartIF<IByteStreamCnvSvc> m_byteStreamCnvSvc;
96 
97  struct LocalData
98  {
100  int coreOverlap = 0;
102  unsigned int rodErr = 0;
104  std::vector<int> energyVec;
106  std::vector<int> isolVec;
108  std::vector<int> errorVec;
110  std::vector<unsigned int> presenceMapVec;
112  std::vector<unsigned int> hitsVec0;
114  std::vector<unsigned int> hitsVec1;
116  std::vector<int> errVec0;
118  std::vector<int> errVec1;
120  std::vector<int> emVec;
122  std::vector<int> hadVec;
124  std::vector<int> emErrVec;
126  std::vector<int> hadErrVec;
129  };
130 
132 
136  typedef std::map<unsigned int, LVL1::CPMTower*> CpmTowerMap;
137  typedef std::map<unsigned int, const LVL1::CPMTower*> ConstCpmTowerMap;
138  typedef std::map<int, LVL1::CMXCPTob*> CmxCpTobMap;
139  typedef std::map<int, const LVL1::CMXCPTob*> ConstCmxCpTobMap;
140  typedef std::map<int, LVL1::CMXCPHits*> CmxCpHitsMap;
141  typedef std::map<int, const LVL1::CMXCPHits*> ConstCmxCpHitsMap;
142  typedef IROBDataProviderSvc::VROBFRAG::const_iterator ROBIterator;
145 
147  {
149  : m_collection(collection){}
151  };
153  {
154  CpmTowerData (CpmTowerCollection* const ttCollection)
155  : CpByteStreamToolData (CPM_TOWERS), m_ttCollection (ttCollection) {}
158  };
160  {
161  CmxCpTobData (CmxCpTobCollection* const tobCollection)
162  : CpByteStreamToolData (CMX_CP_TOBS), m_tobCollection (tobCollection) {}
165  };
167  {
168  CmxCpHitsData (CmxCpHitsCollection* const hitCollection)
169  : CpByteStreamToolData (CMX_CP_HITS), m_hitCollection (hitCollection) {}
172  };
173 
175  std::vector<uint32_t> makeSourceIDs() const;
176 
178  StatusCode convertBs(const std::string& sgKey,
179  const IROBDataProviderSvc::VROBFRAG& robFrags,
180  CpByteStreamToolData& data) const;
182  void decodeCmxCp(CmxCpSubBlock* subBlock, int trigCpm, CpByteStreamToolData& data,
183  LocalData& ld) const;
185  void decodeCpm(CpmSubBlockV2* subBlock, int trigCpm, CpmTowerData& data,
186  LocalData& ld) const;
187 
189  const LVL1::CPMTower* findCpmTower(unsigned int key,
190  const ConstCpmTowerMap& ttMap) const;
191  LVL1::CPMTower* findCpmTower(const CpmTowerData& data, unsigned int key) const;
193  const LVL1::CMXCPTob* findCmxCpTob(int key,
194  const ConstCmxCpTobMap& tobMap) const;
195  LVL1::CMXCPTob* findCmxCpTob(const CmxCpTobData& data, int key) const;
197  const LVL1::CMXCPHits* findCmxCpHits(int key,
198  const ConstCmxCpHitsMap& hitsMap) const;
199  LVL1::CMXCPHits* findCmxCpHits(const CmxCpHitsData& data, int key) const;
200 
202  void setupCpmTowerMap(const CpmTowerCollection* ttCollection,
203  ConstCpmTowerMap& ttMap,
204  LVL1::TriggerTowerKey& towerKey) const;
206  void setupCmxCpTobMap(const CmxCpTobCollection* tobCollection,
207  ConstCmxCpTobMap& tobMap) const;
209  void setupCmxCpHitsMap(const CmxCpHitsCollection* hitCollection,
210  ConstCmxCpHitsMap& hitsMap) const;
211 
213  int tobKey(int crate, int cmx, int cpm, int chip, int loc) const;
215  int hitsKey(int crate, int cmx, int source) const;
216 
218  bool slinkSlices(int crate, int module, int modulesPerSlink,
219  int& timeslices, int& trigJem,
220  const ConstCpmTowerMap& ttMap,
221  const ConstCmxCpTobMap& tobMap,
222  const ConstCmxCpHitsMap& hitsMap,
223  LVL1::TriggerTowerKey& towerKey) const;
224 
226  ToolHandle<LVL1::IL1CaloMappingTool> m_cpmMaps;
228  ToolHandle<LVL1BS::L1CaloErrorByteStreamTool> m_errorTool;
239  const int m_channels;
241  int m_crates;
243  const int m_modules;
245  const int m_cmxs;
247  const int m_maxTobs;
249  const int m_chips;
251  const int m_locs;
253  int m_slinks;
263  const eformat::SubDetector m_subDetector;
267  std::vector<uint32_t> m_sourceIDsProp;
268 };
269 
270 } // end namespace
271 
272 #endif
LVL1BS::CpByteStreamV2Tool::CmxCpHitsData::m_hitCollection
CmxCpHitsCollection *const m_hitCollection
Definition: CpByteStreamV2Tool.h:170
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
LVL1BS::CpByteStreamV2Tool::CmxCpTobData::m_tobMap
CmxCpTobMap m_tobMap
Definition: CpByteStreamV2Tool.h:164
LVL1BS::CpByteStreamV2Tool::LocalData::hadVec
std::vector< int > hadVec
Had data vector for unpacking.
Definition: CpByteStreamV2Tool.h:122
LVL1BS::CpByteStreamV2Tool::CollectionType
CollectionType
Definition: CpByteStreamV2Tool.h:131
LVL1BS::CpByteStreamV2Tool::LocalData::errorVec
std::vector< int > errorVec
TOB error vector for unpacking.
Definition: CpByteStreamV2Tool.h:108
LVL1BS::CpByteStreamV2Tool::LocalData::errVec1
std::vector< int > errVec1
Error1 vector for unpacking.
Definition: CpByteStreamV2Tool.h:118
LVL1BS::CpByteStreamV2Tool::m_enableEncoding
Gaudi::Property< bool > m_enableEncoding
Definition: CpByteStreamV2Tool.h:93
LVL1BS::CpByteStreamV2Tool
Tool to perform ROB fragments to CPM towers, CMX-CP TOBs and CMX-CP hits, and CP container to raw dat...
Definition: CpByteStreamV2Tool.h:54
LVL1BS::CpByteStreamV2Tool::decodeCpm
void decodeCpm(CpmSubBlockV2 *subBlock, int trigCpm, CpmTowerData &data, LocalData &ld) const
Unpack CPM sub-block.
Definition: CpByteStreamV2Tool.cxx:960
FullEventAssembler
Template class for assembling a full atlas raw event from subfragments.
Definition: FullEventAssembler.h:40
LVL1BS::CpByteStreamV2Tool::CmxCpTobData::CmxCpTobData
CmxCpTobData(CmxCpTobCollection *const tobCollection)
Definition: CpByteStreamV2Tool.h:161
LVL1BS::CpByteStreamV2Tool::findCpmTower
const LVL1::CPMTower * findCpmTower(unsigned int key, const ConstCpmTowerMap &ttMap) const
Find a CPM tower for given key.
Definition: CpByteStreamV2Tool.cxx:1129
LVL1BS::CpByteStreamV2Tool::m_crateOffsetHw
int m_crateOffsetHw
Property: Hardware crate number offset.
Definition: CpByteStreamV2Tool.h:231
LVL1BS::CpByteStreamV2Tool::CpmTowerMap
std::map< unsigned int, LVL1::CPMTower * > CpmTowerMap
Definition: CpByteStreamV2Tool.h:136
LVL1BS::L1CaloSrcIdMap
This class provides conversion between Lower level Source ID to higher level source ID for L1Calo Byt...
Definition: L1CaloSrcIdMap.h:24
LVL1BS::CpByteStreamV2Tool::CmxCpTobMap
std::map< int, LVL1::CMXCPTob * > CmxCpTobMap
Definition: CpByteStreamV2Tool.h:138
LVL1BS::CpByteStreamV2Tool::interfaceID
static const InterfaceID & interfaceID()
AlgTool InterfaceID.
Definition: CpByteStreamV2Tool.cxx:42
LVL1BS::CpByteStreamV2Tool::CPM_TOWERS
@ CPM_TOWERS
Definition: CpByteStreamV2Tool.h:131
LVL1BS::CpByteStreamV2Tool::LocalData::hitsVec1
std::vector< unsigned int > hitsVec1
Hits1 vector for unpacking.
Definition: CpByteStreamV2Tool.h:114
TriggerTowerKey.h
LVL1BS::CpByteStreamV2Tool::LocalData::energyVec
std::vector< int > energyVec
Energy vector for unpacking.
Definition: CpByteStreamV2Tool.h:104
LVL1BS::CpByteStreamV2Tool::findCmxCpTob
const LVL1::CMXCPTob * findCmxCpTob(int key, const ConstCmxCpTobMap &tobMap) const
Find CMX-CP TOB for given key.
Definition: CpByteStreamV2Tool.cxx:1148
LVL1BS::CpByteStreamV2Tool::CmxCpTobData::m_tobCollection
CmxCpTobCollection *const m_tobCollection
Definition: CpByteStreamV2Tool.h:163
xAOD::CMXCPTob
CMXCPTob_v1 CMXCPTob
Define the latest version of the CMXCPTob class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CMXCPTob.h:17
LVL1BS::CpByteStreamV2Tool::m_errorTool
ToolHandle< LVL1BS::L1CaloErrorByteStreamTool > m_errorTool
Error collection tool.
Definition: CpByteStreamV2Tool.h:228
LVL1::CMXCPHits
Summary of CP (EM/tau) hits produced by the merger modules.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPHits.h:24
LVL1BS::CpByteStreamV2Tool::CMX_CP_HITS
@ CMX_CP_HITS
Definition: CpByteStreamV2Tool.h:131
LVL1BS::CpByteStreamV2Tool::LocalData::emVec
std::vector< int > emVec
EM data vector for unpacking.
Definition: CpByteStreamV2Tool.h:120
LVL1BS::CpByteStreamV2Tool::ROBIterator
IROBDataProviderSvc::VROBFRAG::const_iterator ROBIterator
Definition: CpByteStreamV2Tool.h:142
LVL1BS::CpByteStreamV2Tool::CmxCpTobData
Definition: CpByteStreamV2Tool.h:160
LVL1BS::CpByteStreamV2Tool::m_subDetector
const eformat::SubDetector m_subDetector
Sub-detector type.
Definition: CpByteStreamV2Tool.h:263
LVL1BS::CpByteStreamV2Tool::makeSourceIDs
std::vector< uint32_t > makeSourceIDs() const
Create list of all source IDs.
Definition: CpByteStreamV2Tool.cxx:491
LVL1BS::CpByteStreamV2Tool::LocalData::emErrVec
std::vector< int > emErrVec
EM error data vector for unpacking.
Definition: CpByteStreamV2Tool.h:124
LVL1BS::CpmSubBlockV2
Sub-Block class for CPM data post LS1.
Definition: CpmSubBlockV2.h:23
LVL1BS::CpByteStreamV2Tool::LocalData::errVec0
std::vector< int > errVec0
Error0 vector for unpacking.
Definition: CpByteStreamV2Tool.h:116
xAOD::CPMTower
CPMTower_v2 CPMTower
Define the latest version of the CPMTower class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CPMTower.h:16
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1BS::CpByteStreamV2Tool::CpmTowerData::m_ttCollection
CpmTowerCollection *const m_ttCollection
Definition: CpByteStreamV2Tool.h:156
LVL1BS::CpByteStreamV2Tool::m_robDataProvider
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
Definition: CpByteStreamV2Tool.h:229
LVL1BS::CpByteStreamV2Tool::m_crateMin
int m_crateMin
Property: Minimum crate number when writing out bytestream.
Definition: CpByteStreamV2Tool.h:259
xAOD::CMXCPHits
CMXCPHits_v1 CMXCPHits
Define the latest version of the CMMCPHits class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CMXCPHits.h:17
LVL1::CPBSCollectionV2
Cluster Processor container for writing bytestream.
Definition: CPBSCollectionV2.h:24
LVL1BS::CpByteStreamV2Tool::m_crates
int m_crates
Property: Number of crates.
Definition: CpByteStreamV2Tool.h:241
LVL1BS::CpByteStreamV2Tool::m_cmxs
const int m_cmxs
Number of CMXs per crate.
Definition: CpByteStreamV2Tool.h:245
LVL1BS::CpByteStreamV2Tool::m_srcIdMap
const L1CaloSrcIdMap m_srcIdMap
Source ID converter.
Definition: CpByteStreamV2Tool.h:265
python.PyAthena.module
module
Definition: PyAthena.py:131
OFFLINE_FRAGMENTS_NAMESPACE::PointerType
const DataType * PointerType
Definition: RawEvent.h:25
LVL1::CPMTower
The CPMTower class contains the TriggerTower information received by the Cluster Processor Modules.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CPMTower.h:36
LVL1BS::CpByteStreamV2Tool::m_forceSlices
int m_forceSlices
Property: Force number of slices in bytestream.
Definition: CpByteStreamV2Tool.h:257
LVL1BS::CpByteStreamV2Tool::slinkSlices
bool slinkSlices(int crate, int module, int modulesPerSlink, int &timeslices, int &trigJem, const ConstCpmTowerMap &ttMap, const ConstCmxCpTobMap &tobMap, const ConstCmxCpHitsMap &hitsMap, LVL1::TriggerTowerKey &towerKey) const
Get number of slices and triggered slice offset for next slink.
Definition: CpByteStreamV2Tool.cxx:1270
LVL1BS::CpByteStreamV2Tool::CpmTowerCollection
DataVector< LVL1::CPMTower > CpmTowerCollection
Definition: CpByteStreamV2Tool.h:133
LVL1BS::CpByteStreamV2Tool::convertBs
StatusCode convertBs(const std::string &sgKey, const IROBDataProviderSvc::VROBFRAG &robFrags, CpByteStreamToolData &data) const
Convert bytestream to given container type.
Definition: CpByteStreamV2Tool.cxx:524
LVL1BS::CpByteStreamV2Tool::CmxCpHitsData::m_hitsMap
CmxCpHitsMap m_hitsMap
Definition: CpByteStreamV2Tool.h:171
RawEvent.h
LVL1BS::CpByteStreamV2Tool::LocalData::hitsVec0
std::vector< unsigned int > hitsVec0
Hits0 vector for unpacking.
Definition: CpByteStreamV2Tool.h:112
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LVL1BS::CpByteStreamV2Tool::LocalData
Definition: CpByteStreamV2Tool.h:98
AthAlgTool.h
LVL1BS::CpByteStreamV2Tool::initialize
virtual StatusCode initialize() override
Definition: CpByteStreamV2Tool.cxx:103
LVL1BS::CpByteStreamV2Tool::m_maxTobs
const int m_maxTobs
Maximum number of TOBS per module.
Definition: CpByteStreamV2Tool.h:247
LVL1BS::CpByteStreamV2Tool::CmxCpTobCollection
DataVector< LVL1::CMXCPTob > CmxCpTobCollection
Definition: CpByteStreamV2Tool.h:134
LVL1BS::CpByteStreamV2Tool::convert
StatusCode convert(const std::string &sgKey, DataVector< LVL1::CPMTower > *ttCollection) const
Convert ROB fragments to CPM towers.
Definition: CpByteStreamV2Tool.cxx:119
LVL1BS::CpByteStreamV2Tool::m_chips
const int m_chips
Number of chips.
Definition: CpByteStreamV2Tool.h:249
LVL1BS::CpByteStreamV2Tool::setupCmxCpTobMap
void setupCmxCpTobMap(const CmxCpTobCollection *tobCollection, ConstCmxCpTobMap &tobMap) const
Set up CMX-CP TOB map.
Definition: CpByteStreamV2Tool.cxx:1206
LVL1BS::CpByteStreamV2Tool::~CpByteStreamV2Tool
virtual ~CpByteStreamV2Tool()
Definition: CpByteStreamV2Tool.cxx:96
test_pyathena.parent
parent
Definition: test_pyathena.py:15
LVL1BS::CpByteStreamV2Tool::setupCmxCpHitsMap
void setupCmxCpHitsMap(const CmxCpHitsCollection *hitCollection, ConstCmxCpHitsMap &hitsMap) const
Set up CMX-CP hits map.
Definition: CpByteStreamV2Tool.cxx:1231
LVL1BS::CpByteStreamV2Tool::CpByteStreamToolData::m_collection
const CollectionType m_collection
Definition: CpByteStreamV2Tool.h:150
LVL1BS::CpByteStreamV2Tool::CmxCpHitsData::CmxCpHitsData
CmxCpHitsData(CmxCpHitsCollection *const hitCollection)
Definition: CpByteStreamV2Tool.h:168
LVL1BS::CmxCpSubBlock
Sub-Block class for CMX-CP data post LS1.
Definition: CmxCpSubBlock.h:23
IROBDataProviderSvc::VROBFRAG
std::vector< const ROBF * > VROBFRAG
Definition: IROBDataProviderSvc.h:27
LVL1BS::CpByteStreamV2Tool::findCmxCpHits
const LVL1::CMXCPHits * findCmxCpHits(int key, const ConstCmxCpHitsMap &hitsMap) const
Find CMX-CP hits for given key.
Definition: CpByteStreamV2Tool.cxx:1167
LVL1BS::CpByteStreamV2Tool::decodeCmxCp
void decodeCmxCp(CmxCpSubBlock *subBlock, int trigCpm, CpByteStreamToolData &data, LocalData &ld) const
Unpack CMX-CP sub-block.
Definition: CpByteStreamV2Tool.cxx:733
LVL1BS::CpByteStreamV2Tool::ConstCmxCpTobMap
std::map< int, const LVL1::CMXCPTob * > ConstCmxCpTobMap
Definition: CpByteStreamV2Tool.h:139
DataVector< LVL1::CPMTower >
LVL1BS::CpByteStreamV2Tool::m_channels
const int m_channels
Number of channels per module.
Definition: CpByteStreamV2Tool.h:239
LVL1BS::CpByteStreamV2Tool::LocalData::rodErr
unsigned int rodErr
Unpacking error code.
Definition: CpByteStreamV2Tool.h:102
LVL1BS::CpByteStreamV2Tool::CpByteStreamToolData
Definition: CpByteStreamV2Tool.h:147
LVL1BS::CpByteStreamV2Tool::LocalData::hadErrVec
std::vector< int > hadErrVec
Had error data vector for unpacking.
Definition: CpByteStreamV2Tool.h:126
LVL1BS::CpByteStreamV2Tool::ConstCpmTowerMap
std::map< unsigned int, const LVL1::CPMTower * > ConstCpmTowerMap
Definition: CpByteStreamV2Tool.h:137
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
LVL1BS::CpByteStreamV2Tool::ConstCmxCpHitsMap
std::map< int, const LVL1::CMXCPHits * > ConstCmxCpHitsMap
Definition: CpByteStreamV2Tool.h:141
LArNewCalib_PedestalAutoCorr.cp
cp
Definition: LArNewCalib_PedestalAutoCorr.py:188
LVL1BS::CpByteStreamV2Tool::RODPointer
OFFLINE_FRAGMENTS_NAMESPACE::PointerType RODPointer
Definition: CpByteStreamV2Tool.h:144
LVL1BS::CpByteStreamV2Tool::m_locs
const int m_locs
Number of Local coordinates.
Definition: CpByteStreamV2Tool.h:251
LVL1BS::CpByteStreamV2Tool::m_crateOffsetSw
int m_crateOffsetSw
Property: Software crate number offset.
Definition: CpByteStreamV2Tool.h:233
LVL1BS::CpByteStreamV2Tool::CpByteStreamV2Tool
CpByteStreamV2Tool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: CpByteStreamV2Tool.cxx:49
LVL1BS::CpByteStreamV2Tool::LocalData::presenceMapVec
std::vector< unsigned int > presenceMapVec
Presence map vector for unpacking.
Definition: CpByteStreamV2Tool.h:110
LVL1BS::CpByteStreamV2Tool::LocalData::towerKey
LVL1::TriggerTowerKey towerKey
Trigger tower key provider.
Definition: CpByteStreamV2Tool.h:128
LVL1BS::CpByteStreamV2Tool::CpmTowerData::CpmTowerData
CpmTowerData(CpmTowerCollection *const ttCollection)
Definition: CpByteStreamV2Tool.h:154
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LVL1BS::CpByteStreamV2Tool::m_slinks
int m_slinks
Property: Number of slinks per crate when writing out bytestream.
Definition: CpByteStreamV2Tool.h:253
LVL1BS::CpByteStreamV2Tool::m_modules
const int m_modules
Number of CPM modules per crate.
Definition: CpByteStreamV2Tool.h:243
LVL1BS::CpByteStreamV2Tool::m_dataFormat
int m_dataFormat
Property: Data compression format.
Definition: CpByteStreamV2Tool.h:237
LVL1BS::CpByteStreamV2Tool::CpmTowerData::m_ttMap
CpmTowerMap m_ttMap
Definition: CpByteStreamV2Tool.h:157
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
LVL1BS::CpByteStreamV2Tool::CmxCpHitsMap
std::map< int, LVL1::CMXCPHits * > CmxCpHitsMap
Definition: CpByteStreamV2Tool.h:140
LVL1BS
Definition: ZdcModifySlices.h:10
LVL1BS::CpByteStreamV2Tool::m_crateMax
int m_crateMax
Property: Maximum crate number when writing out bytestream.
Definition: CpByteStreamV2Tool.h:261
LVL1BS::CpByteStreamV2Tool::m_cpmMaps
ToolHandle< LVL1::IL1CaloMappingTool > m_cpmMaps
Channel mapping tool.
Definition: CpByteStreamV2Tool.h:226
LVL1BS::CpByteStreamV2Tool::CMX_CP_TOBS
@ CMX_CP_TOBS
Definition: CpByteStreamV2Tool.h:131
LVL1BS::CpByteStreamV2Tool::m_dfltSlices
int m_dfltSlices
Property: Default number of slices in simulation.
Definition: CpByteStreamV2Tool.h:255
L1CaloSrcIdMap.h
copySelective.source
string source
Definition: copySelective.py:32
LVL1BS::CpByteStreamV2Tool::CmxCpHitsData
Definition: CpByteStreamV2Tool.h:167
LVL1BS::CpByteStreamV2Tool::CmxCpHitsCollection
DataVector< LVL1::CMXCPHits > CmxCpHitsCollection
Definition: CpByteStreamV2Tool.h:135
LVL1BS::CpByteStreamV2Tool::CpmTowerData
Definition: CpByteStreamV2Tool.h:153
LVL1BS::CpByteStreamV2Tool::tobKey
int tobKey(int crate, int cmx, int cpm, int chip, int loc) const
Key for TOBs.
Definition: CpByteStreamV2Tool.cxx:1254
LVL1BS::CpByteStreamV2Tool::m_byteStreamCnvSvc
SmartIF< IByteStreamCnvSvc > m_byteStreamCnvSvc
Definition: CpByteStreamV2Tool.h:95
AthAlgTool
Definition: AthAlgTool.h:26
LVL1::CMXCPTob
TOB data received by the merger modules.
Definition: Trigger/TrigT1/TrigT1CaloEvent/TrigT1CaloEvent/CMXCPTob.h:24
IByteStreamCnvSvc.h
LVL1BS::CpByteStreamV2Tool::LocalData::isolVec
std::vector< int > isolVec
Isolation vector for unpacking.
Definition: CpByteStreamV2Tool.h:106
LVL1BS::CpByteStreamV2Tool::CpByteStreamToolData::CpByteStreamToolData
CpByteStreamToolData(const CollectionType collection)
Definition: CpByteStreamV2Tool.h:148
LVL1BS::CpByteStreamV2Tool::hitsKey
int hitsKey(int crate, int cmx, int source) const
Key for Hits.
Definition: CpByteStreamV2Tool.cxx:1262
LVL1BS::CpByteStreamV2Tool::sourceIDs
const std::vector< uint32_t > & sourceIDs() const
Return reference to vector with all possible Source Identifiers.
Definition: CpByteStreamV2Tool.cxx:516
geometry_dat_to_json.ld
ld
Definition: geometry_dat_to_json.py:32
LVL1BS::CpByteStreamV2Tool::setupCpmTowerMap
void setupCpmTowerMap(const CpmTowerCollection *ttCollection, ConstCpmTowerMap &ttMap, LVL1::TriggerTowerKey &towerKey) const
Set up CPM tower map.
Definition: CpByteStreamV2Tool.cxx:1185
LVL1::TriggerTowerKey
The TriggerTowerKey object provides the key for each trigger tower depending on its eta-phi coords.
Definition: TriggerTowerKey.h:56
LVL1BS::CpByteStreamV2Tool::m_sourceIDsProp
std::vector< uint32_t > m_sourceIDsProp
Property: ROB source IDs.
Definition: CpByteStreamV2Tool.h:267
IROBDataProviderSvc.h
LVL1BS::CpByteStreamV2Tool::ROBPointer
OFFLINE_FRAGMENTS_NAMESPACE::PointerType ROBPointer
Definition: CpByteStreamV2Tool.h:143
LVL1BS::CpByteStreamV2Tool::m_version
int m_version
Property: Sub_block header version.
Definition: CpByteStreamV2Tool.h:235
LVL1BS::CpByteStreamV2Tool::LocalData::coreOverlap
int coreOverlap
Tower channels to accept (1=Core, 2=Overlap)
Definition: CpByteStreamV2Tool.h:100
ServiceHandle< IROBDataProviderSvc >
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37