3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice
8 //_________________________________________________________________________
9 // Implementation version v0 of EMCAL Manager class
11 //*-- Author: Yves Schutz (SUBATECH)
12 //*-- and : Sahal Yacoob (LBL / UCT)
13 // : Aleksei Pavlinov (WSU) SHASHLYK
15 // --- ROOT system ---
20 class AliEMCALShishKebabTrd1Module;
22 // --- AliRoot header files ---
25 //class AliEMCALGeometry ;
27 class AliEMCALv0 : public AliEMCAL {
31 AliEMCALv0():AliEMCAL() {}
32 AliEMCALv0(const char *name, const char *title="") ;
33 AliEMCALv0(const AliEMCALv0 & emcal):AliEMCAL(emcal) {
34 // cpy ctor: no implementation yet
35 // requested by the Coding Convention
36 Fatal("cpy ctor", "not implemented") ;
38 virtual ~AliEMCALv0(){}
40 using AliEMCAL::AddHit;
42 virtual void BuildGeometry();// creates the geometry for the ROOT display
43 TNode *BuildGeometryOfWSUC(); // WSUC - test environment
44 virtual void CreateGeometry() ;// creates the geometry for GEANT
45 virtual void Init(void) ; // does nothing
46 virtual Int_t IsVersion(void) const {
47 // Gives the version number
50 virtual const TString Version(void) const{
52 return TString("v0") ;
55 AliEMCALv0 & operator = (const AliEMCALv0 & /*rvalue*/) {
56 // assignement operator requested by coding convention but not needed
57 Fatal("operator =", "not implemented") ;
61 void CreateShishKebabGeometry();
62 void CreateSmod(const char* mother="XEN1");
63 void CreateEmod(const char* mother="SMOD", const char* child="EMOD");
65 void Trd1Tower3X3(const double parSCM0[5]);
67 void PbInTrap(const double parTRAP[11], TString n);
69 void Scm0InTrd2(const AliEMCALGeometry * g, const Double_t parEMOD[5], Double_t parSCM0[5]);
70 void Division2X2InScm0(const AliEMCALGeometry * g, const Double_t parSCM0[5]);
71 void PbInTrapForTrd2(const double *parTRAP, TString name);
73 void PbmoInTrd2(const AliEMCALGeometry * g, const Double_t parEMOD[5], Double_t parPBMO[5]);
74 void Division2X2InPbmo(const AliEMCALGeometry * g, const Double_t parPBMO[5]);
76 TList *GetShishKebabModules() {return fShishKebabModules;}
77 AliEMCALShishKebabTrd1Module *GetShishKebabModule(const Int_t neta=0);
79 TList *fShishKebabModules; //! list of modules
83 ClassDef(AliEMCALv0,3) // Implementation of EMCAL manager class for midrapidity barrel layout between 80 and 180(190) degrees
87 #endif // AliEMCALV0_H