LDMX Software
|
class for storing QIE output More...
#include <TrigScintQIEDigis.h>
Public Member Functions | |
TrigScintQIEDigis ()=default | |
Default constructor. | |
virtual | ~TrigScintQIEDigis ()=default |
Default destructor. | |
void | Print (Option_t *option="") const |
Print ifo about the class. | |
void | Clear (Option_t *option="") |
A dummy function. | |
bool | operator< (const TrigScintQIEDigis &rhs) const |
A dummy operator overloading. | |
int | getChanID () const |
Get channel ID. | |
int | getElecID () const |
Get electronics ID. | |
std::vector< int > | getADC () const |
Get ADCs of all time samples. | |
std::vector< int > | getTDC () const |
Get tdcs of all time samples. | |
std::vector< int > | getCID () const |
Get Cap IDs of all time samples. | |
void | setTimeSinceSpill (const uint32_t timeSpill) |
Store the event time since spill counter. | |
uint32_t | getTimeSinceSpill () const |
Store the event time since spill counter. | |
void | setChanID (const int chanid) |
Store the channel ID. | |
void | setElecID (const int elecid) |
Store the electronics ID. | |
void | setADC (const std::vector< int > adc) |
Store adcs of all time samples. | |
void | setTDC (const std::vector< int > tdc) |
Store tdcs of all time samples. | |
void | setCID (const std::vector< int > cid) |
Store cids of all time samples. | |
Protected Attributes | |
int | chanID_ |
channel ID | |
int | elecID_ {-1} |
channel ID | |
std::vector< int > | adcs_ |
analog to digital counts | |
std::vector< int > | tdcs_ |
Time to Digital counts. | |
uint32_t | timeSinceSpillCounter_ |
Time since spill (a counter, to be divided by 125e6 or so) | |
Private Member Functions | |
ClassDef (TrigScintQIEDigis, 1) | |
Private Attributes | |
std::vector< int > | cids_ |
capacitor IDs | |
class for storing QIE output
Definition at line 13 of file TrigScintQIEDigis.h.
void trigscint::TrigScintQIEDigis::Clear | ( | Option_t * | option = "" | ) |
A dummy function.
Definition at line 24 of file TrigScintQIEDigis.cxx.
|
inline |
Get ADCs of all time samples.
Definition at line 54 of file TrigScintQIEDigis.h.
References adcs_.
Referenced by trigscint::EventReadoutProducer::produce(), and trigscint::QIEDecoder::produce().
|
inline |
Get channel ID.
Definition at line 44 of file TrigScintQIEDigis.h.
References chanID_.
Referenced by trigscint::EventReadoutProducer::produce(), and trigscint::QIEDecoder::produce().
|
inline |
Get Cap IDs of all time samples.
Definition at line 64 of file TrigScintQIEDigis.h.
References cids_.
|
inline |
Get electronics ID.
Definition at line 49 of file TrigScintQIEDigis.h.
References elecID_.
Referenced by trigscint::QIEDecoder::produce().
|
inline |
Get tdcs of all time samples.
Definition at line 59 of file TrigScintQIEDigis.h.
References tdcs_.
Referenced by trigscint::QIEDecoder::produce().
|
inline |
Store the event time since spill counter.
Definition at line 78 of file TrigScintQIEDigis.h.
References timeSinceSpillCounter_.
Referenced by dqm::NtuplizeTrigScintQIEDigis::analyze(), and trigscint::QIEDecoder::produce().
|
inline |
A dummy operator overloading.
Definition at line 37 of file TrigScintQIEDigis.h.
References chanID_.
void trigscint::TrigScintQIEDigis::Print | ( | Option_t * | option = "" | ) | const |
Print ifo about the class.
Definition at line 15 of file TrigScintQIEDigis.cxx.
|
inline |
Store adcs of all time samples.
adc_ | array of adcs |
Definition at line 94 of file TrigScintQIEDigis.h.
References adcs_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), and trigscint::TrigScintQIEDigiProducer::produce().
|
inline |
Store the channel ID.
Definition at line 83 of file TrigScintQIEDigis.h.
References chanID_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), and trigscint::TrigScintQIEDigiProducer::produce().
|
inline |
Store cids of all time samples.
cid_ | array of cids |
Definition at line 106 of file TrigScintQIEDigis.h.
References cids_.
Referenced by trigscint::TrigScintQIEDigiProducer::produce().
|
inline |
Store the electronics ID.
Definition at line 88 of file TrigScintQIEDigis.h.
References elecID_.
Referenced by trigscint::EventReadoutProducer::produce(), and trigscint::QIEDecoder::produce().
|
inline |
Store tdcs of all time samples.
tdc_ | array of tdcs |
Definition at line 100 of file TrigScintQIEDigis.h.
References tdcs_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), and trigscint::TrigScintQIEDigiProducer::produce().
|
inline |
Store the event time since spill counter.
Definition at line 69 of file TrigScintQIEDigis.h.
References timeSinceSpillCounter_.
Referenced by trigscint::EventReadoutProducer::produce(), and trigscint::QIEDecoder::produce().
|
protected |
analog to digital counts
Definition at line 115 of file TrigScintQIEDigis.h.
Referenced by getADC(), trigscint::EventReadout::Print(), Print(), and setADC().
|
protected |
channel ID
Definition at line 110 of file TrigScintQIEDigis.h.
Referenced by getChanID(), trigscint::EventReadout::operator<(), operator<(), trigscint::EventReadout::Print(), Print(), and setChanID().
|
private |
capacitor IDs
Definition at line 125 of file TrigScintQIEDigis.h.
|
protected |
channel ID
Definition at line 112 of file TrigScintQIEDigis.h.
Referenced by getElecID(), and setElecID().
|
protected |
Time to Digital counts.
Definition at line 118 of file TrigScintQIEDigis.h.
|
protected |
Time since spill (a counter, to be divided by 125e6 or so)
Definition at line 121 of file TrigScintQIEDigis.h.
Referenced by getTimeSinceSpill(), and setTimeSinceSpill().