class for storing QIE output as a binary stream
More...
#include <QIEStream.h>
|
| QIEStream ()=default |
| Default constructor.
|
|
virtual | ~QIEStream ()=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 QIEStream &rhs) const |
| A dummy operator overloading.
|
|
int | getChannelID () const |
| Get channel ID.
|
|
uint8_t | getElectronicsID () 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 | setChannelID (const int chanid) |
| Store the channel ID.
|
|
void | setElectronicsID (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.
|
|
|
int | chanID_ |
| detector channel ID (bar nb)
|
|
int | electronicsID_ |
| electronics ID
|
|
std::vector< int > | adcs_ |
| Analog to Digital counts.
|
|
std::vector< int > | tdcs_ |
| Time to Digital counts.
|
|
std::vector< int > | cids_ |
| Capacitor IDs.
|
|
class for storing QIE output as a binary stream
Definition at line 25 of file QIEStream.h.
◆ Clear()
void trigscint::QIEStream::Clear |
( |
Option_t * |
option = "" | ) |
|
A dummy function.
- Note
- required by Event/include/Event/EventDef.h
◆ getADC()
std::vector< int > trigscint::QIEStream::getADC |
( |
| ) |
const |
|
inline |
Get ADCs of all time samples.
Definition at line 66 of file QIEStream.h.
std::vector< int > adcs_
Analog to Digital counts.
References adcs_.
◆ getChannelID()
int trigscint::QIEStream::getChannelID |
( |
| ) |
const |
|
inline |
Get channel ID.
Definition at line 56 of file QIEStream.h.
int chanID_
detector channel ID (bar nb)
References chanID_.
◆ getCID()
std::vector< int > trigscint::QIEStream::getCID |
( |
| ) |
const |
|
inline |
Get Cap IDs of all time samples.
Definition at line 76 of file QIEStream.h.
std::vector< int > cids_
Capacitor IDs.
References cids_.
◆ getElectronicsID()
uint8_t trigscint::QIEStream::getElectronicsID |
( |
| ) |
const |
|
inline |
◆ getTDC()
std::vector< int > trigscint::QIEStream::getTDC |
( |
| ) |
const |
|
inline |
Get TDCs of all time samples.
Definition at line 71 of file QIEStream.h.
std::vector< int > tdcs_
Time to Digital counts.
References tdcs_.
◆ operator<()
bool trigscint::QIEStream::operator< |
( |
const QIEStream & |
rhs | ) |
const |
|
inline |
A dummy operator overloading.
- Note
- required for declaring std::vector<> in EventDef.h
Definition at line 49 of file QIEStream.h.
49 {
50 return this->
chanID_ < rhs.chanID_;
51 }
References chanID_.
◆ Print()
void trigscint::QIEStream::Print |
( |
Option_t * |
option = "" | ) |
const |
Print ifo about the class.
- Note
- required by EventDef.h
◆ setADC()
void trigscint::QIEStream::setADC |
( |
const std::vector< int > |
adc | ) |
|
|
inline |
◆ setChannelID()
void trigscint::QIEStream::setChannelID |
( |
const int |
chanid | ) |
|
|
inline |
◆ setCID()
void trigscint::QIEStream::setCID |
( |
const std::vector< int > |
cid | ) |
|
|
inline |
◆ setElectronicsID()
void trigscint::QIEStream::setElectronicsID |
( |
const int |
elecid | ) |
|
|
inline |
◆ setTDC()
void trigscint::QIEStream::setTDC |
( |
const std::vector< int > |
tdc | ) |
|
|
inline |
◆ adcs_
std::vector<int> trigscint::QIEStream::adcs_ |
|
private |
◆ chanID_
int trigscint::QIEStream::chanID_ |
|
private |
◆ CHECKSUM_POS
const int trigscint::QIEStream::CHECKSUM_POS |
|
static |
Initial value:{
CID_SKIP_POS +
FLAG_SIZE_BITS}
Definition at line 129 of file QIEStream.h.
129 {
130 CID_SKIP_POS +
131 FLAG_SIZE_BITS};
◆ CHECKSUM_SIZE_BITS
const int trigscint::QIEStream::CHECKSUM_SIZE_BITS |
|
static |
◆ CID_SKIP_POS
const int trigscint::QIEStream::CID_SKIP_POS {3} |
|
static |
◆ CID_UNSYNC_POS
const int trigscint::QIEStream::CID_UNSYNC_POS {2} |
|
static |
◆ cids_
std::vector<int> trigscint::QIEStream::cids_ |
|
private |
◆ CRC0_ERR_POS
const int trigscint::QIEStream::CRC0_ERR_POS {0} |
|
static |
◆ CRC1_ERR_POS
const int trigscint::QIEStream::CRC1_ERR_POS {1} |
|
static |
◆ electronicsID_
int trigscint::QIEStream::electronicsID_ |
|
private |
◆ ERROR_LEN_BYTES
const int trigscint::QIEStream::ERROR_LEN_BYTES {1} |
|
static |
◆ ERROR_POS
const int trigscint::QIEStream::ERROR_POS {TRIGID_POS + TRIGID_LEN_BYTES} |
|
static |
Definition at line 121 of file QIEStream.h.
121{TRIGID_POS + TRIGID_LEN_BYTES};
◆ FLAG_SIZE_BITS
const int trigscint::QIEStream::FLAG_SIZE_BITS {1} |
|
static |
◆ NUM_SAMPLES
const int trigscint::QIEStream::NUM_SAMPLES {5} |
|
static |
◆ tdcs_
std::vector<int> trigscint::QIEStream::tdcs_ |
|
private |
◆ TIMESINCESPILL_LEN_BYTES
const int trigscint::QIEStream::TIMESINCESPILL_LEN_BYTES {4} |
|
static |
◆ TIMESINCESPILL_POS
const int trigscint::QIEStream::TIMESINCESPILL_POS |
|
static |
Initial value:{TIMESTAMPCLOCK_POS +
TIMESTAMPCLOCK_LEN_BYTES}
Definition at line 116 of file QIEStream.h.
116 {TIMESTAMPCLOCK_POS +
117 TIMESTAMPCLOCK_LEN_BYTES};
◆ TIMESTAMP_LEN_BYTES
const int trigscint::QIEStream::TIMESTAMP_LEN_BYTES {4} |
|
static |
◆ TIMESTAMP_POS
const int trigscint::QIEStream::TIMESTAMP_POS {0} |
|
static |
◆ TIMESTAMPCLOCK_LEN_BYTES
const int trigscint::QIEStream::TIMESTAMPCLOCK_LEN_BYTES {4} |
|
static |
◆ TIMESTAMPCLOCK_POS
const int trigscint::QIEStream::TIMESTAMPCLOCK_POS {TIMESTAMP_POS + TIMESTAMP_LEN_BYTES} |
|
static |
Definition at line 114 of file QIEStream.h.
114{TIMESTAMP_POS + TIMESTAMP_LEN_BYTES};
◆ TRIGID_LEN_BYTES
const int trigscint::QIEStream::TRIGID_LEN_BYTES {3} |
|
static |
◆ TRIGID_POS
const int trigscint::QIEStream::TRIGID_POS {TIMESINCESPILL_POS + TIMESINCESPILL_LEN_BYTES} |
|
static |
Definition at line 119 of file QIEStream.h.
119{TIMESINCESPILL_POS + TIMESINCESPILL_LEN_BYTES};
The documentation for this class was generated from the following file: