Go to the documentation of this file. 1 #ifndef __ANTARESDAQ__ARS__
2 #define __ANTARESDAQ__ARS__
65 return out << setw(2) << setfill(
'0') << hex << (int)
object.
status
66 << setw(6) << setfill(
'0') << hex <<
object.timestamp
67 << setfill(
' ') << dec;
123 out << static_cast<const Status_Item&>(
object);
124 out << setw(2) << hex <<
object.crm << dec;
167 out << static_cast<const Status_Item&>(
object);
168 out << setw(2) << setfill(
'0') << hex << (int)
object.avc
169 << setw(2) << setfill(
'0') << hex << (int)
object.tvc
170 << setfill(
' ') << dec;
271 static const unsigned int NUMBER_OF_SAMPLES = 128;
274 T data_[NUMBER_OF_SAMPLES];
349 const unsigned char tvc)
461 if (firstTvcInUse == secondTvcInUse)
462 return first.
tvc < second.
tvc;
464 return firstTvcInUse < secondTvcInUse;
virtual ~ARS_Item()
Virtual destructor.
bool operator!=(const Status_Item &first, const Status_Item &second)
not-equal operator for Status item
AWF_Sample()
Default constructor.
DWF_Sample()
Default constructor.
DWF_Item()
Default constructor.
unsigned char tvc
ARS Time to Voltage Convertor.
unsigned char status
ARS status.
RTS_Item()
Default constructor.
unsigned char crm
ARS Count Rate Monitor value.
const T & operator[](const int i)
access to waveform data
friend std::ostream & operator<<(std::ostream &out, const SPE_Item &object)
Print ASCII.
friend std::ostream & operator<<(std::ostream &out, const Status_Item &object)
Print ASCII.
unsigned char avc
ARS Analogue to Voltage Convertor.
unsigned int timestamp
ARS timestamp (24 bits)
AWF_Item()
Default constructor.
Status_Item()
Default constructor.
SPE_Item()
Default constructor.
bool operator<(const Status_Item &first, const Status_Item &second)
comparator for Status item; earliest hit first
const typedef T * const_iterator
const iterator
unsigned char dynode1
AVC dynode 1.
ClassDef(Status_Item, 2)
ROOT class definition.
iterator begin()
begin iterator of waveform data
CRM_Item()
Default constructor.
WF_Item()
Default constructor.
virtual ~AWF_Sample()
Virtual destructor.
unsigned char dynode2
AVC dynode 2.
int getTVC(const unsigned int timestamp, const unsigned char tvc)
Determine the TVC number.
iterator end()
end iterator of waveform data
friend std::ostream & operator<<(std::ostream &out, const CRM_Item &object)
Print ASCII.
bool operator==(const Status_Item &first, const Status_Item &second)
equal operator for Status item
static const double ARS_TIMESTAMP_NS
ARS timestamp LSB [ns].