KiTrack  1.7.0
Crit2_HelixWithIP.h
1 #ifndef Crit2_HelixWithIP_h
2 #define Crit2_HelixWithIP_h
3 
4 
5 #include "Criteria/ICriterion.h"
6 
7 namespace KiTrack{
8 
18  class Crit2_HelixWithIP : public ICriterion{
19 
20 
21 
22  public:
23 
24  Crit2_HelixWithIP ( float ratioMin , float ratioMax );
25 
26  virtual bool areCompatible( Segment* parent , Segment* child )throw( BadSegmentLength );
27 
28  virtual ~Crit2_HelixWithIP(){};
29 
30 
31  private:
32 
33  float _ratioMax;
34  float _ratioMin;
35 
36 
37 
38  };
39 
40 }
41 
42 #endif
43 
A Segment is something like a track or a part of a track: it consists of hits linked together...
Definition: Segment.h:40
Wrong segment length exception.
Definition: KiTrackExceptions.h:72
An Interface for Criteria.
Definition: ICriterion.h:20
Criterion: Check if two hits are compatible with a helix crossing the IP.
Definition: Crit2_HelixWithIP.h:18
virtual bool areCompatible(Segment *parent, Segment *child)
Definition: Crit2_HelixWithIP.cc:25