#include "TString.h"
#include "TObjArray.h"
#include "TVector3.h"
+class TParticle ;
// --- AliRoot header files ---
};
virtual void GetGlobal(const AliRecPoint *, TVector3 &, TMatrix &) const {}
virtual void GetGlobal(const AliRecPoint *, TVector3 &) const {}
+ virtual Bool_t Impact(const TParticle * particle) const {return kTRUE;}
// General
Bool_t IsInitialized(void) const { return fgInit ; }
// Return EMCA geometrical parameters
const Int_t GetNZ() const {return fNZ ;}
const Int_t GetNEta() const {return fNZ ;}
const Int_t GetNPhi() const {return fNPhi ;}
+ const Int_t GetNTowers() const {return fNPhi * fNZ ;}
const Float_t GetPbRadThick(){ // returns Pb radiator thickness in cm.
return fPbRadThickness;
}
void TowerIndexes(Int_t index,Int_t &iz,Int_t &iphi,Int_t &ipre) const;
// for a given tower index it returns eta and phi of center of that tower.
void EtaPhiFromIndex(Int_t index,Float_t &eta,Float_t &phi) const;
+ // returns x, y, and z (cm) on the inner surface of a given EMCAL Cell specified by relid.
+ void XYZFromIndex(const Int_t *relid,Float_t &x,Float_t &y, Float_t &z) const;
// for a given eta and phi in the EMCAL it returns the tower index.
Int_t TowerIndexFromEtaPhi(Float_t eta,Float_t phi) const;
// for a given eta and phi in the EMCAL it returns the pretower index.