]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOS.h
Removed not used anymore ctor
[u/mrichter/AliRoot.git] / PHOS / AliPHOS.h
CommitLineData
d15a28e7 1#ifndef ALIPHOS_H
2#define ALIPHOS_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6ad0bfa0 4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
3da30618 7
b2a60966 8//_________________________________________________________________________
9// Base Class for PHOS
10//
11//*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
fe4da5cc 12
d15a28e7 13// --- ROOT system ---
0c409cb2 14#include "TString.h"
fe4da5cc 15
d15a28e7 16// --- AliRoot header files ---
fe4da5cc 17
d15a28e7 18#include "AliDetector.h"
19#include "AliPHOSGeometry.h"
83974468 20#include "AliRecPoint.h"
21#include "AliPHOSTrackSegment.h"
22#include "AliPHOSRecParticle.h"
fe4da5cc 23
24class AliPHOS : public AliDetector {
25
26 public:
27
b2a60966 28 AliPHOS(const char* name, const char* title): AliDetector(name,title) {}
88714635 29 AliPHOS() : AliDetector() {
30 // default ctor
31 }
839ffcb3 32 AliPHOS(const AliPHOS & phos) {
33 // cpy ctor: no implementation yet
34 // requested by the Coding Convention
35 assert(0==1) ;
36 }
d15a28e7 37 virtual ~AliPHOS() ;
38
7c67e406 39 virtual void CreateMaterials() ; // defines the material of the detector
2ea4f4fc 40 virtual AliPHOSRecPoint::RecPointsList * EmcRecPoints() {
7c67e406 41 // Getting list of RecPoints
42 return fEmcRecPoints ;
43 }
44 virtual AliPHOSGeometry * GetGeometry() = 0 ;
2ea4f4fc 45 virtual AliPHOSRecPoint::RecPointsList * PpsdRecPoints()=0;// gets Array of clusters in the PPSD
7c67e406 46 virtual void SetTreeAddress(); // Tree Address for reconstruction lists
2ea4f4fc 47 virtual AliPHOSRecParticle::RecParticlesList * RecParticles() {
7c67e406 48 // Getting list of RecParticles
49 return fRecParticles ;
50 }
2ea4f4fc 51 virtual AliPHOSTrackSegment::TrackSegmentsList * TrackSegments() {
7c67e406 52 // Getting list of TrackSegments
53 return fTrackSegments ;
54 }
55 virtual TString Version() {return TString(" ") ; }
839ffcb3 56
57 AliPHOS & operator = (const AliPHOS & rvalue) {
58 // assignement operator requested by coding convention
59 // but not needed
60 assert(0==1) ;
61 return *this ;
62 }
63
83974468 64 protected:
65
88714635 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
83974468 69
fe4da5cc 70
b2a60966 71 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
fe4da5cc 72
d15a28e7 73} ;
fe4da5cc 74
d15a28e7 75#endif // ALIPHOS_H