Template specialisation of hit toolkit for any primitive data type.  
 More...
#include <JHitToolkit.hh>
template<class JHit_t>
struct JTRIGGER::JHitToolkit< JHit_t, true >
Template specialisation of hit toolkit for any primitive data type. 
Definition at line 248 of file JHitToolkit.hh.
 
◆ getToolkit()
◆ getT()
Get time of hit. 
- Parameters
 - 
  
  
 
- Returns
 - time of hit [ns] 
 
Definition at line 267 of file JHitToolkit.hh.
 
 
◆ getToT()
Get time-over-threshold of hit. 
- Parameters
 - 
  
  
 
- Returns
 - 0 
 
Definition at line 279 of file JHitToolkit.hh.
 
 
◆ getJHit()
◆ getHit()
Construct hit. 
- Parameters
 - 
  
    | hit | DAQ hit  | 
    | cal | calibration  | 
  
   
- Returns
 - hit 
 
Definition at line 304 of file JHitToolkit.hh.
 
 
◆ getEndMarker()
Get end marker. 
- Returns
 - latest possible hit 
 
Definition at line 315 of file JHitToolkit.hh.
  317       return std::numeric_limits<JHit_t>::max();
 
 
 
 
◆ getTimeDifference()
template<class JHit_t > 
  
  
      
        
          | static JHit_t JTRIGGER::JHitToolkit< JHit_t, true >::getTimeDifference  | 
          ( | 
          const JHit_t  | 
          first,  | 
         
        
           | 
           | 
          const JHit_t  | 
          second  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Get time difference between two hits. 
- Parameters
 - 
  
    | first | first hit  | 
    | second | second hit  | 
  
   
- Returns
 - time second hit - time first hit [ns] 
 
Definition at line 328 of file JHitToolkit.hh.
  330       return second - first;
 
 
 
 
◆ operator()()
Compare time of two hits. 
- Parameters
 - 
  
    | first | first value [ns]  | 
    | second | second value [ns]  | 
  
   
- Returns
 - true if second hit later; else false 
 
Definition at line 341 of file JHitToolkit.hh.
  343       return first < second;
 
 
 
 
◆ join()
template<class JHit_t > 
  
  
      
        
          | static JHit_t JTRIGGER::JHitToolkit< JHit_t, true >::join  | 
          ( | 
          const JHit_t &  | 
          first,  | 
         
        
           | 
           | 
          const JHit_t &  | 
          second  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Join two hits. 
Note that this method returns the first hit as-is.
- Parameters
 - 
  
    | first | first hit  | 
    | second | second hit  | 
  
   
- Returns
 - joined hit 
 
Definition at line 356 of file JHitToolkit.hh.
 
 
The documentation for this struct was generated from the following file: