]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOS.h
STAGE_HOST renamed to stagealice (was aliceb01)
[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 */
6ad0bfa0 5/* $Id$ */
3da30618 6
b2a60966 7//_________________________________________________________________________
8// Base Class for PHOS
9//
10//*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
fe4da5cc 11
d15a28e7 12// --- ROOT system ---
0e4b7936 13
14class TString ;
7b326aac 15class TTask ;
fe4da5cc 16
d15a28e7 17// --- AliRoot header files ---
fe4da5cc 18
0e4b7936 19#include "AliDetector.h"
20class AliPHOSGeometry ;
7b326aac 21class AliPHOSQAChecker ;
fe4da5cc 22
23class AliPHOS : public AliDetector {
24
25 public:
26
7b326aac 27 AliPHOS() : AliDetector() {fQATask=0;}
28 AliPHOS(const char* name, const char* title="") ;
839ffcb3 29 AliPHOS(const AliPHOS & phos) {
30 // cpy ctor: no implementation yet
31 // requested by the Coding Convention
0e4b7936 32 abort() ;
839ffcb3 33 }
7b326aac 34 virtual ~AliPHOS() ;
0a6d52e3 35 virtual void AddHit(Int_t, Int_t*, Float_t *) {
0e4b7936 36 // do not use this definition but the one below
37 abort() ;
0a6d52e3 38 }
88bdfa12 39 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ;
9abb6731 40 virtual void CreateMaterials() ;
783fdef6 41 virtual AliPHOSGeometry * GetGeometry() const = 0 ;
ad8cfaf4 42 Int_t IsVersion(void) const { return -1 ; }
7b326aac 43 AliPHOSQAChecker * QAChecker() {return fQATask;}
0e4b7936 44 virtual void SetTreeAddress();
7c67e406 45 virtual TString Version() {return TString(" ") ; }
839ffcb3 46
47 AliPHOS & operator = (const AliPHOS & rvalue) {
7b326aac 48 // assignement operator requested by coding convention
49 // but not needed
0e4b7936 50 abort() ;
839ffcb3 51 return *this ;
52 }
53
b73f246d 54protected:
7b326aac 55
56 AliPHOSQAChecker * fQATask ; // PHOS checkers container
57 TTask * fSDTask ; // PHOS (S)Digitizer container
58 TTask * fReTask ; // PHOS Reconstructioner container
fe4da5cc 59
b2a60966 60 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
fe4da5cc 61
d15a28e7 62} ;
fe4da5cc 63
d15a28e7 64#endif // ALIPHOS_H