9 #ifndef ALIHLTTPCCATRACKLINEARISATION_H
10 #define ALIHLTTPCCATRACKLINEARISATION_H
12 #include "AliHLTTPCCATrackParam.h"
34 : fSinPhi( 0 ), fCosPhi( 1 ), fDzDs( 0 ), fQPt( 0 ) {}
37 : fSinPhi( SinPhi1 ), fCosPhi( CosPhi1 ), fDzDs( DzDs1 ), fQPt( QPt1 ) {}
41 void Set(
float SinPhi1,
float CosPhi1,
float DzDs1,
float QPt1 );
44 float SinPhi()
const {
return fSinPhi; }
45 float CosPhi()
const {
return fCosPhi; }
46 float DzDs()
const {
return fDzDs; }
47 float QPt()
const {
return fQPt; }
49 float GetSinPhi()
const {
return fSinPhi; }
50 float GetCosPhi()
const {
return fCosPhi; }
51 float GetDzDs()
const {
return fDzDs; }
52 float GetQPt()
const {
return fQPt; }
54 void SetSinPhi(
float v ) { fSinPhi = v; }
55 void SetCosPhi(
float v ) { fCosPhi = v; }
56 void SetDzDs(
float v ) { fDzDs = v; }
57 void SetQPt(
float v ) { fQPt = v; }
69 : fSinPhi( CAMath::Min( .999f, CAMath::Max( -.999f, t.SinPhi() ) ) ),
70 fCosPhi( t.SignCosPhi() * CAMath::Sqrt( 1.f - fSinPhi * fSinPhi ) ),
71 fDzDs( t.DzDs() ), fQPt( t.QPt() )
76 inline void AliHLTTPCCATrackLinearisation::Set(
float SinPhi1,
float CosPhi1,
77 float DzDs1,
float QPt1 )