Auxiliary class to convert DAQ/trigger hit time to/from Monte Carlo hit time.  
 More...
#include <JTimeConverter.hh>
Auxiliary class to convert DAQ/trigger hit time to/from Monte Carlo hit time. 
Definition at line 36 of file JTimeConverter.hh.
 
◆ JTimeConverter() [1/2]
  
  
      
        
          | JTRIGGER::JTimeConverter::JTimeConverter  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JTimeConverter() [2/2]
  
  
      
        
          | JTRIGGER::JTimeConverter::JTimeConverter  | 
          ( | 
          const Evt &  | 
          event,  | 
         
        
           | 
           | 
          const JDAQChronometer &  | 
          chronometer  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | event | Monte Carlo event  | 
    | chronometer | DAQ chronometer  | 
  
   
Definition at line 54 of file JTimeConverter.hh.
 
 
◆ getTime() [1/5]
  
  
      
        
          | double JTRIGGER::JTimeConverter::getTime  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get DAQ/trigger minus Monte Carlo hit time. 
- Returns
 - time difference [ns] 
 
Definition at line 66 of file JTimeConverter.hh.
 
 
◆ putTime() [1/3]
  
  
      
        
          | double JTRIGGER::JTimeConverter::putTime  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get Monte Carlo minus DAQ/trigger hit time. 
- Returns
 - time difference [ns] 
 
Definition at line 77 of file JTimeConverter.hh.
 
 
◆ getTime() [2/5]
  
  
      
        
          | double JTRIGGER::JTimeConverter::getTime  | 
          ( | 
          const double  | 
          t0 | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get Monte Carlo hit time. 
- Parameters
 - 
  
    | t0 | DAQ/trigger hit time [ns]  | 
  
   
- Returns
 - Monte Carlo hit time [ns] 
 
Definition at line 89 of file JTimeConverter.hh.
 
 
◆ putTime() [2/3]
  
  
      
        
          | double JTRIGGER::JTimeConverter::putTime  | 
          ( | 
          const double  | 
          t0 | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get DAQ hit time. 
- Parameters
 - 
  
    | t0 | Monte Carlo hit time [ns]  | 
  
   
- Returns
 - DAQ/trigger hit time [ns] 
 
Definition at line 101 of file JTimeConverter.hh.
 
 
◆ getTime() [3/5]
  
  
      
        
          | double JTRIGGER::JTimeConverter::getTime  | 
          ( | 
          const JHit &  | 
          hit | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get Monte Carlo hit time. 
- Parameters
 - 
  
  
 
- Returns
 - Monte Carlo hit time [ns] 
 
Definition at line 113 of file JTimeConverter.hh.
 
 
◆ getTime() [4/5]
  
  
      
        
          | double JTRIGGER::JTimeConverter::getTime  | 
          ( | 
          const JHitL1 &  | 
          hit | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get Monte Carlo hit time. 
- Parameters
 - 
  
  
 
- Returns
 - Monte Carlo hit time [ns] 
 
Definition at line 125 of file JTimeConverter.hh.
 
 
◆ getTime() [5/5]
  
  
      
        
          | double JTRIGGER::JTimeConverter::getTime  | 
          ( | 
          const JDAQHit &  | 
          hit,  | 
         
        
           | 
           | 
          const JCalibration &  | 
          calibration  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Get Monte Carlo hit time. 
- Parameters
 - 
  
    | hit | DAQ hit  | 
    | calibration | PMT calibration  | 
  
   
- Returns
 - Monte Carlo hit time [ns] 
 
Definition at line 138 of file JTimeConverter.hh.
 
 
◆ putTime() [3/3]
  
  
      
        
          | double JTRIGGER::JTimeConverter::putTime  | 
          ( | 
          const Hit &  | 
          hit | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get DAQ hit time. 
- Parameters
 - 
  
    | hit | Monte Carlo hit time [ns]  | 
  
   
- Returns
 - DAQ hit time [ns] 
 
Definition at line 150 of file JTimeConverter.hh.
 
 
◆ __t0
  
  
      
        
          | double JTRIGGER::JTimeConverter::__t0 | 
         
       
   | 
  
protected   | 
  
 
 
◆ __t1
  
  
      
        
          | double JTRIGGER::JTimeConverter::__t1 | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: