}
//_____________________________________________________________________________
-Float_t AliTOFGeometry::DistanceToPadPar(Int_t *det, const Float_t * pos, Float_t *dist3d) const
+Float_t AliTOFGeometry::DistanceToPadPar(Int_t *det, const Float_t * pos, Float_t *dist3d)
{
//
// Returns distance of space point with coor pos (x,y,z) (cm) wrt
}
//_____________________________________________________________________________
-Bool_t AliTOFGeometry::IsInsideThePadPar(Int_t *det, const Float_t * pos) const
+Bool_t AliTOFGeometry::IsInsideThePadPar(Int_t *det, const Float_t * pos)
{
//
// Returns true if space point with coor pos (x,y,z) (cm) falls
}
//_____________________________________________________________________________
-Bool_t AliTOFGeometry::IsInsideThePad(TGeoHMatrix *mat, const Float_t * pos, Float_t *dist3d) const
+Bool_t AliTOFGeometry::IsInsideThePad(TGeoHMatrix *mat, const Float_t * pos, Float_t *dist3d)
{
//
// Returns true if space point with coor pos (x,y,z) [cm] falls inside
};
Rotation(posLocal,angles);
- Float_t step[3] = {0., 0., (fgkRmax+fgkRmin)*0.5};
+ Float_t step[3] = {0., 0., static_cast<Float_t>((fgkRmax+fgkRmin)*0.5)};
Translation(posLocal,step);
// B071/B074/B075 = BTO1/2/3 reference frame -> FTOA = FLTA reference frame
// AliDebug(1,Form(" posLocal[0] = %f, posLocal[1] = %f, posLocal[2] = %f ",
// posLocal[0],posLocal[1],posLocal[2]));
- Float_t step[3] = {0., 0., (fgkRmax+fgkRmin)*0.5};
+ Float_t step[3] = {0., 0., static_cast<Float_t>((fgkRmax+fgkRmin)*0.5)};
Translation(posLocal,step);
// AliDebug(1,Form(" posLocal[0] = %f, posLocal[1] = %f, posLocal[2] = %f ",
// posLocal[0],posLocal[1],posLocal[2]));
};
Rotation(posLocal,angles);
- Float_t step[3] = {0., 0., (fgkRmax+fgkRmin)*0.5};
+ Float_t step[3] = {0., 0., static_cast<Float_t>((fgkRmax+fgkRmin)*0.5)};
Translation(posLocal,step);
// B071/B074/B075 = BTO1/2/3 reference frame -> FTOA = FLTA reference frame
};
Rotation(posLocal,angles);
- Float_t step[3] = {0., 0., (fgkRmax+fgkRmin)*0.5};
+ Float_t step[3] = {0., 0., static_cast<Float_t>((fgkRmax+fgkRmin)*0.5)};
Translation(posLocal,step);
// B071/B074/B075 = BTO1/2/3 reference frame -> FTOA/B/C = FLTA/B/C reference frame
// Pad reference frame -> FSTR reference frame
Float_t posLocal[3] = {0., 0., 0.};
- Float_t step[3] = {-(ipadx+0.5)*fgkXPad, 0., -(ipadz+0.5)*fgkZPad};
+ Float_t step[3] = {static_cast<Float_t>(-(ipadx+0.5)*fgkXPad), 0., static_cast<Float_t>(-(ipadz+0.5)*fgkZPad)};
Translation(posLocal,step);
step[0] = kNpadX*0.5*fgkXPad;
// Pad reference frame -> FSTR reference frame
Float_t posLocal[3] = {0., 0., 0.};
- Float_t step[3] = {-(ipadx+0.5)*fgkXPad, 0., -(ipadz+0.5)*fgkZPad};
+ Float_t step[3] = {static_cast<Float_t>(-(ipadx+0.5)*fgkXPad), 0., static_cast<Float_t>(-(ipadz+0.5)*fgkZPad)};
Translation(posLocal,step);
step[0] = kNpadX*0.5*fgkXPad;
// Pad reference frame -> FSTR reference frame
Float_t posLocal[3] = {0., 0., 0.};
- Float_t step[3] = {-(ipadx+0.5)*fgkXPad, 0., -(ipadz+0.5)*fgkZPad};
+ Float_t step[3] = {static_cast<Float_t>(-(ipadx+0.5)*fgkXPad), 0., static_cast<Float_t>(-(ipadz+0.5)*fgkZPad)};
Translation(posLocal,step);
step[0] = kNpadX*0.5*fgkXPad;
};
Rotation(posLocal,angles);
- Float_t step[3] = {0., 0., (fgkRmax+fgkRmin)*0.5};
+ Float_t step[3] = {0., 0., static_cast<Float_t>((fgkRmax+fgkRmin)*0.5)};
Translation(posLocal,step);
// B071/B074/B075 = BTO1/2/3 reference frame -> FTOA/B/C = FLTA/B/C reference frame
};
Rotation(posLocal,angles);
- Float_t step[3] = {0., 0., (fgkRmax+fgkRmin)*0.5};
+ Float_t step[3] = {0., 0., static_cast<Float_t>((fgkRmax+fgkRmin)*0.5)};
Translation(posLocal,step);
// B071/B074/B075 = BTO1/2/3 reference frame -> FTOA/B/C = FLTA/B/C reference frame
};
Rotation(posLocal,angles);
- Float_t step[3] = {0., 0., (fgkRmax+fgkRmin)*0.5};
+ Float_t step[3] = {0., 0., static_cast<Float_t>((fgkRmax+fgkRmin)*0.5)};
Translation(posLocal,step);
// B071/B074/B075 = BTO1/2/3 reference frame -> FTOA/B/C = FLTA/B/C reference frame