DAQ super frame header.
More...
#include <JDAQSuperFrameHeader.hh>
DAQ super frame header.
Definition at line 19 of file JDAQSuperFrameHeader.hh.
◆ JDAQSuperFrameHeader() [1/3]
| KM3NETDAQ::JDAQSuperFrameHeader::JDAQSuperFrameHeader |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 33 of file JDAQSuperFrameHeader.hh.
33 :
37 {}
JDAQFrameStatus()
Default constructor.
JDAQModuleIdentifier()
Default constructor.
◆ JDAQSuperFrameHeader() [2/3]
Constructor.
- Parameters
-
| chronometer | chronometer |
| id | module identifier |
Definition at line 46 of file JDAQSuperFrameHeader.hh.
47 :
51 {}
Template definition of a multi-dimensional oscillation probability interpolation table.
static const JDAQFrameStatus & getInstance()
Get reference to unique instance of this class object.
◆ JDAQSuperFrameHeader() [3/3]
Constructor.
- Parameters
-
| chronometer | chronometer |
| id | module identifier |
| status | frame status |
Definition at line 61 of file JDAQSuperFrameHeader.hh.
◆ getDAQSuperFrameHeader()
◆ setDAQSuperFrameHeader()
◆ ClassDef() [1/3]
◆ getDAQHeader()
Get DAQ header.
- Returns
- DAQ header
Definition at line 49 of file JDAQHeader.hh.
◆ setDAQHeader()
◆ ClassDef() [2/3]
| KM3NETDAQ::JDAQHeader::ClassDef |
( |
JDAQHeader | , |
|
|
2 | ) |
|
inherited |
◆ ClassDef() [3/3]
◆ getDAQChronometer()
◆ setDAQChronometer()
Set DAQ chronometer.
- Parameters
-
| chronometer | DAQ chronometer |
Definition at line 99 of file JDAQChronometer.hh.
◆ getDetectorID()
| int KM3NETDAQ::JDAQChronometer::getDetectorID |
( |
| ) |
const |
|
inlineinherited |
◆ getRunNumber()
| int KM3NETDAQ::JDAQChronometer::getRunNumber |
( |
| ) |
const |
|
inlineinherited |
◆ getFrameIndex()
| int KM3NETDAQ::JDAQChronometer::getFrameIndex |
( |
| ) |
const |
|
inlineinherited |
◆ getTimesliceStart()
Get start of timeslice.
- Returns
- timeslice start
Definition at line 144 of file JDAQChronometer.hh.
145 {
147 }
JDAQUTCExtended timeslice_start
◆ setRunNumber()
| void KM3NETDAQ::JDAQChronometer::setRunNumber |
( |
const int | run | ) |
|
|
inlineinherited |
◆ setFrameIndex()
| void KM3NETDAQ::JDAQChronometer::setFrameIndex |
( |
const int | frame_index | ) |
|
|
inlineinherited |
◆ setTimesliceStart()
Set timeslice start time.
- Parameters
-
| timeslice_start | timeslice start time |
Definition at line 177 of file JDAQChronometer.hh.
◆ getModuleIdentifier()
Get Module identifier.
- Returns
- Module identifier
Definition at line 50 of file JDAQModuleIdentifier.hh.
51 {
52 return *this;
53 }
◆ setModuleIdentifier()
◆ getModuleID()
| int KM3NETDAQ::JDAQModuleIdentifier::getModuleID |
( |
| ) |
const |
|
inlineinherited |
◆ ClassDefNV() [1/2]
◆ getInstance()
Get reference to unique instance of this class object.
This instance has default values which correspond to a valid DAQ frame status.
- Returns
- reference to this class object
Definition at line 65 of file JDAQFrameStatus.hh.
66 {
70
72 }
JWriter & write(JWriter &out) const override final
Write from input.
static const JBits DAQ_UDP_RECEIVED_PACKETS(0, 15)
Mask of UDP received packets.
static const JBits DAQ_UDP_SEQUENCE_NUMBER(16, 31)
Mask of UDP sequence number.
static const JBits DAQ_FIFO(0, 30)
FIFO almost full bits.
static const JBit DAQ_WHITE_RABBIT(31)
White Rabbit status.
static const JBit DAQ_UDP_TRAILER(31)
UDP trailer.
◆ getDAQFrameStatus()
◆ setDAQFrameStatus()
◆ getDAQStatus()
| int KM3NETDAQ::JDAQFrameStatus::getDAQStatus |
( |
| ) |
const |
|
inlineinherited |
◆ getStatus()
| int KM3NETDAQ::JDAQFrameStatus::getStatus |
( |
| ) |
const |
|
inlineinherited |
◆ getFIFOStatus()
| int KM3NETDAQ::JDAQFrameStatus::getFIFOStatus |
( |
| ) |
const |
|
inlineinherited |
◆ testDAQStatus()
| bool KM3NETDAQ::JDAQFrameStatus::testDAQStatus |
( |
| ) |
const |
|
inlineinherited |
Test DAQ status of packets.
- Returns
- true if okay; else false
Definition at line 135 of file JDAQFrameStatus.hh.
136 {
138 }
int getUDPNumberOfReceivedPackets() const
Get number of received UDP packets.
bool hasUDPTrailer() const
Get UDP trailer status.
int getUDPMaximalSequenceNumber() const
Get maximal sequence number of UDP packet.
◆ testStatus()
| bool KM3NETDAQ::JDAQFrameStatus::testStatus |
( |
| ) |
const |
|
inlineinherited |
Test TDC and White Rabbit status.
- Returns
- true if okay; else false
Definition at line 146 of file JDAQFrameStatus.hh.
147 {
149 }
bool testTDCStatus() const
Test TDC status.
bool testWhiteRabbitStatus() const
Test White Rabbit status.
◆ getUDPNumberOfReceivedPackets()
| int KM3NETDAQ::JDAQFrameStatus::getUDPNumberOfReceivedPackets |
( |
| ) |
const |
|
inlineinherited |
Get number of received UDP packets.
- Returns
- UDP received packets
Definition at line 157 of file JDAQFrameStatus.hh.
158 {
160 }
JReader & read(JReader &in) override final
Read from input.
◆ getUDPMaximalSequenceNumber()
| int KM3NETDAQ::JDAQFrameStatus::getUDPMaximalSequenceNumber |
( |
| ) |
const |
|
inlineinherited |
Get maximal sequence number of UDP packet.
- Returns
- UDP sequence number
Definition at line 168 of file JDAQFrameStatus.hh.
◆ testWhiteRabbitStatus()
| bool KM3NETDAQ::JDAQFrameStatus::testWhiteRabbitStatus |
( |
| ) |
const |
|
inlineinherited |
Test White Rabbit status.
- Returns
- true if okay; else false
Definition at line 179 of file JDAQFrameStatus.hh.
◆ testTDCStatus()
| bool KM3NETDAQ::JDAQFrameStatus::testTDCStatus |
( |
| ) |
const |
|
inlineinherited |
Test TDC status.
- Returns
- true if okay; else false
Definition at line 190 of file JDAQFrameStatus.hh.
191 {
193 }
bool testHighRateVeto() const
Test high-rate veto status.
◆ testHighRateVeto() [1/2]
| bool KM3NETDAQ::JDAQFrameStatus::testHighRateVeto |
( |
| ) |
const |
|
inlineinherited |
Test high-rate veto status.
- Returns
- true if one of the TDCs is high-rate vetoed; else false
Definition at line 201 of file JDAQFrameStatus.hh.
202 {
204 }
static const JBits DAQ_TDC(0, 30)
TDC high-rate veto status.
◆ testHighRateVeto() [2/2]
| bool KM3NETDAQ::JDAQFrameStatus::testHighRateVeto |
( |
const int | tdc | ) |
const |
|
inlineinherited |
Test high-rate veto status.
- Parameters
-
- Returns
- true if TDC is high-rate vetoed; else false
Definition at line 213 of file JDAQFrameStatus.hh.
214 {
216 }
Auxiliary data structure for single bit.
bool has(const int mask) const
Test bit.
◆ countHighRateVeto()
| int KM3NETDAQ::JDAQFrameStatus::countHighRateVeto |
( |
| ) |
const |
|
inlineinherited |
Count high-rate veto status.
- Returns
- number of the TDCs with high-rate veto
Definition at line 224 of file JDAQFrameStatus.hh.
225 {
227
232 }
233 }
234 }
235
237 }
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
◆ testFIFOStatus() [1/2]
| bool KM3NETDAQ::JDAQFrameStatus::testFIFOStatus |
( |
| ) |
const |
|
inlineinherited |
Test FIFO status.
- Returns
- true if one of the TDCs has FIFO almost full; else false
Definition at line 245 of file JDAQFrameStatus.hh.
◆ testFIFOStatus() [2/2]
| bool KM3NETDAQ::JDAQFrameStatus::testFIFOStatus |
( |
const int | tdc | ) |
const |
|
inlineinherited |
Test FIFO status.
- Parameters
-
- Returns
- true if FIFO is almost full; else false
Definition at line 257 of file JDAQFrameStatus.hh.
◆ countFIFOStatus()
| int KM3NETDAQ::JDAQFrameStatus::countFIFOStatus |
( |
| ) |
const |
|
inlineinherited |
Count FIFO status.
- Returns
- number of the TDCs with FIFO almost full
Definition at line 268 of file JDAQFrameStatus.hh.
269 {
271
276 }
277 }
278 }
279
281 }
bool testFIFOStatus() const
Test FIFO status.
◆ countActiveChannels()
| int KM3NETDAQ::JDAQFrameStatus::countActiveChannels |
( |
| ) |
const |
|
inlineinherited |
Count active channels.
- Returns
- number of TDCs without high rate veto or FIFO almost full
Definition at line 287 of file JDAQFrameStatus.hh.
288 {
290
295 }
296 }
297 }
298
300
301 }
◆ hasUDPTrailer()
| bool KM3NETDAQ::JDAQFrameStatus::hasUDPTrailer |
( |
| ) |
const |
|
inlineinherited |
Get UDP trailer status.
- Returns
- true if UDP trailer present; else false
Definition at line 309 of file JDAQFrameStatus.hh.
◆ setHighRateVeto()
Set high-rate veto.
- Parameters
-
Definition at line 321 of file JDAQFrameStatus.hh.
322 {
324 }
void set(int &mask) const
Set bit in given bit mask.
◆ ClassDefNV() [2/2]
◆ getSizeof
Definition of method to get size of data type.
This method should be specialised for each desired data type with fixed length.
- Returns
- number of bytes
◆ operator>>
Read DAQ super frame header from input.
- Parameters
-
| in | reader |
| header | DAQ super frame header |
- Returns
- reader
Definition at line 39 of file JDAQSuperFrameHeaderIO.hh.
40 {
44
45 return in;
46 }
◆ operator<<
Write DAQ super frame header to output.
- Parameters
-
| out | writer |
| header | DAQ supe frame header |
- Returns
- writer
Definition at line 56 of file JDAQSuperFrameHeaderIO.hh.
57 {
61
62 return out;
63 }
◆ detector_id
| int KM3NETDAQ::JDAQChronometer::detector_id |
|
protectedinherited |
◆ run
| int KM3NETDAQ::JDAQChronometer::run |
|
protectedinherited |
◆ frame_index
| int KM3NETDAQ::JDAQChronometer::frame_index |
|
protectedinherited |
◆ timeslice_start
◆ id
| int KM3NETDAQ::JDAQModuleIdentifier::id |
|
protectedinherited |
◆ daq
| int KM3NETDAQ::JDAQFrameStatus::daq |
|
protectedinherited |
◆ status
| int KM3NETDAQ::JDAQFrameStatus::status |
|
protectedinherited |
◆ fifo
| int KM3NETDAQ::JDAQFrameStatus::fifo |
|
protectedinherited |
◆ status_3
| int KM3NETDAQ::JDAQFrameStatus::status_3 |
|
protectedinherited |
◆ status_4
| int KM3NETDAQ::JDAQFrameStatus::status_4 |
|
protectedinherited |
The documentation for this class was generated from the following file: