]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOS.h
alot of cleaning: reconstruction data members removed (use IndexToObject), assert...
[u/mrichter/AliRoot.git] / PHOS / AliPHOS.h
1 #ifndef ALIPHOS_H
2 #define ALIPHOS_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id$ */
6
7 //_________________________________________________________________________
8 //  Base Class for PHOS     
9 //                  
10 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
11
12 // --- ROOT system ---
13
14 class TString ; 
15
16 // --- AliRoot header files ---
17
18 #include "AliDetector.h" 
19 class AliPHOSGeometry ; 
20
21 class AliPHOS : public AliDetector {
22
23  public:
24
25   AliPHOS() {}
26   AliPHOS(const char* name, const char* title="") {}
27   AliPHOS(const AliPHOS & phos) {
28     // cpy ctor: no implementation yet
29     // requested by the Coding Convention
30     abort() ; 
31   }
32   virtual ~AliPHOS() {}
33   virtual void   AddHit(Int_t, Int_t*, Float_t *) {
34     // do not use this definition but the one below
35     abort() ; 
36   }
37   virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ;   
38   virtual void   CreateMaterials() ;                     
39   virtual  AliPHOSGeometry * GetGeometry() = 0 ;
40
41   Int_t   IsVersion(void) const { return -1 ; } 
42   virtual void    SetTreeAddress();                
43   virtual TString Version() {return TString(" ") ; } 
44  
45   AliPHOS & operator = (const AliPHOS & rvalue)  {
46     // assignement operator requested by coding convention
47     // but not needed
48     abort() ;
49     return *this ; 
50   }
51  
52 protected:
53
54   ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
55
56 } ;
57
58 #endif // ALIPHOS_H