AliEMCALEMCGeometry(); // default ctor only for internal usage (singleton)
AliEMCALEMCGeometry(const AliEMCALEMCGeometry& geom);
// ctor only for internal usage (singleton)
- AliEMCALEMCGeometry(const Text_t* name, const Text_t* title);
+ AliEMCALEMCGeometry(const Text_t* name, const Text_t* title,
+ const Text_t* mcname="", const Text_t* mctitle="");
virtual ~AliEMCALEMCGeometry(void);
//
Bool_t IsInitialized(void) const { return fgInit ; }
static const Char_t* GetDefaultGeometryName() {return fgkDefaultGeometryName;}
- void PrintGeometry(); //*MENU*
+ void PrintGeometry(); //*MENU*
- void Init(void); // initializes the parameters of EMCAL
+ void Init(const Text_t* mcname="", const Text_t* mctitle=""); // initializes the parameters of EMCAL
void CheckAdditionalOptions(); //
- void DefineSamplingFraction(); // Jun 5, 2006
+ void DefineSamplingFraction(const Text_t* mcname="", const Text_t* mctitle="");
//////////////////////////////////////
// Return EMCAL geometrical parameters
Float_t GetTrd1Angle() const {return fTrd1Angle;}
Float_t Get2Trd1Dx2() const {return f2Trd1Dx2;}
Float_t GetEtaMaxOfTRD1() const {return fEtaMaxOfTRD1;}
+ Float_t GetTrd1AlFrontThick() const { return fTrd1AlFrontThick;}
+ Float_t GetTrd1BondPaperThick() const {return fTrd1BondPaperThick;}
// --
Int_t GetNCellsInSupMod() const {return fNCellsInSupMod;}
Int_t GetNCellsInModule() const {return fNCellsInModule; }
Int_t GetNTowers() const {return fNPhi * fNZ ;}
//
Double_t GetPhiCenterOfSM(Int_t nsupmod) const;
- Float_t *GetSuperModulesPars() {return fParSM;}
+ Float_t GetSuperModulesPar(Int_t ipar) const {return fParSM[ipar];}
//
Bool_t GetPhiBoundariesOfSM (Int_t nSupMod, Double_t &phiMin, Double_t &phiMax) const;
Bool_t GetPhiBoundariesOfSMGap(Int_t nPhiSec, Double_t &phiMin, Double_t &phiMax) const;
/* TArrayD GetEtaCentersOfCells() const {return fEtaCentersOfCells;} // [fNEta*fNETAdiv*fNPhi*fNPHIdiv], positive direction (eta>0); eta depend from phi position; */
/* TArrayD GetPhiCentersOfCells() const {return fPhiCentersOfCells;} // [fNPhi*fNPHIdiv] from center of SM (-10. < phi < +10.) */
- static int ParseString(const TString &topt, TObjArray &Opt) ;
+ static int ParseString(const TString &topt, TObjArray &Opt) ;
///////////////////////////////
//Geometry data member setters
//////////////////////////////////////////////////
// Obsolete methods to be thrown out when feasible
- Float_t GetAlFrontThickness() const { return fAlFrontThick;}
Float_t GetGap2Active() const {return fGap2Active ;}
Float_t GetSteelFrontThickness() const { return fSteelFrontThick;}
Float_t GetTrd2AngleY()const {return fTrd2AngleY;}
Float_t Get2Trd2Dy2() const {return f2Trd2Dy2;}
Float_t GetTubsR() const {return fTubsR;}
Float_t GetTubsTurnAngle() const {return fTubsTurnAngle;}
- Float_t GetIP2ECASection() const { return ( GetIPDistance() + GetAlFrontThickness()
- + GetGap2Active() ) ; }
+ // Float_t GetIP2ECASection() const { return ( GetIPDistance() + GetAlFrontThickness()
+ // + GetGap2Active() ) ; }
//////////////////////////////////////////////////
-
- static Bool_t fgInit; // Tells if geometry has been succesfully set up.
static const Char_t* fgkDefaultGeometryName; // Default name of geometry
+ static Bool_t fgInit; // Tells if geometry has been succesfully set up.
private:
TArrayD fPhiBoundariesOfSM; // phi boundaries of SM in rad; size is fNumberOfSuperModules;
TArrayD fPhiCentersOfSM; // phi of centers of SMl size is fNumberOfSuperModules/2
Float_t fEtaMaxOfTRD1; // max eta in case of TRD1 geometry (see AliEMCALShishKebabTrd1Module)
+ // Oct 26,2010
+ Float_t fTrd1AlFrontThick; // Thickness of the Al front plate
+ Float_t fTrd1BondPaperThick; // Thickness of the Bond Paper sheet
// Local Coordinates of SM
TArrayD fCentersOfCellsEtaDir; // size fNEta*fNETAdiv (for TRD1 only) (eta or z in SM, in cm)
TArrayD fCentersOfCellsXDir; // size fNEta*fNETAdiv (for TRD1 only) ( x in SM, in cm)
////////////////////////////////////////////////////////////
//Obsolete member data that will be thrown out when feasible
//
- Float_t fAlFrontThick; // Thickness of the front Al face of the support box
Float_t fGap2Active; // Gap between the envelop and the active material
Float_t fSteelFrontThick; // Thickness of the front stell face of the support box - 9-sep-04
// TRD2 options - 27-jan-07
///////////////////////////////////////////////////////////
- ClassDef(AliEMCALEMCGeometry, 1) // EMCAL geometry class
+ ClassDef(AliEMCALEMCGeometry, 2) // EMCAL geometry class
};
#endif // AliEMCALEMCGEOMETRY_H