KiTrack  1.7.0
Crit3_ChangeRZRatio.h
1 #ifndef Crit2_ChangeRZRatio_h
2 #define Crit2_ChangeRZRatio_h
3 
4 #include "Criteria/ICriterion.h"
5 
6 
7 namespace KiTrack{
8 
12 
13 
14 
15  public:
16 
17  Crit3_ChangeRZRatio ( float minChange , float maxChange );
18 
19  virtual bool areCompatible( Segment* parent , Segment* child )throw( BadSegmentLength );
20 
21  virtual ~Crit3_ChangeRZRatio(){};
22 
23 
24  private:
25 
26  float _ratioChangeMaxSquared;
27  float _ratioChangeMinSquared;
28 
29 
30 
31  };
32 
33 }
34 
35 
36 
37 
38 
39 
40 
41 
42 
43 
44 
45 
46 
47 #endif
48 
Criterion: the change of the ratio of the distance of two hits over the z distance.
Definition: Crit3_ChangeRZRatio.h:11
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
virtual bool areCompatible(Segment *parent, Segment *child)
Definition: Crit3_ChangeRZRatio.cc:24