}
AliJetDummyGeo::AliJetDummyGeo(const AliJetDummyGeo& geom):
+ TObject(geom),
fArm1EtaMin(geom.fArm1EtaMin),
fArm1EtaMax(geom.fArm1EtaMax),
fArm1PhiMin(geom.fArm1PhiMin),
}
//------------------------------------------------------------------------------------
-void AliJetDummyGeo::EtaPhiFromIndex(Int_t absId, Float_t& eta, Float_t& phi)
+void AliJetDummyGeo::EtaPhiFromIndex(Int_t absId, Float_t& eta, Float_t& phi) const
{
// Nov 16, 2006- float to double
// version for TRD1 only
Int_t ind=0; // this is phi index
Int_t ieta=0, nModule=0, iphiTemp;
Double_t xr, zr, theta, phi, eta, r, x,y;
+ xr = 0.;
+ zr = 0.;
+
TVector3 vglob;
Double_t ytCenterModule=0.0, ytCenterCell=0.0;
trd1->GetCenterOfCellInLocalCoordinateofSM(ic, xr, zr); // case of 2X2
GetCellPhiEtaIndexInSModule(0, nModule, 0, ic, iphiTemp, ieta);
} if(fNPHIdiv==3) {
- trd1->GetCenterOfCellInLocalCoordinateofSM_3X3(ic, xr, zr); // case of 3X3
+ trd1->GetCenterOfCellInLocalCoordinateofSM3X3(ic, xr, zr); // case of 3X3
GetCellPhiEtaIndexInSModule(0, nModule, 0, ic, iphiTemp, ieta);
} if(fNPHIdiv==1) {
- trd1->GetCenterOfCellInLocalCoordinateofSM_1X1(xr, zr); // case of 1X1
+ trd1->GetCenterOfCellInLocalCoordinateofSM1X1(xr, zr); // case of 1X1
GetCellPhiEtaIndexInSModule(0, nModule, 0, ic, iphiTemp, ieta);
}
fCentersOfCellsXDir.AddAt(Float_t(xr) - fParSM[0],ieta);