PandaRoot
PndCircleTools.h File Reference
#include "FairHit.h"
#include "TVector2.h"

Go to the source code of this file.

Namespaces

 PANDA
 
 PANDA::CircleTools
 

Functions

double PANDA::CircleTools::PtFromCircle (double B, double r)
 Calculates the transverse momentum from a given radius. More...
 
double PANDA::CircleTools::PhiForHit (FairHit *hit, TVector3 &circle)
 Calculates the angle phi for a hit depending on the circle center. More...
 
int PANDA::CircleTools::RotationDirection (FairHit *firstHit, FairHit *nextHit, TVector3 &circle)
 Determines the rotation direction of the particle If the particle rotates anticlockwise it returns -1, alse it returns +1. More...
 
TVector2 PANDA::CircleTools::PositionOnCircle (FairHit *hit, TVector3 &circle)
 Determins the position on the circle for a given hit. More...
 
TVector2 PANDA::CircleTools::PtOnCircle (FairHit *hit, TVector3 &circle, int direction, double B)
 Rotates the transverse momentum by phi to determine the track's momentum direction at a hit point. More...