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 ---
20 // --- AliRoot header files ---
22 #include "AliDetector.h"
23 class AliPHOSGeometry ;
24 class AliPHOSQAChecker ;
26 class AliPHOS : public AliDetector {
31 AliPHOS(const char* name, const char* title="") ;
32 AliPHOS(const AliPHOS & phos) {
33 // cpy ctor: no implementation yet
34 // requested by the Coding Convention
38 virtual void AddHit(Int_t, Int_t*, Float_t *) {
39 // do not use this definition but the one below
42 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track,
43 Int_t id, Float_t *hits ) = 0 ;
44 virtual void CreateMaterials() ;
45 virtual void FinishRun() {WriteQA();}
46 virtual AliPHOSGeometry * GetGeometry() const ;
47 virtual Int_t IsVersion(void) const = 0 ;
48 AliPHOSQAChecker * QAChecker() {return fQATask;}
49 virtual void SetTreeAddress();
50 virtual TTree * TreeQA() const {return fTreeQA; }
51 virtual const TString Version() const {return TString(" ") ; }
52 virtual void WriteQA() ;
53 AliPHOS & operator = (const AliPHOS & rvalue) {
54 // assignement operator requested by coding convention
62 AliPHOSQAChecker * fQATask ; //! PHOS checkers container
63 TTree * fTreeQA ; // the QA tree that contains the alarms
65 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)