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)
14 // --- ROOT system ---
19 // --- AliRoot header files ---
21 #include "AliDetector.h"
22 class AliPHOSGeometry ;
23 class AliPHOSQAChecker ;
25 class AliPHOS : public AliDetector {
30 AliPHOS(const char* name, const char* 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 use 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 void CreatePHOSFolders();
44 virtual AliPHOSGeometry * GetGeometry() const = 0 ;
45 Int_t IsVersion(void) const { return -1 ; }
46 AliPHOSQAChecker * QAChecker() {return fQATask;}
47 virtual void SetTreeAddress();
48 virtual TString Version() {return TString(" ") ; }
50 AliPHOS & operator = (const AliPHOS & rvalue) {
51 // assignement operator requested by coding convention
59 AliPHOSQAChecker * fQATask ; // PHOS checkers container
60 TTask * fSDTask ; // PHOS (S)Digitizer container
61 TTask * fReTask ; // PHOS Reconstructioner container
63 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)