]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALEMCGeometry.h
set particle type in test simulation
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALEMCGeometry.h
index 6cabc0adf69095b9f2c064f9742843e21d272699..69feb3ad9ebde9e577a0b2905e261f45f2992145 100644 (file)
@@ -32,7 +32,8 @@ public:
   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); 
 
@@ -49,9 +50,9 @@ public:
   static const Char_t* GetDefaultGeometryName() {return fgkDefaultGeometryName;}
   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
@@ -114,7 +115,7 @@ public:
   Int_t   GetNTowers() const {return fNPhi * fNZ ;}
   //
   Double_t GetPhiCenterOfSM(Int_t nsupmod) const;
-  Float_t GetSuperModulesPar(Int_t ipar) {return fParSM[ipar];}
+  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;
@@ -127,7 +128,7 @@ public:
 /*   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
@@ -165,9 +166,8 @@ public:
   //  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: