+ //////////////////////////////////////
+ // Return EMCAL geometrical parameters
+ //
+
+ AliEMCALEMCGeometry* GetEMCGeometry() const { return fEMCGeometry ; }
+ //
+ const Char_t* GetNameOfEMCALEnvelope(void) const { return fEMCGeometry->GetNameOfEMCALEnvelope() ; }
+ Float_t GetArm1PhiMin(void) const { return fEMCGeometry->GetArm1PhiMin() ; }
+ Float_t GetArm1PhiMax(void) const { return fEMCGeometry->GetArm1PhiMax() ; }
+ Float_t GetArm1EtaMin(void) const { return fEMCGeometry->GetArm1EtaMin() ; }
+ Float_t GetArm1EtaMax(void) const { return fEMCGeometry->GetArm1EtaMax() ; }
+ Float_t GetIPDistance(void) const { return fEMCGeometry->GetIPDistance() ; }
+ Float_t GetEnvelop(Int_t index) const { return fEMCGeometry->GetEnvelop(index) ; }
+ Float_t GetShellThickness(void) const { return fEMCGeometry->GetShellThickness() ; }
+ Float_t GetZLength(void) const { return fEMCGeometry->GetZLength() ; }
+ Float_t GetDCALInnerEdge(void) const { return fEMCGeometry->GetDCALInnerEdge() ; }
+ Float_t GetDCALPhiMin(void) const { return fEMCGeometry->GetDCALPhiMin() ; }
+ Float_t GetDCALPhiMax(void) const { return fEMCGeometry->GetDCALPhiMax() ; }
+ Float_t GetEMCALPhiMax(void) const { return fEMCGeometry->GetEMCALPhiMax() ; }
+ Int_t GetNECLayers(void) const { return fEMCGeometry->GetNECLayers() ; }
+ Float_t GetDCALInnerExtandedEta(void) const { return fEMCGeometry->GetDCALInnerExtandedEta() ; }
+ Int_t GetNZ(void) const { return fEMCGeometry->GetNZ() ; }
+ Int_t GetNEta(void) const { return fEMCGeometry->GetNEta() ; }
+ Int_t GetNPhi(void) const { return fEMCGeometry->GetNPhi() ; }
+ Float_t GetECPbRadThick(void) const { return fEMCGeometry->GetECPbRadThick() ; }
+ Float_t GetECScintThick(void) const { return fEMCGeometry->GetECScintThick() ; }
+ Float_t GetSampling(void) const { return fEMCGeometry->GetSampling() ; }
+ Int_t GetNumberOfSuperModules(void) const { return fEMCGeometry->GetNumberOfSuperModules() ; }
+ Float_t GetPhiGapForSuperModules(void) const { return fEMCGeometry->GetPhiGapForSuperModules(); }
+ Float_t GetPhiModuleSize(void) const { return fEMCGeometry->GetPhiModuleSize() ; }
+ Float_t GetEtaModuleSize(void) const { return fEMCGeometry->GetEtaModuleSize() ; }
+ Float_t GetFrontSteelStrip(void) const { return fEMCGeometry->GetFrontSteelStrip() ; }
+ Float_t GetLateralSteelStrip(void) const { return fEMCGeometry->GetLateralSteelStrip() ; }
+ Float_t GetPassiveScintThick(void) const { return fEMCGeometry->GetPassiveScintThick() ; }
+ Float_t GetPhiTileSize(void) const { return fEMCGeometry->GetPhiTileSize() ; }
+ Float_t GetEtaTileSize(void) const { return fEMCGeometry->GetEtaTileSize() ; }
+ Float_t GetPhiSuperModule(void) const { return fEMCGeometry->GetPhiSuperModule() ; }
+ Int_t GetNPhiSuperModule(void) const { return fEMCGeometry->GetNPhiSuperModule() ; }
+ Int_t GetNPHIdiv(void) const { return fEMCGeometry->GetNPHIdiv() ; }
+ Int_t GetNETAdiv(void) const { return fEMCGeometry->GetNETAdiv() ; }
+ Int_t GetNCells(void) const { return fEMCGeometry->GetNCells() ; }
+ Float_t GetLongModuleSize(void) const { return fEMCGeometry->GetLongModuleSize() ; }
+ Float_t GetTrd1Angle(void) const { return fEMCGeometry->GetTrd1Angle() ; }
+ Float_t Get2Trd1Dx2(void) const { return fEMCGeometry->Get2Trd1Dx2() ; }
+ Float_t GetTrd1AlFrontThick() const { return fEMCGeometry->GetTrd1AlFrontThick() ; }
+ Float_t GetTrd1BondPaperThick() const { return fEMCGeometry->GetTrd1BondPaperThick() ; }
+ // --
+ Int_t GetNCellsInSupMod(void) const { return fEMCGeometry->GetNCellsInSupMod() ; }
+ Int_t GetNCellsInModule(void) const { return fEMCGeometry->GetNCellsInModule() ; }
+ Int_t GetKey110DEG(void) const { return fEMCGeometry->GetKey110DEG() ; }
+ Int_t GetnSupModInDCAL(void) const { return fEMCGeometry->GetnSupModInDCAL() ; }
+ Int_t GetILOSS(void) const { return fEMCGeometry->GetILOSS() ; }
+ Int_t GetIHADR(void) const { return fEMCGeometry->GetIHADR() ; }
+ // --
+ Float_t GetDeltaEta(void) const { return fEMCGeometry->GetDeltaEta() ; }
+ Float_t GetDeltaPhi(void) const { return fEMCGeometry->GetDeltaPhi() ; }
+ Int_t GetNTowers(void) const { return fEMCGeometry->GetNTowers() ; }
+ //
+ Double_t GetPhiCenterOfSM(Int_t nsupmod) const { return fEMCGeometry->GetPhiCenterOfSM(nsupmod) ; }
+ Double_t GetPhiCenterOfSMSec(Int_t nsupmod) const { return fEMCGeometry->GetPhiCenterOfSMSec(nsupmod) ; }
+ Float_t GetSuperModulesPar(Int_t ipar) const { return fEMCGeometry->GetSuperModulesPar(ipar) ; }
+ //
+ Int_t GetSMType(Int_t nSupMod) const { if( nSupMod > fEMCGeometry->GetNumberOfSuperModules() ) return -1;
+ return fEMCSMSystem[nSupMod] ; }
+ Bool_t IsDCALSM(Int_t nSupMod) const;
+ Bool_t IsDCALExtSM(Int_t nSupMod) const;
+ Bool_t GetPhiBoundariesOfSM(Int_t nSupMod, Double_t &phiMin, Double_t &phiMax) const
+ { return fEMCGeometry->GetPhiBoundariesOfSM(nSupMod, phiMin, phiMax) ; }
+ Bool_t GetPhiBoundariesOfSMGap(Int_t nPhiSec, Double_t &phiMin, Double_t &phiMax) const
+ { return fEMCGeometry->GetPhiBoundariesOfSMGap(nPhiSec, phiMin, phiMax); }
+ //
+ // especially for SM in extension, where center of SM != center of the SM-section.
+ // Used in AliEMCALv0 to calculate position.
+
+ //////////////////////////////////////////////////
+ // Obsolete methods to be thrown out when feasible
+ Float_t GetGap2Active(void) const { return fEMCGeometry->GetGap2Active() ; }
+ Float_t GetSteelFrontThickness(void) const { return fEMCGeometry->GetSteelFrontThickness() ; }
+ Float_t GetTrd2AngleY(void) const { return fEMCGeometry->GetTrd2AngleY() ; }
+ Float_t Get2Trd2Dy2(void) const { return fEMCGeometry->Get2Trd2Dy2() ; }
+ Float_t GetTubsR(void) const { return fEMCGeometry->GetTubsR() ; }
+ Float_t GetTubsTurnAngle(void) const { return fEMCGeometry->GetTubsTurnAngle() ; }
+ //Float_t GetAlFrontThickness(void) const { return fEMCGeometry->GetAlFrontThickness() ; }
+ //Float_t GetIP2ECASection(void) const { return fEMCGeometry->GetIP2ECASection() ; }
+ //////////////////////////////////////////////////
+
+ ///////////////////////////////
+ //Geometry data member setters
+ //
+ void SetNZ(Int_t nz) { fEMCGeometry->SetNZ(nz) ; }
+ void SetNPhi(Int_t nphi) { fEMCGeometry->SetNPhi(nphi) ; }
+ //Trigger
+ void SetNTRUEta(Int_t ntru) { fEMCGeometry->SetNTRUEta(ntru) ; }
+ void SetNTRUPhi(Int_t ntru) { fEMCGeometry->SetNTRUPhi(ntru) ; }
+ //
+ void SetSampling(Float_t samp) { fEMCGeometry->SetSampling(samp) ; }
+ //
+ void PrintGeometry() { fEMCGeometry->PrintGeometry() ; } //*MENU*
+
+ //////////////////////////
+ // Global geometry methods
+ //
+ void GetGlobal(const Double_t *loc, Double_t *glob, int ind) const;
+ void GetGlobal(const TVector3 &vloc, TVector3 &vglob, int ind) const;
+ void GetGlobal(Int_t absId, Double_t glob[3]) const;
+ void GetGlobal(Int_t absId, TVector3 &vglob) const;
+
+ ////////////////////////////////////////