ATLAS Offline Software
Loading...
Searching...
No Matches
ZdcByteStreamTester.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 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#include "Gaudi/Property.h"
24
25class ISvcLocator;
26class StatusCode;
27
28class ZdcDigits;
30
32{
33public:
34 ZdcByteStreamTester(const std::string& name, ISvcLocator* pSvcLocator);
35
36 virtual StatusCode execute(const EventContext& ctx) override;
37
38private:
39 typedef std::map<unsigned int, const ZdcDigits*> ZdcDigitsMap;
40
41 void printVec(const std::vector<int>& vec) const;
42 void printZdcDigits() const;
43
46 Gaudi::Property<std::string> m_ZdcDigitsLocation{this, "ZdcDigitsLocation", ZdcDefs::ZdcDigitsLocation};
48
49 void setupZdcDigitsMap(const ZdcDigitsCollection* jeCollection);
50
53 Gaudi::Property<int> m_forceSlicesLut{this, "ForceSlicesLUT", 0};
56 Gaudi::Property<int> m_forceSlicesFadc{this, "ForceSlicesFADC", 0};
58};
59
60#endif /* ZDCBYTESTREAMTESTER_H_ */
std::vector< size_t > vec
An STL vector of pointers that by default owns its pointed-to elements.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
std::string m_ZdcDigitsCollectionLocation
Gaudi::Property< int > m_forceSlicesLut
REMOVE Force number of LUT slices REMOVE.
ZdcByteStreamTester(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< int > m_forceSlicesFadc
REMOVE Force number of FADC slices REMOVE.
std::map< unsigned int, const ZdcDigits * > ZdcDigitsMap
void setupZdcDigitsMap(const ZdcDigitsCollection *jeCollection)
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Gaudi::Property< std::string > m_ZdcDigitsLocation
ZDC Container and collection StoreGate key.
void printVec(const std::vector< int > &vec) const
static const std::string ZdcDigitsLocation
Definition ZdcDefs.h:19
::StatusCode StatusCode
StatusCode definition for legacy code.