ATLAS Offline Software
EventInfoCalibRawDataProvider.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_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 using namespace LVL2_MUON_CALIBRATION;
32 
34 
35  public:
37  EventInfoCalibRawDataProvider(const std::string &name, ISvcLocator *pSvcLocator);
38 
40  virtual StatusCode initialize() override;
41 
43  virtual StatusCode execute(const EventContext &ctx) const override;
44 
47 
48  private:
49 
50  ServiceHandle<IMuonCalibStreamDataProviderSvc> m_dataProvider{this,"DataProviderSvc","MuonCalibStreamDataProviderSvc"};
51 
52  //ServiceHandle<MuonCalibRunLumiBlockCoolSvc> m_lumiBlockCoolSvc{this,"MuonCalibRunLumiBlockCoolSvc", "MuonCalibRunLumiBlockCoolSvc"};
53 
54  SG::WriteHandleKey<xAOD::EventInfo> m_eventInfoKey {this, "OutputEventInfo", "MuonCalibStreamxAODEventInfo"};
55 
56  Gaudi::Property<bool> m_lumi_block_number_from_cool {this, "lb_from_cool", true};
57 
58 };
59 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
LVL2_MUON_CALIBRATION
Definition: MuCalStreamerTool.h:37
IMuonCalibStreamDataProviderSvc.h
initialize
void initialize()
Definition: run_EoverP.cxx:894
WriteCondHandleKey.h
EventInfoCalibRawDataProvider
Definition: EventInfoCalibRawDataProvider.h:33
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< xAOD::EventInfo >
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.
EventAuxInfo.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
EventInfo.h
EventInfoCalibRawDataProvider::~EventInfoCalibRawDataProvider
~EventInfoCalibRawDataProvider()=default
Destructur.
AthMessaging.h
ServiceHandle< IMuonCalibStreamDataProviderSvc >