Auxiliary class to match modules according maximal distance.  
 More...
#include <JModuleMapper.hh>
Auxiliary class to match modules according maximal distance. 
Definition at line 117 of file JModuleMapper.hh.
 
◆ JMaximalDistance()
  
  
      
        
          | JDETECTOR::JMaximalDistance::JMaximalDistance  | 
          ( | 
          const double  | 
          Dmax_m | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | Dmax_m | maximal distance [m]  | 
  
   
Definition at line 123 of file JModuleMapper.hh.
 
 
◆ getDmax()
  
  
      
        
          | double JDETECTOR::JMaximalDistance::getDmax  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get maximal distance. 
- Returns
 - maximal distance [m] 
 
Definition at line 133 of file JModuleMapper.hh.
 
 
◆ operator()()
  
  
      
        
          | bool JDETECTOR::JMaximalDistance::operator()  | 
          ( | 
          const JModule &  | 
          first,  | 
         
        
           | 
           | 
          const JModule &  | 
          second  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
Test whether two module match. 
- Parameters
 - 
  
    | first | first module  | 
    | second | second module  | 
  
   
- Returns
 - true if distance between modules less than limit; else false 
 
Definition at line 146 of file JModuleMapper.hh.
const JPosition3D & getPosition() const
Get position.
 
double getDistance(const JFirst_t &first, const JSecond_t &second)
Get distance between objects.
 
 
 
 
◆ dmax
  
  
      
        
          | double JDETECTOR::JMaximalDistance::dmax | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this struct was generated from the following file: