Auxiliary class to determine value of DAQ objects.  
 More...
#include <JDAQEvaluator.hh>
Auxiliary class to determine value of DAQ objects. 
Definition at line 17 of file JDAQEvaluator.hh.
 
  
  
      
        
          | KM3NETDAQ::JDAQEvaluator::JDAQEvaluator  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
  
  
      
        
          | double KM3NETDAQ::JDAQEvaluator::operator()  | 
          ( | 
          const JDAQHeader &  | 
          object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get value of object. 
- Parameters
 - 
  
  
 
- Returns
 - value 
 
Definition at line 31 of file JDAQEvaluator.hh.
   33       return object.getTimesliceStart().getTimeNanoSecond();
 
 
 
 
  
  
      
        
          | double KM3NETDAQ::JDAQEvaluator::operator()  | 
          ( | 
          const JDAQEvent &  | 
          object | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get value of event. 
- Parameters
 - 
  
  
 
- Returns
 - value 
 
Definition at line 43 of file JDAQEvaluator.hh.
   45       return object.getTimesliceStart().getTimeNanoSecond()  +  
object.getCounter() * 
getWeight();
 
static double getWeight()
Get relative weight for JDAQEvent evaluation. 
 
 
 
 
  
  
      
        
          | 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 58 of file JDAQEvaluator.hh.
 
 
The documentation for this struct was generated from the following file: