|
LDMX Software
|
class for storing QIE output More...
#include <TrigScintQIEDigis.h>
Public Member Functions | |
| TrigScintQIEDigis ()=default | |
| Default constructor. | |
| virtual | ~TrigScintQIEDigis ()=default |
| Default destructor. | |
| 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 | chan_id_ |
| channel ID | |
| int | elec_id_ {-1} |
| channel ID | |
| std::vector< int > | adcs_ |
| analog to digital counts | |
| std::vector< int > | tdcs_ |
| Time to Digital counts. | |
| uint32_t | time_since_spill_counter_ |
| Time since spill (a counter, to be divided by 125e6 or so) | |
Private Member Functions | |
| ClassDef (TrigScintQIEDigis, 3) | |
Private Attributes | |
| std::vector< int > | cids_ |
| capacitor IDs | |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const TrigScintQIEDigis &d) |
| Print ifo about the class. | |
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 21 of file TrigScintQIEDigis.cxx.
|
inline |
Get ADCs of all time samples.
Definition at line 53 of file TrigScintQIEDigis.h.
References adcs_.
Referenced by trigscint::QIEDecoder::produce().
|
inline |
Get channel ID.
Definition at line 43 of file TrigScintQIEDigis.h.
References chan_id_.
Referenced by trigscint::EventReadoutProducer::produce(), and trigscint::QIEDecoder::produce().
|
inline |
Get Cap IDs of all time samples.
Definition at line 63 of file TrigScintQIEDigis.h.
References cids_.
|
inline |
Get electronics ID.
Definition at line 48 of file TrigScintQIEDigis.h.
References elec_id_.
Referenced by trigscint::QIEDecoder::produce().
|
inline |
Get tdcs of all time samples.
Definition at line 58 of file TrigScintQIEDigis.h.
References tdcs_.
Referenced by trigscint::QIEDecoder::produce().
|
inline |
Store the event time since spill counter.
Definition at line 75 of file TrigScintQIEDigis.h.
References time_since_spill_counter_.
Referenced by trigscint::QIEDecoder::produce().
|
inline |
A dummy operator overloading.
Definition at line 36 of file TrigScintQIEDigis.h.
References chan_id_.
|
inline |
Store adcs of all time samples.
| adc_ | array of adcs |
Definition at line 91 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 80 of file TrigScintQIEDigis.h.
References chan_id_.
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 103 of file TrigScintQIEDigis.h.
References cids_.
Referenced by trigscint::TrigScintQIEDigiProducer::produce().
|
inline |
Store the electronics ID.
Definition at line 85 of file TrigScintQIEDigis.h.
References elec_id_.
Referenced by trigscint::EventReadoutProducer::produce(), and trigscint::QIEDecoder::produce().
|
inline |
Store tdcs of all time samples.
| tdc_ | array of tdcs |
Definition at line 97 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 68 of file TrigScintQIEDigis.h.
References time_since_spill_counter_.
Referenced by trigscint::EventReadoutProducer::produce(), and trigscint::QIEDecoder::produce().
|
friend |
Print ifo about the class.
Definition at line 15 of file TrigScintQIEDigis.cxx.
|
protected |
analog to digital counts
Definition at line 112 of file TrigScintQIEDigis.h.
Referenced by getADC(), trigscint::EventReadout::print(), and setADC().
|
protected |
channel ID
Definition at line 107 of file TrigScintQIEDigis.h.
Referenced by getChanID(), trigscint::EventReadout::operator<(), operator<(), trigscint::EventReadout::print(), and setChanID().
|
private |
capacitor IDs
Definition at line 122 of file TrigScintQIEDigis.h.
|
protected |
channel ID
Definition at line 109 of file TrigScintQIEDigis.h.
Referenced by getElecID(), and setElecID().
|
protected |
Time to Digital counts.
Definition at line 115 of file TrigScintQIEDigis.h.
|
protected |
Time since spill (a counter, to be divided by 125e6 or so)
Definition at line 118 of file TrigScintQIEDigis.h.
Referenced by getTimeSinceSpill(), and setTimeSinceSpill().