ATLAS Offline Software
Loading...
Searching...
No Matches
TestLArRodDecoder.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4*/
5
6#ifndef TrigT2CaloCommon_LARRODDECODERTEST_h
7#define TrigT2CaloCommon_LARRODDECODERTEST_h
8
9//#include "AthenaBaseComps/AthReentrantAlgorithm.h"
12
26
28 : public ::AthAlgorithm
29{
30 public:
31
32 TestLArRodDecoder( const std::string& name, ISvcLocator* pSvcLocator );
33 virtual ~TestLArRodDecoder();
34 virtual StatusCode initialize() override;
35 virtual StatusCode finalize() override;
36 virtual StatusCode execute(const EventContext& context) override;
37 private:
38 PublicToolHandle<LArRodDecoder> m_larDecoder { this, "LArDecoderTool", "LArRodDecoder/LArRodDecoder", "Tool to decode LAr raw data" };
39
40 //ToolHandle<GenericMonitoringTool> m_monTool{ this, "MonTool", "", "Tool to monitor performance of the service" };
41
42 ServiceHandle<IROBDataProviderSvc> m_robDataProvider{ this, "ROBDataProvider", "ROBDataProviderSvc/ROBDataProviderSvc", ""};
43 SG::ReadCondHandleKey<LArMCSym> m_mcsymKey {this, "MCSymKey", "LArMCSym", "SG Key of LArMCSym object"} ;
44 SG::ReadCondHandleKey<LArOnOffIdMapping> m_onOffIdMappingKey {this, "CablingKey", "LArOnOffIdMap", "SG Key for LArOnOffIdMapping"} ;
45 SG::ReadCondHandleKey<LArFebRodMapping> m_febRodMappingKey {this, "RodFebKey", "LArFebRodMap", "SG Key for LArFebRodMapping"} ;
46 SG::ReadCondHandleKey<LArBadChannelCont> m_bcContKey {this, "LArBadChannelKey", "LArBadChannel", "Key of the LArBadChannelCont CDO" };
47 SG::ReadCondHandleKey<LArRoIMap> m_larRoIMapKey {this, "LArRoIMapKey", "LArRoIMap", "Key of the LArRoIMap CDO" };
48 SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey {this, "CaloDetDescrManager", "CaloDetDescrManager", "SG Key for CaloDetDescrManager in the Condition Store" };
49 Gaudi::Property<std::vector<uint32_t> > m_vrodid32fullDet { this, "ROBIDs",{},"ROD IDs to play with" };
50 Gaudi::Property<bool> m_printOut{ this, "PrintDebug", false, "Print Debug" };
51 struct EventCache {
52 std::unique_ptr<LArCellCont> larContainer;
53 int count=0;
54 };
56 void lateInit(const EventContext& context );
57 mutable std::once_flag m_lateInitFlag;
58
59};
60
61#endif
Maintain a set of objects, one per slot.
Definition of CaloDetDescrManager.
Mapping between calorimeter trigger id to offline/online Identifier.
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Maintain a set of objects, one per slot.
ServiceHandle< IROBDataProviderSvc > m_robDataProvider
virtual StatusCode finalize() override
void lateInit(const EventContext &context)
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
std::once_flag m_lateInitFlag
Gaudi::Property< bool > m_printOut
Gaudi::Property< std::vector< uint32_t > > m_vrodid32fullDet
SG::SlotSpecificObj< EventCache > m_testSlot
virtual StatusCode initialize() override
SG::ReadCondHandleKey< LArFebRodMapping > m_febRodMappingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_onOffIdMappingKey
virtual StatusCode execute(const EventContext &context) override
Execute method.
PublicToolHandle< LArRodDecoder > m_larDecoder
SG::ReadCondHandleKey< LArMCSym > m_mcsymKey
TestLArRodDecoder(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
SG::ReadCondHandleKey< LArRoIMap > m_larRoIMapKey
std::unique_ptr< LArCellCont > larContainer