KiTrack  1.7.0
Crit2_RZRatio.h
1 #ifndef Crit2_RZRatio_h
2 #define Crit2_RZRatio_h
3 
4 
5 #include "Criteria/ICriterion.h"
6 
7 namespace KiTrack{
8 
12  class Crit2_RZRatio : public ICriterion{
13 
14 
15 
16  public:
17 
18  Crit2_RZRatio ( float ratioMin, float ratioMax );
19 
20  virtual bool areCompatible( Segment* parent , Segment* child )throw( BadSegmentLength );
21 
22  virtual ~Crit2_RZRatio(){};
23 
24  private:
25 
26  float _ratioMax;
27  float _ratioMin;
28 
29 
30  };
31 
32 }
33 
34 #endif
35 
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
virtual bool areCompatible(Segment *parent, Segment *child)
Definition: Crit2_RZRatio.cc:25
An Interface for Criteria.
Definition: ICriterion.h:20
Criterion: distance of two hits divided by their z-distance.
Definition: Crit2_RZRatio.h:12