1 #ifndef FAIRGEANEUTIL_H
2 #define FAIRGEANEUTIL_H
16 void FromPtToSC(Double_t PC[3], Double_t RC[15],
17 Double_t* PD, Double_t* RD, Int_t& IERR);
19 void FromPtToSD(Double_t PD[3], Double_t RD[15], Double_t
H[3],Int_t CH,
20 Double_t SPU, Double_t DJ[2], Double_t DK[2],
21 Int_t& IERR, Double_t* PC, Double_t* RC);
23 void FromSCToPt(Double_t PC[3], Double_t RC[15],
24 Double_t* PD, Double_t* RD, Int_t& IERR);
26 void FromSCToSD(Double_t PC[3], Double_t RC[15], Double_t H[3], Int_t CH,
27 Double_t DJ[3], Double_t DK[3],
28 Int_t& IERR, Double_t& SPU,
29 Double_t* PD, Double_t* RD);
31 void FromSD1ToSD2(Double_t PD1[2], Double_t RD1[15],Double_t H[2],
32 Int_t CH, Double_t SP1,
33 Double_t DJ1[2], Double_t DK1[2],
34 Double_t DJ2[2], Double_t DK2[2],
35 Int_t& IERR, Double_t& SP2,
36 Double_t* PD2, Double_t* RD2);
38 void FromSDToPt(Double_t PD[3], Double_t RD[15], Double_t H[3],
39 Int_t CH, Double_t SPU, Double_t DJ[3], Double_t DK[3],
40 Int_t& IERR, Double_t* PC, Double_t* RC);
42 void FromSDToSC(Double_t PD[3], Double_t RD[15], Double_t H[3], Int_t CH,
43 Double_t SPU, Double_t DJ[3], Double_t DK[3],
44 Int_t& IERR, Double_t* PC, Double_t* RC);
47 void FromSCToMars(Double_t PC[3], Double_t RC[15], Double_t H[3], Int_t CH,
50 void FromMarsToSC(Double_t PD[3], Double_t RD[6][6], Double_t H[3],
52 Double_t* PC, Double_t* RC);
55 Double_t H[3], Int_t CH,
56 Double_t SP1, Double_t DJ1[3], Double_t DK1[3],
60 Double_t H[3], Int_t CH,
61 Double_t DJ1[3], Double_t DK1[3],
62 Int_t& IERR, Double_t& SP1,
63 Double_t* PC, Double_t* RC);
74 void SymmProd(Double_t A[25], Double_t S[15], Double_t*
R);
75 TVector3
FromMARSToSDCoord(TVector3 xyz, TVector3 o, TVector3 di, TVector3 dj, TVector3 dk);
76 TVector3
FromSDToMARSCoord(TVector3 uvw, TVector3 o, TVector3 di, TVector3 dj, TVector3 dk);