Auxiliary class to sort pairs of PMT addresses within optical module.  
 More...
#include <JCalibrateK40.hh>
Auxiliary class to sort pairs of PMT addresses within optical module. 
Definition at line 45 of file JCalibrateK40.hh.
 
◆ JPairwiseComparator()
  
  
      
        
          | JCALIBRATE::JPairwiseComparator::JPairwiseComparator  | 
          ( | 
          const JModule &  | 
          module,  | 
         
        
           | 
           | 
          const double  | 
          epsilon = 1.0e-5  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | module | detector module  | 
    | epsilon | precision  | 
  
   
Definition at line 52 of file JCalibrateK40.hh.
 
 
◆ operator()()
  
  
      
        
          | bool JCALIBRATE::JPairwiseComparator::operator()  | 
          ( | 
          const pair_type &  | 
          first,  | 
         
        
           | 
           | 
          const pair_type &  | 
          second  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Comparison of two pairs of PMT addresses. 
- Parameters
 - 
  
    | first | first pair of PMT addresses  | 
    | second | second pair of PMT addresses  | 
  
   
- Returns
 - true if first pair has larger space angle; else false 
 
Definition at line 66 of file JCalibrateK40.hh.
   72       else if (max(first.first, first.second) == max(second.first, second.second))
 
   73         return min(first.first, first.second) < min(second.first, second.second);
 
   75         return max(first.first, first.second) < max(second.first, second.second);
 
 
 
 
◆ getDot()
  
  
      
        
          | double JCALIBRATE::JPairwiseComparator::getDot  | 
          ( | 
          const pair_type &  | 
          pair | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get cosine of space angle between PMT axes. 
- Parameters
 - 
  
    | pair | pair of PMT addresses  | 
  
   
- Returns
 - cosine 
 
Definition at line 85 of file JCalibrateK40.hh.
 
 
◆ __module
  
  
      
        
          | const JModule& JCALIBRATE::JPairwiseComparator::__module | 
         
       
   | 
  
protected   | 
  
 
 
◆ __epsilon
  
  
      
        
          | const double JCALIBRATE::JPairwiseComparator::__epsilon | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this struct was generated from the following file: