Changes in external/TrackCovariance/TrkUtil.h [df408d2:a617744] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/TrackCovariance/TrkUtil.h
rdf408d2 ra617744 20 20 void SetBfield(Double_t Bz) { fBz = Bz; } 21 21 TVectorD XPtoPar(TVector3 x, TVector3 p, Double_t Q); 22 TVector3 ParToX(TVectorD Par); 22 23 TVector3 ParToP(TVectorD Par); 24 Double_t ParToQ(TVectorD Par); 23 25 // 24 26 // Conversion to ACTS parametrization … … 44 46 static Double_t cSpeed() 45 47 { 46 Double_t c = 2.99792458e8; // speed of light m/sec 47 //return TMath::C()*1.0e-9; // Incompatible with root5 48 return c*1.0e-9; // Reduced speed of light 48 return TMath::C()*1.0e-9; // Reduced speed of light 49 49 } 50 50 // … … 52 52 // 53 53 static TVectorD XPtoPar(TVector3 x, TVector3 p, Double_t Q, Double_t Bz); 54 static TVector3 ParToX(TVectorD Par); // position of minimum distance from z axis55 static TVector3 ParToP(TVectorD Par, Double_t Bz); // Get Momentum from track parameters56 static Double_t ParToQ(TVectorD Par); // Get track charge57 54 // 58 55 // Conversion from meters to mm
Note:
See TracChangeset
for help on using the changeset viewer.