1 #ifndef DATAFORMATS_HCALDIGI_HCALLASERDIGI_H
2 #define DATAFORMATS_HCALDIGI_HCALLASERDIGI_H 1
4 #include <boost/cstdint.hpp>
11 uint16_t
qadc(
int i)
const {
return ((i>=0 && i<32)?(
qadcraw_[i]):(0)); }
15 int hitRaw(
size_t ihit)
const;
16 double hitNS(
size_t ihit)
const;
29 #endif // DATAFORMATS_HCALDIGI_HCALLASERDIGI_H
void setLaserControl(int att1, int att2, int select)
void addTDCHit(int channel, int hittime)
void setQADC(const std::vector< uint16_t > &values)
std::vector< uint32_t > tdcraw_
uint16_t qadc(int i) const
int hitRaw(size_t ihit) const
double hitNS(size_t ihit) const
int hitChannel(size_t ihit) const