Auxiliary class to determine value of DAQ objects.  
 More...
#include <JDAQEvaluator.hh>
Auxiliary class to determine value of DAQ objects. 
Definition at line 18 of file JDAQEvaluator.hh.
 
◆ JDAQEvaluator()
  
  
      
        
          | KM3NETDAQ::JDAQEvaluator::JDAQEvaluator  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator()() [1/3]
  
  
      
        
          | double KM3NETDAQ::JDAQEvaluator::operator()  | 
          ( | 
          const JDAQUTCExtended &  | 
          object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get value of object. 
- Parameters
 - 
  
  
 
- Returns
 - value 
 
Definition at line 32 of file JDAQEvaluator.hh.
   34       return object.getTimeNanoSecond();
 
 
 
 
◆ operator()() [2/3]
  
  
      
        
          | double KM3NETDAQ::JDAQEvaluator::operator()  | 
          ( | 
          const JDAQHeader &  | 
          object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get value of object. 
- Parameters
 - 
  
  
 
- Returns
 - value 
 
Definition at line 44 of file JDAQEvaluator.hh.
   46       return(*
this)(
object.getTimesliceStart());
 
 
 
 
◆ operator()() [3/3]
  
  
      
        
          | double KM3NETDAQ::JDAQEvaluator::operator()  | 
          ( | 
          const JDAQEvent &  | 
          object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get value of event. 
- Parameters
 - 
  
  
 
- Returns
 - value 
 
Definition at line 56 of file JDAQEvaluator.hh.
   58       return object.getTimesliceStart().getTimeNanoSecond()  +  
object.getCounter() * 
getWeight();
 
 
 
 
◆ getWeight()
  
  
      
        
          | static double KM3NETDAQ::JDAQEvaluator::getWeight  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Get relative weight for JDAQEvent evaluation. 
This value should be less than the ratio of the expected maximum number of events in a single data taking run and the frame duration in units of nano seconds.
- Returns
 - weigth [ns] 
 
Definition at line 71 of file JDAQEvaluator.hh.
 
 
The documentation for this struct was generated from the following file: