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

Criterion: the difference between the $ \phi $ angles of two hits in degrees. More...

#include <Crit2_DeltaPhi.h>

Inheritance diagram for KiTrack::Crit2_DeltaPhi:
KiTrack::ICriterion

Public Member Functions

 Crit2_DeltaPhi (float deltaPhiMin, float deltaPhiMax)
 
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 difference between the $ \phi $ angles of two hits in degrees.

The $ \phi $ is the angle in the xy plane w.r.t. the positive x axis.

\[ \phi = atan2(y,x) \]

Member Function Documentation

bool Crit2_DeltaPhi::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(), and KiTrack::IHit::getY().


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