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