3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 //_________________________________________________________________________
11 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
13 // --- ROOT system ---
16 // --- AliRoot header files ---
18 #include "AliDetector.h"
19 #include "AliPHOSGeometry.h"
20 #include "AliRecPoint.h"
21 #include "AliPHOSTrackSegment.h"
22 #include "AliPHOSRecParticle.h"
24 class AliPHOS : public AliDetector {
28 AliPHOS(const char* name="PHOS", const char* title=""): AliDetector(name,title) {
31 AliPHOS(const AliPHOS & phos) {
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 used this definition but the one below
41 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ;
42 virtual void CreateMaterials() ;
43 virtual AliPHOSRecPoint::RecPointsList * EmcRecPoints() {
44 // Getting list of RecPoints
45 return fEmcRecPoints ;
47 virtual AliPHOSGeometry * GetGeometry() = 0 ;
48 virtual AliPHOSRecPoint::RecPointsList * PpsdRecPoints() {
49 // to be redefined when ppsd is present
52 virtual void SetTreeAddress();
53 virtual AliPHOSRecParticle::RecParticlesList * RecParticles() {
54 // Getting list of RecParticles
55 return fRecParticles ;
57 virtual AliPHOSTrackSegment::TrackSegmentsList * TrackSegments() {
58 // Getting list of TrackSegments
59 return fTrackSegments ;
61 virtual TString Version() {return TString(" ") ; }
63 AliPHOS & operator = (const AliPHOS & rvalue) {
64 // assignement operator requested by coding convention
72 AliPHOSRecPoint::RecPointsList * fEmcRecPoints ; // The RecPoints (clusters) list in EMC
73 AliPHOSTrackSegment::TrackSegmentsList * fTrackSegments ;// The TrackSegment list in PHOS
74 AliPHOSRecParticle::RecParticlesList * fRecParticles ; // The reconstructed particles list in PHOS
77 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)