KiTrack  1.7.0
Public Member Functions | List of all members
KiTrack::Crit3_3DAngleTimesR Class Reference

Criterion: the angle between two 2-segments multiplied by the radius of the circle the segments form. More...

#include <Crit3_3DAngleTimesR.h>

Inheritance diagram for KiTrack::Crit3_3DAngleTimesR:
KiTrack::ICriterion

Public Member Functions

 Crit3_3DAngleTimesR (float angleMin, float angleMax)
 
virtual bool areCompatible (Segment *parent, Segment *child) throw ( BadSegmentLength )
 
- Public Member Functions inherited from KiTrack::ICriterion
std::map< std::string, float > getMapOfValues ()
 
void setSaveValues (bool saveValues)
 Sets, whether the calculated values shall be saved in a map.
 
std::string getName ()
 
std::string getType ()
 

Additional Inherited Members

- Protected Attributes inherited from KiTrack::ICriterion
std::map< std::string, float > _map_name_value
 
bool _saveValues
 
std::string _name
 
std::string _type
 

Detailed Description

Criterion: the angle between two 2-segments multiplied by the radius of the circle the segments form.

Constructor & Destructor Documentation

Crit3_3DAngleTimesR::Crit3_3DAngleTimesR ( float  angleMin,
float  angleMax 
)
Parameters
angleMaxthe maximum angle between 2 2-segments in grad times the radius of the circle the segments form

Member Function Documentation

bool Crit3_3DAngleTimesR::areCompatible ( Segment parent,
Segment child 
)
throw (BadSegmentLength
)
virtual
Returns
If the two Segments are compatible with each other, i.e. could be combined to a longer Segment or a track.

Implements KiTrack::ICriterion.

References KiTrack::IHit::getX(), KiTrack::IHit::getY(), and KiTrack::IHit::getZ().


The documentation for this class was generated from the following files: