KiTrack  1.7.0
Crit2_StraightTrackRatio.h
1 #ifndef Crit2_StraightTrackRatio_h
2 #define Crit2_StraightTrackRatio_h
3 
4 
5 #include "Criteria/ICriterion.h"
6 
7 namespace KiTrack{
8 
17 
18 
19 
20  public:
21 
22  Crit2_StraightTrackRatio ( float ratioMin, float ratioMax );
23 
24  virtual bool areCompatible( Segment* parent , Segment* child )throw( BadSegmentLength );
25 
26  virtual ~Crit2_StraightTrackRatio(){};
27 
28 
29  private:
30 
31  float _ratioMax;
32  float _ratioMin;
33 
34 
35 
36  };
37 
38 }
39 
40 #endif
41 
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: for straight tracks: if the line between the two hits points towards IP.
Definition: Crit2_StraightTrackRatio.h:16
virtual bool areCompatible(Segment *parent, Segment *child)
Definition: Crit2_StraightTrackRatio.cc:23