ATLAS Offline Software
EventInfoCalibRawDataProvider.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MUONCALIBSTREAM_EVENTINFOCALIBRAWDATAPROVIDER_H
5 #define MUONCALIBSTREAM_EVENTINFOCALIBRAWDATAPROVIDER_H
6 
7 #include <stdint.h>
8 #include <string>
9 #include <map>
10 
17 #include "StoreGate/WriteHandle.h"
18 #include "StoreGate/DataHandle.h"
19 #include "MuCalDecode/CalibData.h"
20 #include "MuCalDecode/CalibEvent.h"
21 #include "MuCalDecode/CalibUti.h"
22 #include "GaudiKernel/Converter.h"
26 //#include "MuonCalibStreamCnvSvc/MuonCalibRunLumiBlockCoolSvc.h"
27 
28 class StatusCode;
29 //class MuonCalibRunLumiBlockCoolSvc;
30 
31 
33 
34  public:
36  EventInfoCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
37 
39  virtual StatusCode initialize() override;
40 
42  virtual StatusCode execute(const EventContext &ctx) const override;
43 
46 
47  private:
48 
49  ServiceHandle<IMuonCalibStreamDataProviderSvc> m_dataProvider{this,"DataProviderSvc","MuonCalibStreamDataProviderSvc"};
50 
51  //ServiceHandle<MuonCalibRunLumiBlockCoolSvc> m_lumiBlockCoolSvc{this,"MuonCalibRunLumiBlockCoolSvc", "MuonCalibRunLumiBlockCoolSvc"};
52 
53  SG::WriteHandleKey<xAOD::EventInfo> m_eventInfoKey {this, "OutputEventInfo", "MuonCalibStreamxAODEventInfo"};
54 
55  Gaudi::Property<bool> m_lumi_block_number_from_cool {this, "lb_from_cool", true};
56 
57 };
58 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
IMuonCalibStreamDataProviderSvc.h
WriteCondHandleKey.h
EventInfoCalibRawDataProvider
Definition: EventInfoCalibRawDataProvider.h:32
EventInfoCalibRawDataProvider::m_eventInfoKey
SG::WriteHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: EventInfoCalibRawDataProvider.h:53
DataHandle.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:74
EventInfoCalibRawDataProvider::EventInfoCalibRawDataProvider
EventInfoCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: EventInfoCalibRawDataProvider.cxx:34
WriteHandle.h
Handle class for recording to StoreGate.
SG::WriteHandleKey< xAOD::EventInfo >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadCondHandleKey.h
AthReentrantAlgorithm.h
EventInfoCalibRawDataProvider::m_lumi_block_number_from_cool
Gaudi::Property< bool > m_lumi_block_number_from_cool
Definition: EventInfoCalibRawDataProvider.h:55
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
EventAuxInfo.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
EventInfo.h
EventInfoCalibRawDataProvider::~EventInfoCalibRawDataProvider
~EventInfoCalibRawDataProvider()=default
Destructur.
EventInfoCalibRawDataProvider::execute
virtual StatusCode execute(const EventContext &ctx) const override
Execute.
Definition: EventInfoCalibRawDataProvider.cxx:50
AthMessaging.h
EventInfoCalibRawDataProvider::m_dataProvider
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataProvider
Definition: EventInfoCalibRawDataProvider.h:49
ServiceHandle< IMuonCalibStreamDataProviderSvc >
EventInfoCalibRawDataProvider::initialize
virtual StatusCode initialize() override
Initialize.
Definition: EventInfoCalibRawDataProvider.cxx:37