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) |
12 | |
13 | #include <assert.h> |
14 | |
15 | // --- ROOT system --- |
16 | |
17 | // --- AliRoot header files --- |
18 | #include "AliEMCAL.h" |
19 | class AliEMCALGeometry ; |
20 | |
21 | class AliEMCALv0 : public AliEMCAL { |
22 | |
23 | public: |
24 | |
25 | AliEMCALv0() {fGeom=0;} |
26 | AliEMCALv0(const char *name, const char *title="") ; |
27 | AliEMCALv0(const AliEMCALv0 & emcal) { |
28 | // cpy ctor: no implementation yet |
29 | // requested by the Coding Convention |
30 | assert(0==1) ; |
31 | } |
32 | virtual ~AliEMCALv0(void){} |
33 | |
34 | virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display |
35 | virtual void CreateGeometry(void) ; // creates the geometry for GEANT |
36 | |
37 | virtual void Init(void) ; // does nothing |
38 | virtual Int_t IsVersion(void) const { |
39 | // Gives the version number |
40 | return 0 ; |
41 | } |
42 | virtual TString Version(void){ |
43 | // As above |
44 | return TString("v0") ; |
45 | } |
46 | |
47 | AliEMCALv0 & operator = (const AliEMCALv0 & rvalue) { |
48 | // assignement operator requested by coding convention but not needed |
49 | assert(0==1) ; |
50 | return *this ; |
51 | } |
52 | |
53 | protected: |
54 | |
55 | ClassDef(AliEMCALv0,1) // Implementation of EMCAL manager class for layout EMC+PPSD |
56 | |
57 | }; |
58 | |
59 | #endif // AliEMCALV0_H |