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, const char* title): AliDetector(name,title) {}
29 AliPHOS() : AliDetector() {
32 AliPHOS(const AliPHOS & phos) {
33 // cpy ctor: no implementation yet
34 // requested by the Coding Convention
39 virtual void CreateMaterials() ; // defines the material of the detector
40 virtual AliPHOSRecPoint::RecPointsList * EmcRecPoints() {
41 // Getting list of RecPoints
42 return fEmcRecPoints ;
44 virtual AliPHOSGeometry * GetGeometry() = 0 ;
45 virtual AliPHOSRecPoint::RecPointsList * PpsdRecPoints()=0;// gets Array of clusters in the PPSD
46 virtual void SetTreeAddress(); // Tree Address for reconstruction lists
47 virtual AliPHOSRecParticle::RecParticlesList * RecParticles() {
48 // Getting list of RecParticles
49 return fRecParticles ;
51 virtual AliPHOSTrackSegment::TrackSegmentsList * TrackSegments() {
52 // Getting list of TrackSegments
53 return fTrackSegments ;
55 virtual TString Version() {return TString(" ") ; }
57 AliPHOS & operator = (const AliPHOS & rvalue) {
58 // assignement operator requested by coding convention
66 AliPHOSRecPoint::RecPointsList * fEmcRecPoints ; // The RecPoints (clusters) list in EMC
67 AliPHOSTrackSegment::TrackSegmentsList * fTrackSegments ;// The TrackSegment list in PHOS
68 AliPHOSRecParticle::RecParticlesList * fRecParticles ; // The reconstructed particles list in PHOS
71 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)