//______________________________________________________________________
Bool_t AliEMCALGeometry::AbsToRelNumbering(Int_t AbsId, Int_t *relid){
// Converts the absolute numbering into the following array/
- // relid[0] = EMCAL Module number 1:1 (EMCAL arm number)
+ // relid[0] = EMCAL Arm number 1:1
// relid[1] = 0 Not in Pre Shower layers
// = -1 In Pre Shower
// relid[2] = Row number inside EMCAL
TowerIndexes(index,ieta,iphi,ipre);
relid[0] = 1;
relid[1] = 0;
- if(ipre==1) relid[1] = -1;
+ if(ipre==1)
+ relid[1] = -1;
relid[2] = ieta;
relid[3] = iphi;
return rv;
}
//______________________________________________________________________
-void AliEMCALGeometry::RelPosInModule(const Int_t *relid,Float_t &theta,
+void AliEMCALGeometry::PosInAlice(const Int_t *relid,Float_t &theta,
Float_t &phi){
- // Converts the relative numbering into the local PHOS-module (x, z)
+ // Converts the relative numbering into the local EMCAL-module (x, z)
// coordinates
Int_t ieta = relid[2]; // offset along x axis
Int_t iphi = relid[3]; // offset along z axis
- Int_t ipre = relid[1]; // indecates -1 preshower, or 0 full tower.
+ Int_t ipre = relid[1]; // indicates -1 preshower, or 0 full tower.
Int_t index;
Float_t eta;
// for a given eta and phi in the EMCAL it returns the pretower index.
Int_t PreTowerIndexFromEtaPhi(Float_t eta,Float_t phi);
// Returns theta and phi (degree) for a given EMCAL cell indecated by relid
- void RelPosInModule(const Int_t *relid,Float_t &theta,Float_t &phi);
+ void PosInAlice(const Int_t *relid,Float_t &theta,Float_t &phi);
// Returns an array indicating the Tower/preshower, iz, and iphi for a
// specific EMCAL indes.
Bool_t AbsToRelNumbering(Int_t AbsId, Int_t *relid);