Data structure for time calibration.  
 More...
#include <JCalibration.hh>
Data structure for time calibration. 
Definition at line 41 of file JDetector/JCalibration.hh.
 
◆ JCalibration() [1/2]
  
  
      
        
          | JDETECTOR::JCalibration::JCalibration  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JCalibration() [2/2]
  
  
      
        
          | JDETECTOR::JCalibration::JCalibration  | 
          ( | 
          const double |           __t0 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getCalibration() [1/2]
  
  
      
        
          | const JCalibration & JDETECTOR::JCalibration::getCalibration  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getCalibration() [2/2]
◆ setCalibration()
  
  
      
        
          | void JDETECTOR::JCalibration::setCalibration  | 
          ( | 
          const JCalibration & |           cal | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ getT0()
  
  
      
        
          | double JDETECTOR::JCalibration::getT0  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ setT0()
  
  
      
        
          | void JDETECTOR::JCalibration::setT0  | 
          ( | 
          const double |           t0 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ addT0()
  
  
      
        
          | void JDETECTOR::JCalibration::addT0  | 
          ( | 
          const double |           t0 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ subT0()
  
  
      
        
          | void JDETECTOR::JCalibration::subT0  | 
          ( | 
          const double |           t0 | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator>> [1/2]
  
  
      
        
          | std::istream & operator>>  | 
          ( | 
          std::istream & |           in,  | 
         
        
           | 
           | 
          JCalibration & |           cal ) | 
         
       
   | 
  
friend   | 
  
 
Read calibration from input. 
- Parameters
 - 
  
    | in | input stream  | 
    | cal | calibration  | 
  
   
- Returns
 - input stream 
 
Definition at line 146 of file JDetector/JCalibration.hh.
  147    {
  148      in >> cal.t0;
  149 
  150      return in;
  151    }
 
 
 
◆ operator<< [1/2]
  
  
      
        
          | std::ostream & operator<<  | 
          ( | 
          std::ostream & |           out,  | 
         
        
           | 
           | 
          const JCalibration & |           cal ) | 
         
       
   | 
  
friend   | 
  
 
Write calibration to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | cal | calibration  | 
  
   
- Returns
 - output stream 
 
Definition at line 161 of file JDetector/JCalibration.hh.
  162    {
  164 
  165      out << format << cal.t0;
  166 
  167      return out;
  168    }
JFormat_t & getFormat()
Get format for given type.
 
 
 
 
◆ operator>> [2/2]
Read calibration from input. 
- Parameters
 - 
  
  
 
- Returns
 - reader 
 
Definition at line 178 of file JDetector/JCalibration.hh.
  179    {
  180      in >> cal.t0;
  181 
  182      return in;
  183    }
 
 
 
◆ operator<< [2/2]
Write calibration to output. 
- Parameters
 - 
  
  
 
- Returns
 - writer 
 
Definition at line 193 of file JDetector/JCalibration.hh.
  194    {
  195      out << cal.t0;
  196 
  197      return out;
  198    }
 
 
 
◆ t0
  
  
      
        
          | double JDETECTOR::JCalibration::t0 | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: