3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 //_________________________________________________________________________
10 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
12 // --- ROOT system ---
17 // --- AliRoot header files ---
19 #include "AliDetector.h"
20 class AliPHOSGeometry ;
21 class AliPHOSQAChecker ;
23 class AliPHOS : public AliDetector {
27 AliPHOS() : AliDetector() {fQATask=0;}
28 AliPHOS(const char* name, const char* title="") ;
29 AliPHOS(const AliPHOS & phos) {
30 // cpy ctor: no implementation yet
31 // requested by the Coding Convention
35 virtual void AddHit(Int_t, Int_t*, Float_t *) {
36 // do not use this definition but the one below
39 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ;
40 virtual void CreateMaterials() ;
41 virtual AliPHOSGeometry * GetGeometry() const = 0 ;
42 Int_t IsVersion(void) const { return -1 ; }
43 AliPHOSQAChecker * QAChecker() {return fQATask;}
44 virtual void SetTreeAddress();
45 virtual TString Version() {return TString(" ") ; }
47 AliPHOS & operator = (const AliPHOS & rvalue) {
48 // assignement operator requested by coding convention
56 AliPHOSQAChecker * fQATask ; // PHOS checkers container
57 TTask * fSDTask ; // PHOS (S)Digitizer container
58 TTask * fReTask ; // PHOS Reconstructioner container
60 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)