| 
    Jpp
    17.3.0
    
   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.  More... | |
| JDAQSummaryFrame (const JDAQModuleIdentifier &id) | |
| Constructor.  More... | |
| JDAQSummaryFrame (const JDAQSuperFrame &input) | |
| Constructor.  More... | |
| const JDAQRate & | operator[] (const int tdc) const | 
| Get DAQ rate of given PMT.  More... | |
| JDAQRate & | operator[] (const int tdc) | 
| Get DAQ rate of given PMT.  More... | |
| double | getValue (const int tdc) const | 
| Get value.  More... | |
| double | getRate (const int tdc, const double factor=1.0) const | 
| Get count rate.  More... | |
| double | getWeight (const int tdc, const double factor=1.0) const | 
| Get weight.  More... | |
| void | setRate (const int tdc, const double rate_Hz) | 
| Set count rate.  More... | |
| ClassDefNV (JDAQSummaryFrame, 2) | |
| const JDAQModuleIdentifier & | getModuleIdentifier () const | 
| Get Module identifier.  More... | |
| void | setModuleIdentifier (const JDAQModuleIdentifier &module) | 
| Set Module identifier.  More... | |
| int | getModuleID () const | 
| Get module identifier.  More... | |
| ClassDefNV (JDAQModuleIdentifier, 1) | |
| const JDAQFrameStatus & | getDAQFrameStatus () const | 
| Get DAQ frame status.  More... | |
| void | setDAQFrameStatus (const JDAQFrameStatus &status) | 
| Set DAQ frame status.  More... | |
| int | getDAQStatus () const | 
| Get DAQ status.  More... | |
| int | getStatus () const | 
| Get TDC and White Rabbit status.  More... | |
| int | getFIFOStatus () const | 
| Get FIFO status.  More... | |
| bool | testDAQStatus () const | 
| Test DAQ status of packets.  More... | |
| bool | testStatus () const | 
| Test TDC and White Rabbit status.  More... | |
| int | getUDPNumberOfReceivedPackets () const | 
| Get number of received UDP packets.  More... | |
| int | getUDPMaximalSequenceNumber () const | 
| Get maximal sequence number of UDP packet.  More... | |
| bool | testWhiteRabbitStatus () const | 
| Test White Rabbit status.  More... | |
| bool | testTDCStatus () const | 
| Test TDC status.  More... | |
| bool | testHighRateVeto () const | 
| Test high-rate veto status.  More... | |
| bool | testHighRateVeto (const int tdc) const | 
| Test high-rate veto status.  More... | |
| int | countHighRateVeto () const | 
| Count high-rate veto status.  More... | |
| bool | testFIFOStatus () const | 
| Test FIFO status.  More... | |
| bool | testFIFOStatus (const int tdc) const | 
| Test FIFO status.  More... | |
| int | countFIFOStatus () const | 
| Count FIFO status.  More... | |
| int | countActiveChannels () const | 
| Count active channels.  More... | |
| bool | hasUDPTrailer () const | 
| Get UDP trailer status.  More... | |
| void | setHighRateVeto (const int tdc, const bool value) | 
| Set high-rate veto.  More... | |
| ClassDefNV (JDAQFrameStatus, 1) | |
Static Public Member Functions | |
| static const JDAQFrameStatus & | getInstance () | 
| Get reference to unique instance of this class object.  More... | |
Static Public Attributes | |
| static int | ROOT_IO_VERSION = -1 | 
| Streamer version of JDAQSummaryslice as obtained from ROOT file.  More... | |
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.  More... | |
| JReader & | operator>> (JReader &, JDAQSummaryFrame &) | 
| Read DAQ summary frame from input.  More... | |
| JWriter & | operator<< (JWriter &, const JDAQSummaryFrame &) | 
| Write DAQ summary frame to output.  More... | |
Data storage class for rate measurements of all PMTs in one module.
Definition at line 320 of file JDAQSummaryFrame.hh.
Definition at line 326 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Default constructor.
Definition at line 335 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Constructor.
| id | module identifier | 
Definition at line 346 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 361 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Get DAQ rate of given PMT.
| tdc | TDC | 
Definition at line 413 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Get DAQ rate of given PMT.
| tdc | TDC | 
Definition at line 428 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Get value.
| tdc | TDC | 
Definition at line 443 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Get count rate.
| tdc | TDC | 
| factor | scaling factor | 
Definition at line 456 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Get weight.
| tdc | TDC | 
| factor | scaling factor | 
Definition at line 469 of file JDAQSummaryFrame.hh.
      
  | 
  inline | 
Set count rate.
| tdc | TDC | 
| rate_Hz | rate [Hz] | 
Definition at line 481 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 | 
Test TDC status.
Definition at line 190 of file JDAQFrameStatus.hh.
      
  | 
  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 | 
      
  | 
  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 487 of file JDAQSummaryFrame.hh.
      
  | 
  protected | 
Definition at line 495 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.
 1.8.5