|
ATLAS Offline Software
|
Go to the documentation of this file.
40 static const InterfaceID IID_ITileL2ContByteStreamTool(
"TileL2ContByteStreamTool", 1, 0);
43 return IID_ITileL2ContByteStreamTool;
54 declareInterface<TileL2ContByteStreamTool>(
this);
68 ToolHandle<TileROD_Decoder> dec(
"TileROD_Decoder");
73 return StatusCode::SUCCESS;
78 return StatusCode::SUCCESS;
92 std::map<uint32_t, TileROD_Encoder> mapEncoder;
97 for (; it_cont != it_cont_end; ++it_cont) {
99 int frag_id = (*it_cont)->identify();
101 uint32_t reid = hid2re->getRodID(frag_id);
105 mapEncoder[reid].addL2(
l2);
110 unsigned int ndata =
l2->Ndata();
112 for (
unsigned int i = 0;
i < (
l2->NMuons()); ++
i, j += 2) {
114 <<
" frag ID = 0x" << (
l2->identify())
115 <<
" word1 = 0x" << ((j < ndata) ?
l2->val(j) : 0)
116 <<
" word2 = 0x" << ((j + 1 < ndata) ?
l2->val(j + 1) : 0) << MSG::dec
117 <<
" eta = " << (
l2->eta(
i))
120 for (; j < ndata; ++j) {
127 <<
" Number of muons " <<
nm );
136 for (;
it != it_end; ++
it) {
138 theEncoder = &((*it).second);
143 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
Const iterator class for DataVector/DataList.
Template class for assembling a full atlas raw event from subfragments.
Provides conversion from TileRawChannel, TileL2 and TMDB (digits,MF raw channel,decision) to ROD form...
bool msgLvl(const MSG::Level lvl) const
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
Helpers for checking error return status codes and reporting errors.
StatusCode initialize(bool used=true)
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
void fillRODL2(std::vector< uint32_t > &v)
std::vector< uint32_t > RODDATA
ROD data as a vector of unsigned int.
macros to associate a CLID to a type
Class to store TileMuId and Et quantities computed at the TileCal ROD DSPs.
RODDATA * getRodData(uint32_t id)
get a block of ROD data
void fillROD12(std::vector< uint32_t > &v)
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.