5#ifndef TILEBYTESTREAM_TILEROD_ENCODER_H
6#define TILEBYTESTREAM_TILEROD_ENCODER_H
89 void fillROD(std::vector<uint32_t>& v);
90 void fillROD2(std::vector<uint32_t>& v);
91 void fillROD3(std::vector<uint32_t>& v);
92 void fillROD4(std::vector<uint32_t>& v);
93 void fillROD5(std::vector<uint32_t>& v);
103 void fillROD1(std::vector<uint32_t>& v);
104 void fillROD5D(std::vector<uint32_t>& v);
114 void dumpROD(
const std::vector<uint32_t>& v);
120 void setBit(uint32_t* p,
int chan);
124 bool checkBit(
const uint32_t* p,
int chan);
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
This class converts TileDigits to and from bytestream in ROD format.
Helper class for TileCal online (hardware) identifiers.
Helper class for TileCal offline identifiers.
Class to store TileMuId and Et quantities computed at the TileCal ROD DSPs.
void fillRODTileMuRcvObj(std::vector< uint32_t > &v)
void setMaxChannels(int maxChannels)
set maximum number of channels in a drawer
std::vector< const TileDigits * > m_vTileDigi
const TileHWID * m_tileHWID
void fillROD5(std::vector< uint32_t > &v)
std::vector< const TileL2 * > m_vTileL2
void fillROD10(std::vector< uint32_t > &v)
convert all TileL2s in the current list to a vector of 32bit words
TileRawChannel2Bytes4 m_rc2bytes4
TileRawChannel2Bytes m_rc2bytes3
void addDigi(const TileDigits *digi)
add TileDigits to the current list
void fillROD5D(std::vector< uint32_t > &v)
void fillROD(std::vector< uint32_t > &v)
convert all TileRawChannels in the current list to a vector of 32bit words
TileRawChannel2Bytes2 m_rc2bytes2
void setTypeAndUnit(TileFragHash::TYPE type, TileRawChannelUnit::UNIT unit)
set OF algorigtm type and amplitude units for a drawer
void fillRODTileMuRcvRawChannel(std::vector< uint32_t > &v)
void fillRODL2(std::vector< uint32_t > &v)
void setBit(uint32_t *p, int chan)
set the bitmap for a channel
TileROD_Encoder()
constructor
void fillROD12(std::vector< uint32_t > &v)
TileRawDataOrdering m_order
void addTileMuRcvObj(const TileMuonReceiverObj *tileMuRcvObj)
add TMBDs ROD sub-fragmens TileMuRcvObj (type3) to the current list
void setTileHWID(const TileHWID *tileHWID, bool verbose, unsigned int type=4)
set all necessary parameters for the encoder
bool checkBit(const uint32_t *p, int chan)
check the bitmap for a channel
TileRawChannel2Bytes5 m_rc2bytes5
std::vector< const TileFastRawChannel * > m_vTileRC
void fillROD1(std::vector< uint32_t > &v)
convert all TileDigits in the current list to a vector of 32bit words
void fillROD2(std::vector< uint32_t > &v)
std::vector< const TileMuonReceiverObj * > m_vTileMuRcvObj
void addL2(const TileL2 *l2)
add TileL2s to the current list
~TileROD_Encoder()
destructor
void fillROD3(std::vector< uint32_t > &v)
TileDigits2Bytes m_Digi2bytes
void fillRODTileMuRcvDigi(std::vector< uint32_t > &v)
convert the TMDB objects into a vector of 32bit words: 8bit words/digit, 16bit words/RC,...
void fillROD4(std::vector< uint32_t > &v)
void add(const TileFastRawChannel *rc)
add TileRawChannels to the current list
void dumpROD(const std::vector< uint32_t > &v)
dump contents of the ROD fragment
Converts the TileRawChannel object into bytes as it is defined at the testbeam.
Converts the TileRawChannel object into bytes as it is defined at the commissioning 2007.
Converts the TileRawChannel object into bytes as it.
Converts the TileRawChannel object into bytes.
class for ordering TileRawData Objects according to hardware identifier (channel number) To be used w...
singleton-like access to IMessageSvc via open function and helper