]>
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="") ; |
30 | AliEMCALv0(const AliEMCALv0 & emcal) { | |
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 | ||
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 | |
2012850d | 44 | virtual void Init(void) ; // does nothing |
45 | virtual Int_t IsVersion(void) const { | |
46 | // Gives the version number | |
47 | return 0 ; | |
48 | } | |
05a92d59 | 49 | virtual const TString Version(void) const{ |
2012850d | 50 | // As above |
51 | return TString("v0") ; | |
52 | } | |
53 | ||
54 | AliEMCALv0 & operator = (const AliEMCALv0 & rvalue) { | |
55 | // assignement operator requested by coding convention but not needed | |
9859bfc0 | 56 | Fatal("operator =", "not implemented") ; |
2012850d | 57 | return *this ; |
58 | } | |
59 | ||
60 | protected: | |
b13bbe81 | 61 | |
ffa6d63b | 62 | ClassDef(AliEMCALv0,1) // Implementation of EMCAL manager class for midrapidity barrel layout between 0 and 120 degrees |
2012850d | 63 | |
64 | }; | |
65 | ||
66 | #endif // AliEMCALV0_H |