|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #include "GaudiKernel/DataObject.h"
17 #include "GaudiKernel/IOpaqueAddress.h"
18 #include "GaudiKernel/IRegistry.h"
19 #include "GaudiKernel/ISvcLocator.h"
20 #include "GaudiKernel/StatusCode.h"
33 #include "../ToString.h"
38 Converter(storageType(), classID(), svcloc),
40 m_name(
"PpmByteStreamAuxCnv"),
41 m_readTool(
"LVL1BS::PpmByteStreamReadV1V2Tool/PpmByteStreamReadV1V2Tool"),
42 m_zdcTool(
"ZdcByteStreamReadV1V2Tool/ZdcByteStreamReadV1V2Tool") {
63 return StatusCode::SUCCESS;
72 CHECK(pBS_Addr !=
nullptr);
74 const std::string
nm = *(pBS_Addr->par());
79 ttCollection.setStore(aux);
82 if (
nm.substr(0,3) !=
"Zdc")
102 return StatusCode::SUCCESS;
108 return StatusCode::FAILURE;
std::string ToString(const xAOD::TriggerTower &tt)
static const CLID & classID()
ToolHandle< ZdcByteStreamReadV1V2Tool > m_zdcTool
convert to and from a SG storable
TriggerTowerAuxContainer_v2 TriggerTowerAuxContainer
Define the latest version of the TriggerTower auxiliary container.
Defines the ROB data entity. The ROB data is an abstract entity that is used to discase the raw event...
ToolHandle< PpmByteStreamReadV1V2Tool > m_readTool
Do the main job - retrieve xAOD TriggerTowers from robs.
#define ATH_MSG_VERBOSE(x)
PpmByteStreamAuxCnv(ISvcLocator *svcloc)
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
static const CLID & ID()
the CLID of T
virtual StatusCode initialize()
msgSvc
Provide convenience handles for various services.
a traits class that associates a CLID to a type T It also detects whether T inherits from Gaudi DataO...
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
Class to provide easy MsgStream access and capabilities.
#define CHECK(...)
Evaluate an expression and check for errors.
uint32_t CLID
The Class ID type.
static constexpr long storageType()
Helpers for checking error return status codes and reporting errors.
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Create ByteStream from TriggerTowers.
std::string m_name
Converter name.
virtual StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
Create TriggerTowers from ByteStream.
static long storageType()