ATLAS Offline Software
RpcCalibRawDataProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONCALIBSTREAM_RPCCALIBRAWDATAPROVIDER_H
5 #define MUONCALIBSTREAM_RPCCALIBRAWDATAPROVIDER_H
6 
7 #include <string>
8 #include <stdint.h>
9 #include <map>
10 
13 #include "GaudiKernel/Converter.h"
14 #include "GaudiKernel/ServiceHandle.h"
15 #include "GaudiKernel/ToolHandle.h"
20 #include "StoreGate/WriteHandle.h"
21 #include "StoreGate/DataHandle.h"
23 
28 #include "MuonRDO/RpcCoinMatrix.h"
32 
33 class StatusCode;
34 
35 
36 using namespace LVL2_MUON_CALIBRATION;
37 
39 
40  public:
42  RpcCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
43 
45  virtual StatusCode initialize() override;
46 
48  virtual StatusCode execute(const EventContext &ctx) const override;
49 
52 
53  private:
54 
55 
56  StatusCode decodeImpl(const EventContext& ctx, RpcPadContainer *m_padContainer, const CalibEvent *event) const ;
57 
58  ServiceHandle<IMuonCalibStreamDataProviderSvc> m_dataProvider{this,"DataProviderSvc","MuonCalibStreamDataProviderSvc"};
59 
60  // /** MuonDetectorManager from the conditions store */
61  SG::ReadCondHandleKey<MuonGM::MuonDetectorManager> m_detectorManagerKey{this, "DetectorManagerKey", "MuonDetectorManager",
62  "Key of input MuonDetectorManager condition data"};
63 
64  ServiceHandle<Muon::IMuonIdHelperSvc> m_muonIdHelper{this, "MuonIdHelper", "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
65  "Handle to the MuonIdHelperSvc"};
66 
67  SG::WriteHandleKey<RpcPadContainer> m_rdoContainerKey{this, "RDOContainer", "RPCPAD"};
68 
69  SG::ReadCondHandleKey<RpcCablingCondData> m_rpcReadKey{this, "RpcCablingKey", "RpcCablingCondData", "Key of RpcCablingCondData"};
70 
71 
72 };
73 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
RpcCoinDataContainer.h
LVL2_MUON_CALIBRATION
Definition: MuCalStreamerTool.h:37
IMuonCalibStreamDataProviderSvc.h
initialize
void initialize()
Definition: run_EoverP.cxx:894
WriteCondHandleKey.h
MuonPrepDataContainer.h
DataHandle.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
WriteHandle.h
Handle class for recording to StoreGate.
SG::WriteHandleKey< RpcPadContainer >
event
POOL::TEvent event(POOL::TEvent::kClassAccess)
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadCondHandleKey.h
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MuonDetectorManager.h
EventInfo.h
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager >
RpcCablingCondData.h
AthMessaging.h
RpcPadContainer.h
RpcCalibRawDataProvider
Definition: RpcCalibRawDataProvider.h:38
IMuonIdHelperSvc.h
RpcCoinMatrix.h
RpcCalibRawDataProvider::~RpcCalibRawDataProvider
~RpcCalibRawDataProvider()=default
Destructur.
ServiceHandle< Muon::IMuonIdHelperSvc >
RpcPadContainer
Use IdentifiableContainer with RpcPad.
Definition: RpcPadContainer.h:23