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