3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
9 // Base Class for EMCAL
11 //*-- Author: Yves Schutz (SUBATECH)
15 // --- ROOT system ---
19 // --- AliRoot header files ---
21 #include "AliDetector.h"
22 #include "AliEMCALGeometry.h"
23 class AliEMCALGeometry ;
25 class AliEMCAL : public AliDetector {
30 AliEMCAL(const char* name, const char* title="");
31 AliEMCAL(const AliEMCAL & emcal) {
32 // cpy ctor: no implementation yet
33 // requested by the Coding Convention
37 virtual void AddHit(Int_t, Int_t*, Float_t *) {
38 // do not use this definition but the one below
41 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track,
42 Int_t id, Float_t *hits ) = 0 ;
45 virtual void CreateMaterials() ;
46 //virtual AliEMCALGeometry * GetGeometry() = 0 ;
47 Int_t IsVersion(void) const { return -1 ; }
48 virtual void SetTreeAddress() ;
49 virtual TString Version() {return TString(" ") ; }
50 AliEMCAL & operator = (const AliEMCAL & rvalue) {
51 // assignement operator requested by coding convention
59 AliEMCALGeometry * fGeom ; // Geometry definition
61 ClassDef(AliEMCAL,1) // Electromagnetic calorimeter (base class)