1#ifndef TRIGSCINT_EVENT_TRIGSCINTQIEDIGIS_H
2#define TRIGSCINT_EVENT_TRIGSCINTQIEDIGIS_H
30 void clear(Option_t *option =
"");
78 std::vector<int>
getBC0()
const {
return bc0s_; }
83 std::vector<int>
getCE()
const {
return ces_; }
139 void setBC0(
const std::vector<int> bc0) { bc0s_ = bc0; }
145 void setCE(
const std::vector<int> ce) { ces_ = ce; }
169 std::vector<int> bc0s_;
170 std::vector<int> ces_;
class for storing QIE output
void setLaneID(const int laneid)
Store the lane (fiber) ID.
uint32_t getTimeSinceSpill() const
Store the event time since spill counter.
std::vector< int > getADC() const
Get ADCs of all time samples.
int module_id_
module ID (pad)
uint32_t time_since_spill_counter_
Time since spill (a counter, to be divided by 125e6 or so)
void setCID(const std::vector< int > cid)
Store cids of all time samples.
std::vector< int > adcs_
analog to digital counts
void setTDC(const std::vector< int > tdc)
Store tdcs of all time samples.
std::vector< int > cids_
capacitor IDs
int getLaneID() const
Get lane ID.
void setBC0(const std::vector< int > bc0)
Store bc0s of all time samples.
void setChanID(const int chanid)
Store the channel ID.
void clear(Option_t *option="")
A dummy function.
int lane_id_
lane ID (fiber)
virtual ~TrigScintQIEDigis()=default
Default destructor.
TrigScintQIEDigis()=default
Default constructor.
int getElecID() const
Get electronics ID.
void setTimeSinceSpill(const uint32_t timeSpill)
Store the event time since spill counter.
std::vector< int > getCID() const
Get Cap IDs of all time samples.
std::vector< int > getCE() const
Get CEs (an error state flag) of all time samples.
int getChanID() const
Get channel ID.
bool operator<(const TrigScintQIEDigis &rhs) const
A dummy operator overloading.
std::vector< int > tdcs_
Time to Digital counts.
int getModuleID() const
Get module ID (pad naming number -1)
std::vector< int > getTDC() const
Get tdcs of all time samples.
void setModuleID(const int moduleid)
Store the module ID (pad number-1)
friend std::ostream & operator<<(std::ostream &o, const TrigScintQIEDigis &d)
Print ifo about the class.
void setCE(const std::vector< int > ce)
Store ces of all time samples.
void setElecID(const int elecid)
Store the electronics ID.
std::vector< int > getBC0() const
Get BC0s (= 1 for periodic sync time sample) of all time samples.
void setADC(const std::vector< int > adc)
Store adcs of all time samples.