introducing the US EM calorimeter
[u/mrichter/AliRoot.git] / EMCAL / AliEMCAL.h
CommitLineData
2012850d 1#ifndef ALIEMCAL_H
2#define ALIEMCAL_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// Base Class for EMCAL
10//
11//*-- Author: Yves Schutz (SUBATECH)
12
13#include <assert.h>
14
15// --- ROOT system ---
16class TString ;
17class TClonesArray ;
18
19// --- AliRoot header files ---
20
21#include "AliDetector.h"
22class AliEMCALGeometry ;
23
24class AliEMCAL : public AliDetector {
25
26 public:
27
28 AliEMCAL() ;
29 AliEMCAL(const char* name, const char* title="");
30 AliEMCAL(const AliEMCAL & emcal) {
31 // cpy ctor: no implementation yet
32 // requested by the Coding Convention
33 assert(0==1) ;
34 }
35 virtual ~AliEMCAL() ;
36 virtual void CreateMaterials() ;
37 virtual AliEMCALGeometry * GetGeometry() { return fGeom ; }
38 Int_t IsVersion(void) const { return -1 ; }
39 virtual void SetTreeAddress() ;
40 TClonesArray *SDigits() const {return fSDigits;}
41 virtual TString Version() {return TString(" ") ; }
42 AliEMCAL & operator = (const AliEMCAL & rvalue) {
43 // assignement operator requested by coding convention
44 // but not needed
45 assert(0==1) ;
46 return *this ;
47 }
48
49protected:
50
51 AliEMCALGeometry * fGeom ; // Geometry definition
52 TClonesArray *fSDigits ; // List of summable digits
53 TClonesArray *fDigits ; // List of digits
54
55 ClassDef(AliEMCAL,2) // Electromagnetic calorimeter (base class)
56
57} ;
58
59#endif // ALIEMCAL_H