Minor corrections needed on HP and Sun
[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
fdeead01 12#include <stdlib.h>
13
d15a28e7 14// --- ROOT system ---
0e4b7936 15
16class TString ;
7b326aac 17class TTask ;
fe4da5cc 18
d15a28e7 19// --- AliRoot header files ---
fe4da5cc 20
0e4b7936 21#include "AliDetector.h"
22class AliPHOSGeometry ;
7b326aac 23class AliPHOSQAChecker ;
fe4da5cc 24
25class AliPHOS : public AliDetector {
26
27 public:
28
6b87d0dd 29 AliPHOS() ;
7b326aac 30 AliPHOS(const char* name, const char* title="") ;
839ffcb3 31 AliPHOS(const AliPHOS & phos) {
32 // cpy ctor: no implementation yet
33 // requested by the Coding Convention
0e4b7936 34 abort() ;
839ffcb3 35 }
7b326aac 36 virtual ~AliPHOS() ;
0a6d52e3 37 virtual void AddHit(Int_t, Int_t*, Float_t *) {
0e4b7936 38 // do not use this definition but the one below
39 abort() ;
0a6d52e3 40 }
88bdfa12 41 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) = 0 ;
9abb6731 42 virtual void CreateMaterials() ;
6b87d0dd 43 void CreatePHOSFolders();
783fdef6 44 virtual AliPHOSGeometry * GetGeometry() const = 0 ;
ad8cfaf4 45 Int_t IsVersion(void) const { return -1 ; }
7b326aac 46 AliPHOSQAChecker * QAChecker() {return fQATask;}
0e4b7936 47 virtual void SetTreeAddress();
7c67e406 48 virtual TString Version() {return TString(" ") ; }
839ffcb3 49
50 AliPHOS & operator = (const AliPHOS & rvalue) {
7b326aac 51 // assignement operator requested by coding convention
52 // but not needed
0e4b7936 53 abort() ;
839ffcb3 54 return *this ;
55 }
56
b73f246d 57protected:
7b326aac 58
59 AliPHOSQAChecker * fQATask ; // PHOS checkers container
60 TTask * fSDTask ; // PHOS (S)Digitizer container
61 TTask * fReTask ; // PHOS Reconstructioner container
fe4da5cc 62
b2a60966 63 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
fe4da5cc 64
d15a28e7 65} ;
fe4da5cc 66
d15a28e7 67#endif // ALIPHOS_H