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