Changes in external/TrackCovariance/TrkUtil.h [a617744:df408d2] in git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/TrackCovariance/TrkUtil.h
ra617744 rdf408d2 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);23 22 TVector3 ParToP(TVectorD Par); 24 Double_t ParToQ(TVectorD Par);25 23 // 26 24 // Conversion to ACTS parametrization … … 46 44 static Double_t cSpeed() 47 45 { 48 return TMath::C()*1.0e-9; // Reduced speed of light 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 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 axis 55 static TVector3 ParToP(TVectorD Par, Double_t Bz); // Get Momentum from track parameters 56 static Double_t ParToQ(TVectorD Par); // Get track charge 54 57 // 55 58 // Conversion from meters to mm
Note:
See TracChangeset
for help on using the changeset viewer.