]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALv0.h
Discard STAR type geometry before MDC
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv0.h
index a7227092aa1474c6ac64c58f03be13e6d388815c..39ef9d796347f1baf659d216a43e467e852caca3 100644 (file)
 //*--                  
 //*-- Author: Yves Schutz (SUBATECH)
 //*-- and   : Sahal Yacoob (LBL / UCT) 
-//#include <assert.h>
+//          : Aleksei Pavlinov (WSU)     SHASHLYK
 
 // --- ROOT system ---
 
 class TFile;
+class TList;
+class TNode;
+class AliEMCALShishKebabTrd1Module;
 
 // --- AliRoot header files ---
 #include "AliEMCAL.h"
@@ -35,6 +38,7 @@ class AliEMCALv0 : public AliEMCAL {
   virtual ~AliEMCALv0(){} 
 
   virtual void BuildGeometry();// creates the geometry for the ROOT display
+  TNode *BuildGeometryOfWSUC();  // WSUC - test environment
   virtual void CreateGeometry() ;// creates the geometry for GEANT
   virtual void   Init(void) ;                                       // does nothing
   virtual Int_t  IsVersion(void) const { 
@@ -51,10 +55,30 @@ class AliEMCALv0 : public AliEMCAL {
     Fatal("operator =", "not implemented") ;  
     return *this ; 
   }
+  // ShishKebab 
+  void CreateShishKebabGeometry();
+  void CreateSmod(const char* mother="XEN1");
+  void CreateEmod(const char* mother="SMOD", const char* child="EMOD");
+  // TRD1
+  void Trd1Tower3X3(const double parSCM0[5]);
+  void Trd1Tower4X4();
+  void PbInTrap(const double parTRAP[11], TString n);
+  // TRD2 - 1th design
+  void Scm0InTrd2(const AliEMCALGeometry * g, const Double_t parEMOD[5], Double_t parSCM0[5]);
+  void Division2X2InScm0(const AliEMCALGeometry * g, const Double_t parSCM0[5]);
+  void PbInTrapForTrd2(const double *parTRAP, TString name);
+  // TRD2 - 2th design
+  void PbmoInTrd2(const AliEMCALGeometry * g, const Double_t parEMOD[5], Double_t parPBMO[5]);
+  void Division2X2InPbmo(const AliEMCALGeometry * g, const Double_t parPBMO[5]);
+
+  TList  *GetShishKebabModules() {return fShishKebabModules;}
+  AliEMCALShishKebabTrd1Module *GetShishKebabModule(const Int_t neta=0);
+ private:
+  TList *fShishKebabModules; //! list of modules
   
  protected:
 
-  ClassDef(AliEMCALv0,2)  // Implementation of EMCAL manager class for midrapidity barrel layout between 0 and 120 degrees 
+  ClassDef(AliEMCALv0,3) // Implementation of EMCAL manager class for midrapidity barrel layout between 80 and 180(190) degrees 
     
     };