|
ATLAS Offline Software
|
Go to the documentation of this file.
25 #include "GaudiKernel/DataObject.h"
26 #include "GaudiKernel/IOpaqueAddress.h"
27 #include "GaudiKernel/IRegistry.h"
28 #include "GaudiKernel/ISvcLocator.h"
29 #include "GaudiKernel/StatusCode.h"
49 #include "../JepRoiByteStreamV2Tool.h"
50 #include "../ToString.h"
55 Converter(storageType(), classID(), svcloc),
57 m_name(
"CmxRoIByteStreamAuxCnv"),
58 m_readTool(
"LVL1BS::JepRoiByteStreamV2Tool/JepRoiByteStreamV2Tool")
79 return StatusCode::SUCCESS;
88 CHECK(pBS_Addr !=
nullptr);
90 const std::string
nm = *(pBS_Addr->par());
95 container.setStore(aux);
108 item->initialize(source.
ex(), source.
ey(), source.
et(),
130 return StatusCode::SUCCESS;
136 return StatusCode::FAILURE;
static const CLID & classID()
unsigned int missingEtHits(SumType type=NORMAL) const
Return Missing-ET hits.
convert to and from a SG storable
Defines the ROB data entity. The ROB data is an abstract entity that is used to discase the raw event...
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
int eyError(SumType type=NORMAL) const
Return Ey error flags (bit 0 Overflow)
DataObject * asStorable(T *pObject)
int etError(SumType type=NORMAL) const
Return Et error flags (bit 0 Overflow)
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
std::string m_name
Converter name.
static const CLID & ID()
the CLID of T
msgSvc
Provide convenience handles for various services.
CMXRoI_v1 CMXRoI
Define the latest version of the CMXRoI class.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
unsigned int ex(SumType type=NORMAL) const
Return Ex.
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
virtual StatusCode initialize()
Class to provide easy MsgStream access and capabilities.
ToolHandle< JepRoiByteStreamV2Tool > m_readTool
Do the main job - retrieve objects from robs.
#define CHECK(...)
Evaluate an expression and check for errors.
unsigned int ey(SumType type=NORMAL) const
Return Ey.
uint32_t CLID
The Class ID type.
int exError(SumType type=NORMAL) const
Return Ex error flags (bit 0 Overflow)
static constexpr long storageType()
Helpers for checking error return status codes and reporting errors.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
unsigned int sumEtHits(SumType type=NORMAL) const
Return Sum-ET hits.
CmxRoIByteStreamAuxCnv(ISvcLocator *svcloc)
Description of CMXRoI_v1.
static long storageType()
unsigned int et(SumType type=NORMAL) const
Return Et.
CMXRoIAuxContainer_v1 CMXRoIAuxContainer
Define the latest version of the CMXRoI auxiliary info.
unsigned int missingEtSigHits() const
Return Missing-ET-Sig hits.