|
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. | |
| int | getModuleID () const |
| Get module ID (pad naming number -1) | |
| int | getLaneID () const |
| Get lane 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. | |
| std::vector< int > | getBC0 () const |
| Get BC0s (= 1 for periodic sync time sample) of all time samples. | |
| std::vector< int > | getCE () const |
| Get CEs (an error state flag) 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 | setModuleID (const int moduleid) |
| Store the module ID (pad number-1) | |
| void | setLaneID (const int laneid) |
| Store the lane (fiber) 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. | |
| void | setBC0 (const std::vector< int > bc0) |
| Store bc0s of all time samples. | |
| void | setCE (const std::vector< int > ce) |
| Store ces of all time samples. | |
Protected Attributes | |
| int | chan_id_ |
| channel ID | |
| int | elec_id_ {-1} |
| channel ID | |
| int | module_id_ |
| module ID (pad) | |
| int | lane_id_ {-1} |
| lane ID (fiber) | |
| 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, 4) | |
Private Attributes | |
| std::vector< int > | cids_ |
| capacitor IDs | |
| std::vector< int > | bc0s_ |
| std::vector< int > | ces_ |
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 63 of file TrigScintQIEDigis.h.
References adcs_.
Referenced by trigscint::QIEDecoder::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Get BC0s (= 1 for periodic sync time sample) of all time samples.
Definition at line 78 of file TrigScintQIEDigis.h.
|
inline |
Get CEs (an error state flag) of all time samples.
Definition at line 83 of file TrigScintQIEDigis.h.
|
inline |
Get channel ID.
Definition at line 43 of file TrigScintQIEDigis.h.
References chan_id_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Get Cap IDs of all time samples.
Definition at line 73 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(), and trigscint::ZCCMDecoder::produce().
|
inline |
|
inline |
Get module ID (pad naming number -1)
Definition at line 53 of file TrigScintQIEDigis.h.
References module_id_.
|
inline |
Get tdcs of all time samples.
Definition at line 68 of file TrigScintQIEDigis.h.
References tdcs_.
Referenced by trigscint::QIEDecoder::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Store the event time since spill counter.
Definition at line 95 of file TrigScintQIEDigis.h.
References time_since_spill_counter_.
Referenced by trigscint::QIEDecoder::produce(), and trigscint::ZCCMDecoder::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 121 of file TrigScintQIEDigis.h.
References adcs_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), trigscint::TrigScintQIEDigiProducer::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Store bc0s of all time samples.
| bc0_ | array of BC0s (perodic sample sync) |
Definition at line 139 of file TrigScintQIEDigis.h.
Referenced by trigscint::ZCCMDecoder::produce().
|
inline |
Store ces of all time samples.
| ce_ | array of CEs (error state) |
Definition at line 145 of file TrigScintQIEDigis.h.
Referenced by trigscint::ZCCMDecoder::produce().
|
inline |
Store the channel ID.
Definition at line 100 of file TrigScintQIEDigis.h.
References chan_id_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), trigscint::TrigScintQIEDigiProducer::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Store cids of all time samples.
| cid_ | array of cids |
Definition at line 133 of file TrigScintQIEDigis.h.
References cids_.
Referenced by trigscint::TrigScintQIEDigiProducer::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Store the electronics ID.
Definition at line 105 of file TrigScintQIEDigis.h.
References elec_id_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Store the lane (fiber) ID.
Definition at line 115 of file TrigScintQIEDigis.h.
References lane_id_.
Referenced by trigscint::ZCCMDecoder::produce().
|
inline |
Store the module ID (pad number-1)
Definition at line 110 of file TrigScintQIEDigis.h.
References module_id_.
Referenced by trigscint::ZCCMDecoder::produce().
|
inline |
Store tdcs of all time samples.
| tdc_ | array of tdcs |
Definition at line 127 of file TrigScintQIEDigis.h.
References tdcs_.
Referenced by trigscint::EventReadoutProducer::produce(), trigscint::QIEDecoder::produce(), trigscint::TrigScintQIEDigiProducer::produce(), and trigscint::ZCCMDecoder::produce().
|
inline |
Store the event time since spill counter.
Definition at line 88 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 158 of file TrigScintQIEDigis.h.
Referenced by getADC(), trigscint::EventReadout::print(), and setADC().
|
private |
Definition at line 169 of file TrigScintQIEDigis.h.
|
private |
Definition at line 170 of file TrigScintQIEDigis.h.
|
protected |
channel ID
Definition at line 149 of file TrigScintQIEDigis.h.
Referenced by getChanID(), trigscint::EventReadout::operator<(), operator<(), trigscint::EventReadout::print(), and setChanID().
|
private |
capacitor IDs
Definition at line 168 of file TrigScintQIEDigis.h.
|
protected |
channel ID
Definition at line 151 of file TrigScintQIEDigis.h.
Referenced by getElecID(), and setElecID().
|
protected |
lane ID (fiber)
Definition at line 155 of file TrigScintQIEDigis.h.
Referenced by getLaneID(), and setLaneID().
|
protected |
module ID (pad)
Definition at line 153 of file TrigScintQIEDigis.h.
Referenced by getModuleID(), and setModuleID().
|
protected |
Time to Digital counts.
Definition at line 161 of file TrigScintQIEDigis.h.
|
protected |
Time since spill (a counter, to be divided by 125e6 or so)
Definition at line 164 of file TrigScintQIEDigis.h.
Referenced by getTimeSinceSpill(), and setTimeSinceSpill().