]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALv0.h
Updated LUT for the TOF alignable volumes
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv0.h
CommitLineData
2012850d 1#ifndef ALIEMCALV0_H
2#define ALIEMCALV0_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice
5 */
6/* $Id$ */
7
8//_________________________________________________________________________
9// Implementation version v0 of EMCAL Manager class
10//*--
11//*-- Author: Yves Schutz (SUBATECH)
b13bbe81 12//*-- and : Sahal Yacoob (LBL / UCT)
d87bd045 13// : Aleksei Pavlinov (WSU) SHASHLYK
2012850d 14
15// --- ROOT system ---
16
b13bbe81 17class TFile;
1963b290 18class TList;
19class TNode;
c01485dd 20class AliEMCALShishKebabTrd1Module;
b13bbe81 21
2012850d 22// --- AliRoot header files ---
23#include "AliEMCAL.h"
b13bbe81 24
25//class AliEMCALGeometry ;
2012850d 26
27class AliEMCALv0 : public AliEMCAL {
28
29 public:
30
b13bbe81 31 AliEMCALv0():AliEMCAL() {}
2012850d 32 AliEMCALv0(const char *name, const char *title="") ;
f5dc24cb 33 AliEMCALv0(const AliEMCALv0 & emcal):AliEMCAL(emcal) {
2012850d 34 // cpy ctor: no implementation yet
35 // requested by the Coding Convention
9859bfc0 36 Fatal("cpy ctor", "not implemented") ;
2012850d 37 }
b13bbe81 38 virtual ~AliEMCALv0(){}
39
4800667c 40 using AliEMCAL::AddHit;
41
b13bbe81 42 virtual void BuildGeometry();// creates the geometry for the ROOT display
1963b290 43 TNode *BuildGeometryOfWSUC(); // WSUC - test environment
b13bbe81 44 virtual void CreateGeometry() ;// creates the geometry for GEANT
2012850d 45 virtual void Init(void) ; // does nothing
46 virtual Int_t IsVersion(void) const {
47 // Gives the version number
48 return 0 ;
49 }
05a92d59 50 virtual const TString Version(void) const{
2012850d 51 // As above
52 return TString("v0") ;
53 }
54
9c0a4862 55 AliEMCALv0 & operator = (const AliEMCALv0 & /*rvalue*/) {
2012850d 56 // assignement operator requested by coding convention but not needed
9859bfc0 57 Fatal("operator =", "not implemented") ;
2012850d 58 return *this ;
59 }
1963b290 60 // ShishKebab
61 void CreateShishKebabGeometry();
62 void CreateSmod(const char* mother="XEN1");
63 void CreateEmod(const char* mother="SMOD", const char* child="EMOD");
64 // TRD1
65 void Trd1Tower3X3(const double parSCM0[5]);
66 void Trd1Tower4X4();
67 void PbInTrap(const double parTRAP[11], TString n);
68 // TRD2 - 1th design
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);
72 // TRD2 - 2th design
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]);
75
c01485dd 76 TList *GetShishKebabModules() {return fShishKebabModules;}
77 AliEMCALShishKebabTrd1Module *GetShishKebabModule(const Int_t neta=0);
78 private:
c63c3c5d 79 TList *fShishKebabModules; //! list of modules
2012850d 80
81 protected:
b13bbe81 82
c63c3c5d 83 ClassDef(AliEMCALv0,3) // Implementation of EMCAL manager class for midrapidity barrel layout between 80 and 180(190) degrees
2012850d 84
85 };
86
87#endif // AliEMCALV0_H