77 std::vector<int16_t> adclist,
81 uint32_t
NADC()
const {
return fADC.size(); }
82 int16_t
ADC(uint32_t
i)
const;
94 int32_t
TDC()
const {
return fTDC[0]; }
97 void SetADC(uint32_t i, int16_t iADC);
106 void SetMC(
bool isMC=
true) {
if(isMC) fMCBits |= (1<<31);
else fMCBits = 0; }
108 bool IsMC()
const {
return fMCBits & (1<<31); }
friend std::ostream & operator<<(std::ostream &o, const RawDigit &r)
int32_t TDC() const
The time of the last baseline sample.
void SetTDC(int32_t iTDC)
uint16_t fReserved
Should be 0xCAFE.
void SetChannel(uint32_t iChan)
Definition of connection map class.
uint32_t fDaqChannel
DAQ readout channel.
void SetVersion(uint8_t v)
void SetADC(uint32_t i, int16_t iADC)
uint32_t fMCBits
status bits for MC information
uint8_t fVersion
NanoSlice version.
uint32_t fChannel
channel ID
uint32_t DaqChannel() const
uint8_t fFrameSequenceNumber
int16_t ADC() const
Best estimator of the hit charge.
void SetDaqChannel(uint32_t iChan)
std::vector< int32_t > fTDC
TDC(-like) time value. Event time is subtracted. Vector structure is a historical artifact...
void SetMC(bool isMC=true)
std::vector< int16_t > fADC
list of ADC(-like) charge values