|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GaudiKernel/DataObject.h"
15 #include "GaudiKernel/IRegistry.h"
16 #include "GaudiKernel/StatusCode.h"
17 #include "MuCalDecode/CalibEvent.h"
31 Converter(storageType(), classID(), svcloc),
33 m_MuonCalibStreamCnvSvc(
"MuonCalibStreamCnvSvc",
"EventInfoMuonCalibStreamCnv"),
34 m_dataProvider(
"MuonCalibStreamDataProviderSvc",
"EventInfoMuonCalibStreamCnv")
47 return StatusCode::SUCCESS;
56 return StatusCode::FAILURE;
62 const LVL2_MUON_CALIBRATION::CalibEvent *
event =
m_dataProvider->getEvent();
65 return StatusCode::FAILURE;
71 float pt =
event->pt();
96 return StatusCode::SUCCESS;
102 ATH_MSG_DEBUG(
" Nothing to be done for EventInfo createRep ");
103 return StatusCode::SUCCESS;
void setEventNumber(uint64_t value)
Set the current event's event number.
EventInfo_v1 EventInfo
Definition of the latest event info version.
convert to and from a SG storable
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Auxiliary information about the event.
@ IS_CALIBRATION
true: calibration, false: physics
ServiceHandle< IMuonCalibStreamDataProviderSvc > m_dataProvider
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
static const CLID & ID()
the CLID of T
void setEventTypeBitmask(uint32_t value)
Set the event type bitmask.
POOL::TEvent event(POOL::TEvent::kClassAccess)
msgSvc
Provide convenience handles for various services.
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class to provide easy MsgStream access and capabilities.
virtual StatusCode initialize()
EventInfoMuonCalibStreamCnv(ISvcLocator *svcloc)
void setTimeStamp(uint32_t value)
Set the POSIX time of the event.
void setBCID(uint32_t value)
Set the bunch crossing ID of the event.
uint32_t CLID
The Class ID type.
ServiceHandle< IConversionSvc > m_MuonCalibStreamCnvSvc
static const CLID & classID()
EventAuxInfo_v3 EventAuxInfo
Definition of the latest event auxiliary info version.
Class describing the basic event information.
void setTimeStampNSOffset(uint32_t value)
Set the nanosecond offset wrt. the time stamp.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
void setRunNumber(uint32_t value)
Set the current event's run number.
void setLumiBlock(uint32_t value)
Set the current event's luminosity block number.