Determination of the time residual vector of hits for a track along z-axis (JFIT::JLine1Z).  
 More...
#include <JVectorNZ.hh>
Determination of the time residual vector of hits for a track along z-axis (JFIT::JLine1Z). 
Definition at line 21 of file JVectorNZ.hh.
 
◆ JVectorNZ() [1/2]
  
  
      
        
          | JFIT::JVectorNZ::JVectorNZ  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JVectorNZ() [2/2]
template<class T > 
  
  
      
        
          | JFIT::JVectorNZ::JVectorNZ  | 
          ( | 
          const JLine1Z &  | 
          track,  | 
         
        
           | 
           | 
          T  | 
          __begin,  | 
         
        
           | 
           | 
          T  | 
          __end  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
The template argument T refers to an iterator of a data structure which should have the following member methods:
- double getX(); // [m]
 
- double getY(); // [m]
 
- double getZ(); // [m]
 
- double getT(); // [ns]
 
- Parameters
 - 
  
    | track | track  | 
    | __begin | begin of data  | 
    | __end | end of data  | 
  
   
Definition at line 46 of file JVectorNZ.hh.
   50       set(track, __begin, __end);
 
void set(const JLine1Z &track, T __begin, T __end)
Set time residual vector.
 
 
 
 
◆ set()
template<class T > 
  
  
      
        
          | void JFIT::JVectorNZ::set  | 
          ( | 
          const JLine1Z &  | 
          track,  | 
         
        
           | 
           | 
          T  | 
          __begin,  | 
         
        
           | 
           | 
          T  | 
          __end  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Set time residual vector. 
The template argument T refers to an iterator of a data structure which should have the following member methods:
- double getX(); // [m]
 
- double getY(); // [m]
 
- double getZ(); // [m]
 
- double getT(); // [ns]
 
- Parameters
 - 
  
    | track | track  | 
    | __begin | begin of data  | 
    | __end | end of data  | 
  
   
Definition at line 68 of file JVectorNZ.hh.
   76       for (T hit = __begin; hit != __end; ++hit) {
 
   77         this->push_back(hit->getT() - track.
getT(JVector3D(hit->getX(), 
 
double getT(const JVector3D &pos) const
Get arrival time of Cherenkov light at given position.
 
Data structure for vector in three dimensions.
 
 
 
 
◆ reset()
  
  
      
        
          | void JMATH::JVectorND::reset  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Reset. 
Definition at line 45 of file JVectorND.hh.
   47       for (
iterator i = this->begin(); i != this->end(); ++i) {
 
 
 
 
◆ getDot()
  
  
      
        
          | double JMATH::JVectorND::getDot  | 
          ( | 
          const JVectorND &  | 
          vector | ) | 
           const | 
         
       
   | 
  
inlineinherited   | 
  
 
Get dot product. 
- Parameters
 - 
  
  
 
- Returns
 - dot product 
 
Definition at line 59 of file JVectorND.hh.
   63       const double* p = this-> 
data();
 
   64       const double* q = 
vector.data();
 
   66       for (
size_t i = this->size(); i != 0; --i, ++p, ++q) {
 
 
 
 
The documentation for this class was generated from the following file: