KiTrack  1.7.0
Crit4_NoZigZag.h
1 #ifndef Crit4_NoZigZag_h
2 #define Crit4_NoZigZag_h
3 
4 
5 #include "Criteria/ICriterion.h"
6 
7 namespace KiTrack{
8 
13  class Crit4_NoZigZag : public ICriterion{
14 
15 
16 
17  public:
18 
24  Crit4_NoZigZag ( float prodMin , float prodMax );
25 
26  virtual bool areCompatible( Segment* parent , Segment* child )throw( BadSegmentLength );
27 
28  virtual ~Crit4_NoZigZag(){};
29 
30  private:
31 
32  float _prodMin;
33  float _prodMax;
34 
35  };
36 
37 }
38 
39 #endif
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: Crit4_NoZigZag.cc:26
An Interface for Criteria.
Definition: ICriterion.h:20
Crit4_NoZigZag(float prodMin, float prodMax)
Definition: Crit4_NoZigZag.cc:11
Criterion: forbids zig zagging: measure the angles in the xy plane, transpose them to the range from ...
Definition: Crit4_NoZigZag.h:13