![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GaudiKernel/MsgStream.h"
7 #include "GaudiKernel/StatusCode.h"
8 #include "GaudiKernel/DataObject.h"
9 #include "GaudiKernel/IRegistry.h"
10 #include "GaudiKernel/IToolSvc.h"
38 for(
int i = 0;
i < 256; ++
i) {
39 int collId =
decoder.hashFunc()->identifier(
i);
40 this->
push_back (std::make_unique<TileL2> (collId));
54 for (
TileL2* elt : *
this) {
62 , m_tool(
"TileL2ContByteStreamTool")
63 , m_byteStreamEventAccess(
"ByteStreamCnvSvc",
name())
64 , m_byteStreamCnvSvc(0)
65 , m_storeGate(
"StoreGateSvc",
name())
66 , m_robSvc(
"ROBDataProviderSvc",
name())
67 , m_decoder(
"TileROD_Decoder")
96 return StatusCode::SUCCESS ;
108 return StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"Could not get raw event from ByteStreamInputSvc" );
114 return StatusCode::FAILURE;
120 ATH_MSG_WARNING(
"Conversion tool returned an error. TileL2Container might be empty." );
125 return StatusCode::SUCCESS;
136 std::string
key(
"Tile");
145 return StatusCode::FAILURE;
148 std::string
name = pObj->registry()->name();
156 return StatusCode::SUCCESS;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
ToolHandle< BYTESTREAMTOOL > m_tool
Decodes the different TileCal ROD subfragment types in bytestream data and fills TileDigitsContainer,...
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
static long storageType()
ServiceHandle< IROBDataProviderSvc > m_robSvc
Pointer to IROBDataProviderSvc.
Template class for assembling a full atlas raw event from subfragments.
virtual StatusCode initialize() override
decoder
def channelSelection(self, channelList, groupType): if groupType == self.SingleGroup: pass elif group...
bool fromStorable(DataObject *pDObj, T *&pTrans, bool quiet=false, IRegisterTransient *irt=0, bool isConst=true)
virtual StatusCode createRepConst(DataObject *pObj, IOpaqueAddress *&pAddr) const override
Convert the transient object to the requested representation.
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
const TileHid2RESrcID * m_hid2re
Pointer to TileHid2RESrcID.
const T * get(size_type n) const
Access an element, as an rvalue.
DataObject * asStorable(T *pObject)
Gaudi converter base class with const interfaces.
static const CLID & ID()
the CLID of T
Gaudi Conversion Service class for ByteStream Persistency.
ServiceHandle< StoreGateSvc > m_storeGate
Pointer to StoreGateSvc.
static const CLID & classID()
::StatusCode StatusCode
StatusCode definition for legacy code.
IOpaqueAddress for ByteStreamCnvSvc, with ROB ids.
virtual StatusCode createObjConst(IOpaqueAddress *pAddr, DataObject *&pObj) const override
Create the transient representation of an object.
TileL2ContByteStreamCnv(ISvcLocator *svcloc)
ToolHandle< TileROD_Decoder > m_decoder
Pointer to TileROD_Decoder.
void clear()
Clear all vectors in TileL2.
uint32_t CLID
The Class ID type.
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.
Incident sent after a store is cleared.
TileRecyclableL2Container(const TileROD_Decoder &decoder)
#define ATH_MSG_WARNING(x)
virtual StatusCode finalize() override
const boost::regex re(r_e)
void recycle()
Recycle this object for use in another event.
StatusCode getFullEventAssembler(T *&t, const std::string &nm)
Access to FullEventAssembler.
ServiceHandle< IByteStreamEventAccess > m_byteStreamEventAccess
macros to associate a CLID to a type
Class to store TileMuId and Et quantities computed at the TileCal ROD DSPs.
ByteStreamCnvSvc * m_byteStreamCnvSvc