|
Jpp 20.0.0-rc.3
the software that should make you happy
|
Data storage class for rate measurements of all PMTs in one module. More...
#include <JDAQSummaryFrame.hh>
Public Types | |
| typedef JDAQRate::JRate_t | JRate_t |
Public Member Functions | |
| JDAQSummaryFrame () | |
| Default constructor. | |
| JDAQSummaryFrame (const JDAQModuleIdentifier &id) | |
| Constructor. | |
| JDAQSummaryFrame (const JDAQSuperFrame &input) | |
| Constructor. | |
| const JDAQRate & | operator[] (const int tdc) const |
| Get DAQ rate of given PMT. | |
| JDAQRate & | operator[] (const int tdc) |
| Get DAQ rate of given PMT. | |
| JRate_t | getValue (const int tdc) const |
| Get value. | |
| double | getRate (const int tdc, const double factor=1.0) const |
| Get count rate. | |
| double | getWeight (const int tdc, const double factor=1.0) const |
| Get weight. | |
| void | setRate (const int tdc, const double rate_Hz) |
| Set count rate. | |
| ClassDefNV (JDAQSummaryFrame, 2) | |
| const JDAQModuleIdentifier & | getModuleIdentifier () const |
| Get Module identifier. | |
| void | setModuleIdentifier (const JDAQModuleIdentifier &module) |
| Set Module identifier. | |
| int | getModuleID () const |
| Get module identifier. | |
| ClassDefNV (JDAQModuleIdentifier, 1) | |
| const JDAQFrameStatus & | getDAQFrameStatus () const |
| Get DAQ frame status. | |
| void | setDAQFrameStatus (const JDAQFrameStatus &status) |
| Set DAQ frame status. | |
| int | getDAQStatus () const |
| Get DAQ status. | |
| int | getStatus () const |
| Get TDC and White Rabbit status. | |
| int | getFIFOStatus () const |
| Get FIFO status. | |
| bool | testDAQStatus () const |
| Test DAQ status of packets. | |
| bool | testStatus () const |
| Test TDC and White Rabbit status. | |
| int | getUDPNumberOfReceivedPackets () const |
| Get number of received UDP packets. | |
| int | getUDPMaximalSequenceNumber () const |
| Get maximal sequence number of UDP packet. | |
| bool | testWhiteRabbitStatus () const |
| Test White Rabbit status. | |
| bool | testTDCStatus () const |
| Test TDC status. | |
| bool | testHighRateVeto () const |
| Test high-rate veto status. | |
| bool | testHighRateVeto (const int tdc) const |
| Test high-rate veto status. | |
| int | countHighRateVeto () const |
| Count high-rate veto status. | |
| bool | testFIFOStatus () const |
| Test FIFO status. | |
| bool | testFIFOStatus (const int tdc) const |
| Test FIFO status. | |
| int | countFIFOStatus () const |
| Count FIFO status. | |
| int | countActiveChannels () const |
| Count active channels. | |
| bool | hasUDPTrailer () const |
| Get UDP trailer status. | |
| void | setHighRateVeto (const int tdc, const bool value) |
| Set high-rate veto. | |
| ClassDefNV (JDAQFrameStatus, 1) | |
Static Public Member Functions | |
| static const JDAQFrameStatus & | getInstance () |
| Get reference to unique instance of this class object. | |
Static Public Attributes | |
| static int | ROOT_IO_VERSION = -1 |
| Streamer version of JDAQSummaryslice as obtained from ROOT file. | |
Protected Attributes | |
| JDAQRate | data [NUMBER_OF_PMTS] |
| int | id |
| int | daq |
| int | status |
| int | fifo |
| int | status_3 |
| int | status_4 |
Friends | |
| size_t | getSizeof () |
| Definition of method to get size of data type. | |
| JReader & | operator>> (JReader &in, JDAQSummaryFrame &summary) |
| Read DAQ summary frame from input. | |
| JWriter & | operator<< (JWriter &out, const JDAQSummaryFrame &summary) |
| Write DAQ summary frame to output. | |
Data storage class for rate measurements of all PMTs in one module.
Definition at line 332 of file JDAQSummaryFrame.hh.
Definition at line 338 of file JDAQSummaryFrame.hh.
|
inline |
Default constructor.
Definition at line 347 of file JDAQSummaryFrame.hh.
|
inline |
Constructor.
| id | module identifier |
Definition at line 358 of file JDAQSummaryFrame.hh.
|
inline |
Constructor.
Note that normally the rate is set to the number of hits per unit frame time but if either the high-rate veto or FIFO (almost) full bit is on, the rate is set to the number of hits divided by the time of the last hit.
| input | super frame |
Definition at line 373 of file JDAQSummaryFrame.hh.
|
inline |
Get DAQ rate of given PMT.
| tdc | TDC |
Definition at line 425 of file JDAQSummaryFrame.hh.
|
inline |
Get DAQ rate of given PMT.
| tdc | TDC |
Definition at line 440 of file JDAQSummaryFrame.hh.
|
inline |
Get value.
| tdc | TDC |
Definition at line 455 of file JDAQSummaryFrame.hh.
|
inline |
Get count rate.
| tdc | TDC |
| factor | scaling factor |
Definition at line 468 of file JDAQSummaryFrame.hh.
|
inline |
Get weight.
| tdc | TDC |
| factor | scaling factor |
Definition at line 481 of file JDAQSummaryFrame.hh.
|
inline |
Set count rate.
| tdc | TDC |
| rate_Hz | rate [Hz] |
Definition at line 493 of file JDAQSummaryFrame.hh.
| KM3NETDAQ::JDAQSummaryFrame::ClassDefNV | ( | JDAQSummaryFrame | , |
| 2 | ) |
|
inlineinherited |
Get Module identifier.
Definition at line 50 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Set Module identifier.
| module | Module identifier |
Definition at line 61 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Get module identifier.
Definition at line 72 of file JDAQModuleIdentifier.hh.
|
inherited |
|
inlinestaticinherited |
Get reference to unique instance of this class object.
This instance has default values which correspond to a valid DAQ frame status.
Definition at line 65 of file JDAQFrameStatus.hh.
|
inlineinherited |
|
inlineinherited |
Set DAQ frame status.
| status | DAQ frame status |
Definition at line 91 of file JDAQFrameStatus.hh.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Test DAQ status of packets.
Definition at line 135 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test TDC and White Rabbit status.
Definition at line 146 of file JDAQFrameStatus.hh.
|
inlineinherited |
Get number of received UDP packets.
Definition at line 157 of file JDAQFrameStatus.hh.
|
inlineinherited |
Get maximal sequence number of UDP packet.
Definition at line 168 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test White Rabbit status.
Definition at line 179 of file JDAQFrameStatus.hh.
|
inlineinherited |
|
inlineinherited |
Test high-rate veto status.
Definition at line 201 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test high-rate veto status.
| tdc | TDC |
Definition at line 213 of file JDAQFrameStatus.hh.
|
inlineinherited |
Count high-rate veto status.
Definition at line 224 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test FIFO status.
Definition at line 245 of file JDAQFrameStatus.hh.
|
inlineinherited |
Test FIFO status.
| tdc | TDC |
Definition at line 257 of file JDAQFrameStatus.hh.
|
inlineinherited |
Count FIFO status.
Definition at line 268 of file JDAQFrameStatus.hh.
|
inlineinherited |
Count active channels.
Definition at line 287 of file JDAQFrameStatus.hh.
|
inlineinherited |
Get UDP trailer status.
Definition at line 309 of file JDAQFrameStatus.hh.
|
inlineinherited |
Set high-rate veto.
| tdc | TDC |
| value | value |
Definition at line 321 of file JDAQFrameStatus.hh.
|
inherited |
|
friend |
Definition of method to get size of data type.
This method should be specialised for each desired data type with fixed length.
|
friend |
Read DAQ summary frame from input.
| in | reader |
| summary | DAQ summary frame |
Definition at line 37 of file JDAQSummaryFrameIO.hh.
|
friend |
Write DAQ summary frame to output.
| out | writer |
| summary | DAQ summary frame |
Definition at line 55 of file JDAQSummaryFrameIO.hh.
|
static |
Streamer version of JDAQSummaryslice as obtained from ROOT file.
Definition at line 499 of file JDAQSummaryFrame.hh.
|
protected |
Definition at line 507 of file JDAQSummaryFrame.hh.
|
protectedinherited |
Definition at line 112 of file JDAQModuleIdentifier.hh.
|
protectedinherited |
Definition at line 330 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 331 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 332 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 333 of file JDAQFrameStatus.hh.
|
protectedinherited |
Definition at line 334 of file JDAQFrameStatus.hh.