|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef LARBYTESTREAM_LARRODBLOCKPYSICSV0_H
8 #define LARBYTESTREAM_LARRODBLOCKPYSICSV0_H
42 #define LARBSDBG(text) m_logstr<<MSG::DEBUG<<text<<endmsg
44 #define LARBSDBG(text)
76 std::string
BlockType() {
return std::string(
"RodBlockPhysicsV0");}
97 template<
class RAWDATA>
98 bool operator () (
const RAWDATA* ch1,
const RAWDATA* ch2)
const;
147 {
return (
ch>>3) + ((
ch&0x7)<<4);}
151 LARBSDBG(
"in LArRodBlockPhysicsV0::getEnergy.");
160 channelNumber=(rodChannelNumber>>4) + ((rodChannelNumber&0xf)<<3);
167 quality = gtQ & 0xffff;
202 #ifdef LARBSDBGOUTPUT
203 #undef LARBSDBGOUTPUT
const LArOnlineID * m_onlineHelper
singleton-like access to IMessageSvc via open function and helper
virtual void setRawData(const int channel, const std::vector< short > &samples, const uint32_t gain)
virtual uint32_t hasRawDataBlock() const
const int16_t * m_LowEPtr
virtual void initializeFragment(std::vector< uint32_t > &fragment)
virtual int getNextRawData(int &channelNumber, std::vector< short > &samples, uint32_t &gain)
virtual void setNextEnergy(const int channel, const int32_t energy, const int32_t time, const int32_t quality, const uint32_t gain)
virtual bool setPointers()
setScaleOne setStatusOne setSaturated int16_t
virtual void concatinateFEBs()
virtual uint32_t hasPhysicsBlock() const
std::vector< uint32_t > m_HighEnergyBlock
virtual void finalizeFEB()
bool operator()()(const RAWDATA *ch1
int FebToRodChannel(int ch) const
virtual void setNumberOfSamples(const uint8_t n)
virtual int getNextEnergy(int &channelNumber, int32_t &energy, int32_t &time, int32_t &quality, uint32_t &gain)
static const uint32_t m_DummyBitMap[4]
std::vector< uint32_t > m_LowEnergyBlock
#define LARBSDBG(text)
This class provides decoding/encoding from/to ROD format.
virtual void initializeFEB(const uint32_t id)
int getBit(const uint32_t *const p, const unsigned chan) const
virtual void resetPointers()
virtual void setNumberOfGains(const uint8_t n)
virtual void sortDataVector(std::vector< const LArRawChannel * > &)
virtual void sortDataVector(std::vector< const LArDigit * > &)
const int32_t * m_HighEPtr
uint16_t LE_getHeader16(const unsigned n) const
unsigned short m_NFlaggingWords
def time(flags, cells_name, *args, **kw)
virtual bool canSetRawData()
virtual bool canSetEnergy()
const uint32_t * m_FlagPtr
std::vector< uint32_t > m_RawDataBlock
virtual void sortDataVector(std::vector< const LArRawChannel * > &)