ATLAS Offline Software
ZdcByteStreamRawData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /*
6  * ZdcByteStreamRawData.h
7  *
8  * Created on: Jun 29, 2009
9  * Author: leite
10  *
11  *
12  */
13 
14 #ifndef ZDCBYTESTREAMRAWDATA_H_
15 #define ZDCBYTESTREAMRAWDATA_H_
16 
17 #include <map>
18 #include <string>
19 
22 
23 class ISvcLocator;
24 class StatusCode;
25 
26 class ZdcDigits;
28 
30 {
31 public:
32  ZdcByteStreamRawData(const std::string& name, ISvcLocator* pSvcLocator);
33 
34  virtual StatusCode execute() override;
35 
36 private:
37  typedef std::map<unsigned int, const ZdcDigits*> ZdcDigitsMap;
38 
39  void printVec(const std::vector<int>& vec) const;
40  void printZdcDigits() const;
41 
44  std::string m_ZdcDigitsLocation;
46 
47  void setupZdcDigitsMap(const ZdcDigitsCollection* jeCollection);
48 
56 };
57 
58 #endif /* ZDCBYTESTREAMRAWDATA_H_ */
ZdcByteStreamRawData::execute
virtual StatusCode execute() override
Definition: ZdcByteStreamRawData.cxx:45
ZdcByteStreamRawData
Definition: ZdcByteStreamRawData.h:30
ZdcDigits
Definition: ZdcDigits.h:28
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
ZdcByteStreamRawData::m_ZdcDigitsCollectionLocation
std::string m_ZdcDigitsCollectionLocation
Definition: ZdcByteStreamRawData.h:45
ZdcByteStreamRawData::m_forceSlicesLut
int m_forceSlicesLut
REMOVE Force number of LUT slices REMOVE.
Definition: ZdcByteStreamRawData.h:51
AthAlgorithm.h
ZdcByteStreamRawData::setupZdcDigitsMap
void setupZdcDigitsMap(const ZdcDigitsCollection *jeCollection)
ZdcByteStreamRawData::printVec
void printVec(const std::vector< int > &vec) const
Definition: ZdcByteStreamRawData.cxx:83
ZdcByteStreamRawData::printZdcDigits
void printZdcDigits() const
Definition: ZdcByteStreamRawData.cxx:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZdcByteStreamRawData::m_ZdcDigitsLocation
std::string m_ZdcDigitsLocation
ZDC Container and collection StoreGate key.
Definition: ZdcByteStreamRawData.h:44
ZdcByteStreamRawData::m_ZdcDigitsMap
ZdcDigitsMap m_ZdcDigitsMap
Definition: ZdcByteStreamRawData.h:55
ZdcByteStreamRawData::m_forceSlicesFadc
int m_forceSlicesFadc
REMOVE Force number of FADC slices REMOVE.
Definition: ZdcByteStreamRawData.h:54
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
ZdcByteStreamRawData::ZdcByteStreamRawData
ZdcByteStreamRawData(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ZdcByteStreamRawData.cxx:34
ZdcDigitsCollection
Definition: ZdcDigitsCollection.h:20
ZdcByteStreamRawData::ZdcDigitsMap
std::map< unsigned int, const ZdcDigits * > ZdcDigitsMap
Definition: ZdcByteStreamRawData.h:37