|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/MsgStream.h"
23 (
const std::string&
type,
const std::string&
name,
const IInterface*
parent )
25 m_trt_CablingSvc (
"TRT_CablingSvc",
name ),
26 m_trt_idHelper(nullptr)
28 declareInterface< ITRTRawContByteStreamTool >(
this );
53 return StatusCode::SUCCESS;
63 return StatusCode::SUCCESS;
85 std::map<uint32_t, TRT_RodEncoder> mapEncoder;
93 for( ; it_coll!=it_coll_end;++it_coll)
97 if (
nullptr != coll )
107 eformat::helper::SourceIdentifier sid_rob(robids[0]);
110 eformat::helper::SourceIdentifier sid_rod( sid_rob.subdetector_id(),
111 sid_rob.module_id() );
118 for(; it_b!=it_e; ++it_b)
120 const RDO* theRdo = *it_b;
121 mapEncoder[rodId].addRdo(theRdo);
131 for (; (it_map != it_map_end) && (
sc == StatusCode::SUCCESS); ++it_map)
151 sc = StatusCode::RECOVERABLE;
155 if (
sc == StatusCode::FAILURE )
157 else if (
sc == StatusCode::RECOVERABLE )
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Const iterator class for DataVector/DataList.
void set_trt_cabling(ServiceHandle< ITRT_CablingSvc > trt_CablingSvc)
setCablingSvc
This class provides conversion from TRT RDO to ROD format.
virtual Identifier identify() const override final
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
size_t size() const
Duplicate of fullSize for backwards compatability.
StatusCode fillROD(std::vector< uint32_t > &v)
conversion of ROD into ROD fragment
void setRodMinorVersion(unsigned short RodBlockVersion)
setRodMinorVersion
void set_trt_IdHelper(const TRT_ID *trt_id)
setId Helper
::StatusCode StatusCode
StatusCode definition for legacy code.
const_iterator end() const
return const_iterator for end of container
const_iterator begin() const
return const_iterator for first entry
StatusCode fillROD3(std::vector< uint32_t > &v)
conversion of ROD into compressed ROD fragment
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
void setRodMinorVersion(uint16_t m)
change the ROD minor version
#define ATH_MSG_WARNING(x)
RODDATA * getRodData(uint32_t id)
get a block of ROD data
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.