1 #ifndef __JTRIGGER__JTRIGGERTOOLKIT__ 
    2 #define __JTRIGGER__JTRIGGERTOOLKIT__ 
   20 namespace JPP { 
using namespace JTRIGGER; }
 
  156     double rate_Hz = frame.
getRate(pmt, factor);
 
  164       rate_Hz *= (double) (n2 + 1) / (double) n1;
 
Data structure for all trigger parameters. 
 
double getRate(const int tdc, const double factor=1.0) const 
Get count rate. 
 
double DMax_m
maximal distance between PMTs [m] 
 
Data structure for a composite optical module. 
 
bool hasUDPTrailer() const 
Get UDP trailer status. 
 
double getIndexOfRefraction()
Get average index of refraction of water corresponding to group velocity. 
 
static const int HIGH_RATE_VETO_DISABLE
Enable (disable) use of high-rate veto test if this status bit is 0 (1);. 
 
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
 
int getUDPNumberOfReceivedPackets() const 
Get number of received UDP packets. 
 
JTimeRange getTimeRange(const Evt &event)
Get time range (i.e. time between earliest and latest hit) of Monte Carlo event. 
 
double TMaxEvent_ns
maximal time before and after event for snapshot 
 
int getUDPMaximalSequenceNumber() const 
Get maximal sequence number of UDP packet. 
 
double getRate(const JDAQSummaryFrame &frame, const int pmt, const double factor=1.0)
Get corrected rate of PMT. 
 
bool has(const int bit) const 
Test PMT status. 
 
Data storage class for rate measurements of all PMTs in one module. 
 
Auxiliary class for handling status. 
 
static const int PMT_DISABLE
KM3NeT Data Definitions v3.0.0-3-gef79250 https://git.km3net.de/common/km3net-dataformat. 
 
static const int UDP_TRAILER_DISABLE
Enable (disable) use of UDP packet trailer test if this status bit is 0 (1);. 
 
const JPMT & getPMT(const int index) const 
Get PMT. 
 
static const int FIFO_FULL_DISABLE
Enable (disable) use of FIFO (almost) full test if this status bit is 0 (1);. 
 
bool testHighRateVeto() const 
Test high-rate veto status. 
 
bool getPMTStatus(const JStatus &status)
Test status of PMT. 
 
JTOOLS::JRange< double > JTimeRange
Type definition for time range (unit [ns]). 
 
const double getInverseSpeedOfLight()
Get inverse speed of light. 
 
bool getDAQStatus(const JDAQFrameStatus &frame, const JStatus &status)
Test status of DAQ. 
 
JTOOLS::JRange< double > JTimeRange
Type definition for time range (unit [s]). 
 
Data structure for optical module. 
 
bool testFIFOStatus() const 
Test FIFO status. 
 
static const int UDP_COUNTER_DISABLE
Enable (disable) use of UDP packet counter test if this status bit is 0 (1);.