ATLAS Offline Software
ZdcByteStreamTester.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  * ZdcByteStreamTester.h
7  *
8  * Created on: Jun 29, 2009
9  * Author: leite
10  *
11  *
12  */
13 
14 #ifndef ZDCBYTESTREAMTESTER_H_
15 #define ZDCBYTESTREAMTESTER_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  ZdcByteStreamTester(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 /* ZDCBYTESTREAMTESTER_H_ */
ZdcByteStreamTester::m_ZdcDigitsMap
ZdcDigitsMap m_ZdcDigitsMap
Definition: ZdcByteStreamTester.h:55
ZdcByteStreamTester::execute
virtual StatusCode execute() override
Definition: ZdcByteStreamTester.cxx:47
ZdcByteStreamTester::m_forceSlicesFadc
int m_forceSlicesFadc
REMOVE Force number of FADC slices REMOVE.
Definition: ZdcByteStreamTester.h:54
ZdcByteStreamTester::printVec
void printVec(const std::vector< int > &vec) const
Definition: ZdcByteStreamTester.cxx:81
ZdcDigits
Definition: ZdcDigits.h:28
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
ZdcByteStreamTester::m_ZdcDigitsLocation
std::string m_ZdcDigitsLocation
ZDC Container and collection StoreGate key.
Definition: ZdcByteStreamTester.h:44
AthAlgorithm.h
ZdcByteStreamTester::printZdcDigits
void printZdcDigits() const
Definition: ZdcByteStreamTester.cxx:71
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ZdcByteStreamTester::ZdcDigitsMap
std::map< unsigned int, const ZdcDigits * > ZdcDigitsMap
Definition: ZdcByteStreamTester.h:37
AthAlgorithm
Definition: AthAlgorithm.h:47
ZdcByteStreamTester
Definition: ZdcByteStreamTester.h:30
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
ZdcByteStreamTester::ZdcByteStreamTester
ZdcByteStreamTester(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ZdcByteStreamTester.cxx:35
ZdcByteStreamTester::setupZdcDigitsMap
void setupZdcDigitsMap(const ZdcDigitsCollection *jeCollection)
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
ZdcByteStreamTester::m_ZdcDigitsCollectionLocation
std::string m_ZdcDigitsCollectionLocation
Definition: ZdcByteStreamTester.h:45
ZdcDigitsCollection
Definition: ZdcDigitsCollection.h:20
ZdcByteStreamTester::m_forceSlicesLut
int m_forceSlicesLut
REMOVE Force number of LUT slices REMOVE.
Definition: ZdcByteStreamTester.h:51