//
//
if (!fgInstance) return 0;
- Double_t pos0[3] = {r*TMath::Sin(phi), r*TMath::Cos(phi),z};
+ Double_t pos0[3] = {r*TMath::Cos(phi), r*TMath::Sin(phi),z};
Double_t pos1[3];
fgInstance->Correct(pos0,pos1);
Double_t dx=pos1[0]-pos0[0];
//
//
if (!fgInstance) return 0;
- Double_t pos0[3] = {r*TMath::Sin(phi), r*TMath::Cos(phi),z};
+ Double_t pos0[3] = {r*TMath::Cos(phi), r*TMath::Sin(phi),z};
Double_t pos1[3];
fgInstance->Correct(pos0,pos1);
Double_t dphi=TMath::ATan2(pos1[1],pos1[0])-TMath::ATan2(pos0[1],pos0[0]);
//
//
if (!fgInstance) return 0;
- Double_t pos0[3] = {r*TMath::Sin(phi), r*TMath::Cos(phi),z};
+ Double_t pos0[3] = {r*TMath::Cos(phi), r*TMath::Sin(phi),z};
Double_t pos1[3];
fgInstance->Correct(pos0,pos1);
Double_t dphi=TMath::ATan2(pos1[1],pos1[0])-TMath::ATan2(pos0[1],pos0[0]);
//
//
if (!fgInstance) return 0;
- Double_t pos0[3] = {r*TMath::Sin(phi), r*TMath::Cos(phi),z};
+ Double_t pos0[3] = {r*TMath::Cos(phi), r*TMath::Sin(phi),z};
Double_t pos1[3];
fgInstance->Correct(pos0,pos1);
Double_t dz=pos1[2]-pos0[2];