]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALv0.h
Bug in title-name corrected
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv0.h
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)
12 //*-- and   : Sahal Yacoob (LBL / UCT) 
13 //#include <assert.h>
14
15 // --- ROOT system ---
16
17 class TFile;
18
19 // --- AliRoot header files ---
20 #include "AliEMCAL.h"
21
22 //class AliEMCALGeometry ; 
23
24 class AliEMCALv0 : public AliEMCAL {
25
26  public:
27
28   AliEMCALv0():AliEMCAL() {}
29   AliEMCALv0(const char *name, const char *title="") ;
30   AliEMCALv0(const AliEMCALv0 & emcal) {
31     // cpy ctor: no implementation yet
32     // requested by the Coding Convention
33     abort() ; 
34   } 
35   virtual ~AliEMCALv0(){} 
36
37   virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, 
38                         Int_t id, Float_t *hits ) {
39     // no hits - useless
40   }
41
42   virtual void BuildGeometry();// creates the geometry for the ROOT display
43   virtual void CreateGeometry() ;// creates the geometry for GEANT
44
45   virtual AliEMCALGeometry * GetGeometry() {
46     // gets the pointer to the AliEMCALGeometry unique instance
47     return fGeom ;
48   }
49
50
51
52   virtual void   Init(void) ;                                       // does nothing
53   virtual Int_t  IsVersion(void) const { 
54     // Gives the version number 
55     return 0 ; 
56   }
57   virtual TString Version(void){ 
58     // As above
59     return TString("v0") ; 
60   }
61   
62   AliEMCALv0 & operator = (const AliEMCALv0 & rvalue)  {
63     // assignement operator requested by coding convention but not needed
64     abort() ;
65     return *this ; 
66   }
67   
68  protected:
69
70   ClassDef(AliEMCALv0,1)  // Implementation of EMCAL manager class for layout EMC+PPSD
71     
72     };
73     
74 #endif // AliEMCALV0_H