]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOS.h
a few modifications to satisty aCC
[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
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //  Base Class for PHOS     
10 //                  
11 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
12
13 // --- ROOT system ---
14 #include "TString.h"
15
16 // --- AliRoot header files ---
17
18 #include "AliDetector.h"
19 #include "AliPHOSGeometry.h" 
20 #include "AliRecPoint.h"
21 #include "AliPHOSTrackSegment.h"
22 #include "AliPHOSRecParticle.h"
23
24 class AliPHOS : public AliDetector {
25
26  public:
27
28   AliPHOS(const char* name, const char* title): AliDetector(name,title) {} 
29   AliPHOS() : AliDetector() {
30     // default ctor
31   } 
32   AliPHOS(const AliPHOS & phos) {
33     // cpy ctor: no implementation yet
34     // requested by the Coding Convention
35     assert(0==1) ; 
36   }
37   virtual ~AliPHOS() ; 
38   virtual void   AddHit(Int_t, Int_t*, Float_t *) {
39     // do not used this definition but the one below
40     assert(0==1) ; 
41   }
42   virtual void   AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ; 
43   virtual  void  CreateMaterials() ;                     
44   virtual  AliPHOSRecPoint::RecPointsList *  EmcRecPoints() {
45     // Getting list of RecPoints
46     return fEmcRecPoints ;
47   }
48   virtual  AliPHOSGeometry * GetGeometry() = 0 ;
49   virtual  AliPHOSRecPoint::RecPointsList * PpsdRecPoints()=0;
50   virtual void  SetTreeAddress();                
51   virtual  AliPHOSRecParticle::RecParticlesList *  RecParticles() {
52     // Getting list of RecParticles
53     return fRecParticles ;
54   }
55   virtual  AliPHOSTrackSegment::TrackSegmentsList *  TrackSegments() {
56     // Getting list of TrackSegments
57     return fTrackSegments ;
58   }
59   virtual TString Version() {return TString(" ") ; } 
60  
61   AliPHOS & operator = (const AliPHOS & rvalue)  {
62     // assignement operator requested by coding convention
63     // but not needed
64     assert(0==1) ;
65     return *this ; 
66   }
67  
68  protected:
69   
70   AliPHOSRecPoint::RecPointsList * fEmcRecPoints ;         // The RecPoints (clusters) list in EMC 
71   AliPHOSTrackSegment::TrackSegmentsList * fTrackSegments ;// The TrackSegment list in PHOS
72   AliPHOSRecParticle::RecParticlesList * fRecParticles ;   // The reconstructed particles list in PHOS
73
74
75   ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
76
77 } ;
78
79 #endif // ALIPHOS_H