ATLAS Offline Software
MuonCalibStreamDataProviderSvc.h
Go to the documentation of this file.
1 #ifndef MUONCALIBSTREAMCNVSVCBASE_MUONCALIBSTREAMDATAPROVIDERSVC_H
2 #define MUONCALIBSTREAMCNVSVCBASE_MUONCALIBSTREAMDATAPROVIDERSVC_H
3 
4 #include <map>
5 #include <vector>
6 
8 #include "GaudiKernel/ISvcLocator.h"
9 #include "GaudiKernel/ServiceHandle.h"
10 #include "GaudiKernel/StatusCode.h"
11 #include "MuCalDecode/CalibEvent.h"
13 
15 
16 class MuonCalibStreamDataProviderSvc : public extends<AthService, IMuonCalibStreamDataProviderSvc> {
17 
18 public:
19  MuonCalibStreamDataProviderSvc(const std::string &name, ISvcLocator *svcloc);
21  virtual StatusCode initialize();
22  virtual void setNextEvent(const LVL2_MUON_CALIBRATION::CalibEvent *re);
23  virtual const LVL2_MUON_CALIBRATION::CalibEvent *getEvent();
24 
25  int fakeEventN();
26  int fakeRunN();
27  int fakeLumiBlock();
28  float LVL2_pt();
29  int timeStamp();
30 
31 private:
35  const LVL2_MUON_CALIBRATION::CalibEvent *m_event;
36  int m_evtN;
37  int m_runN;
41  float m_pt;
43 };
44 #endif
MuonCalibStreamDataProviderSvc::m_event
const LVL2_MUON_CALIBRATION::CalibEvent * m_event
Definition: MuonCalibStreamDataProviderSvc.h:35
MuonCalibStreamDataProviderSvc::initialize
virtual StatusCode initialize()
Definition: MuonCalibStreamDataProviderSvc.cxx:32
IMuonCalibStreamDataProviderSvc.h
MuonCalibStreamDataProviderSvc
Definition: MuonCalibStreamDataProviderSvc.h:16
MuonCalibStreamDataProviderSvc::fakeLumiBlock
int fakeLumiBlock()
Definition: MuonCalibStreamDataProviderSvc.cxx:81
MuonCalibStreamDataProviderSvc::timeStamp
int timeStamp()
Definition: MuonCalibStreamDataProviderSvc.cxx:87
MuonCalibStreamDataProviderSvc::m_timeStamp
int m_timeStamp
Definition: MuonCalibStreamDataProviderSvc.h:42
MuonCalibStreamDataProviderSvc::m_lumi_block_number_from_cool
bool m_lumi_block_number_from_cool
Definition: MuonCalibStreamDataProviderSvc.h:34
MuonCalibStreamDataProviderSvc::m_runN
int m_runN
Definition: MuonCalibStreamDataProviderSvc.h:37
MuonCalibStreamDataProviderSvc::m_evtN
int m_evtN
Definition: MuonCalibStreamDataProviderSvc.h:36
MuonCalibStreamDataProviderSvc::m_fake_lumiB
int m_fake_lumiB
Definition: MuonCalibStreamDataProviderSvc.h:40
MuonCalibStreamDataProviderSvc::m_fake_evtN
int m_fake_evtN
Definition: MuonCalibStreamDataProviderSvc.h:38
MuonCalibStreamDataProviderSvc::m_fake_runN
int m_fake_runN
Definition: MuonCalibStreamDataProviderSvc.h:39
MuonCalibStreamDataProviderSvc::getEvent
virtual const LVL2_MUON_CALIBRATION::CalibEvent * getEvent()
Definition: MuonCalibStreamDataProviderSvc.cxx:63
MuonCalibStreamDataProviderSvc::fakeEventN
int fakeEventN()
Definition: MuonCalibStreamDataProviderSvc.cxx:65
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MuonCalibStreamDataProviderSvc::MuonCalibStreamDataProviderSvc
MuonCalibStreamDataProviderSvc(const std::string &name, ISvcLocator *svcloc)
Definition: MuonCalibStreamDataProviderSvc.cxx:8
MuonCalibStreamDataProviderSvc::~MuonCalibStreamDataProviderSvc
virtual ~MuonCalibStreamDataProviderSvc()
Definition: MuonCalibStreamDataProviderSvc.cxx:29
MuonCalibStreamDataProviderSvc::m_run_number_from_cool
bool m_run_number_from_cool
Definition: MuonCalibStreamDataProviderSvc.h:33
MuonCalibStreamDataProviderSvc::setNextEvent
virtual void setNextEvent(const LVL2_MUON_CALIBRATION::CalibEvent *re)
Definition: MuonCalibStreamDataProviderSvc.cxx:37
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
MuonCalibStreamDataProviderSvc::fakeRunN
int fakeRunN()
Definition: MuonCalibStreamDataProviderSvc.cxx:73
re
const boost::regex re(r_e)
AthService.h
MuonCalibStreamDataProviderSvc::LVL2_pt
float LVL2_pt()
Definition: MuonCalibStreamDataProviderSvc.cxx:83
MuonCalibRunLumiBlockCoolSvc
Definition: MuonCalibRunLumiBlockCoolSvc.h:15
MuonCalibStreamDataProviderSvc::m_lumiBlockCoolSvc
ServiceHandle< MuonCalibRunLumiBlockCoolSvc > m_lumiBlockCoolSvc
Definition: MuonCalibStreamDataProviderSvc.h:32
MuonCalibStreamDataProviderSvc::m_pt
float m_pt
Definition: MuonCalibStreamDataProviderSvc.h:41
ServiceHandle< MuonCalibRunLumiBlockCoolSvc >