]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOS.h
09-jun-2001 NvE Script mklibs.bat modified to match its new location in the SCRIPTS
[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
6b87d0dd 27 AliPHOS() ;
7b326aac 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() ;
6b87d0dd 41 void CreatePHOSFolders();
783fdef6 42 virtual AliPHOSGeometry * GetGeometry() const = 0 ;
ad8cfaf4 43 Int_t IsVersion(void) const { return -1 ; }
7b326aac 44 AliPHOSQAChecker * QAChecker() {return fQATask;}
0e4b7936 45 virtual void SetTreeAddress();
7c67e406 46 virtual TString Version() {return TString(" ") ; }
839ffcb3 47
48 AliPHOS & operator = (const AliPHOS & rvalue) {
7b326aac 49 // assignement operator requested by coding convention
50 // but not needed
0e4b7936 51 abort() ;
839ffcb3 52 return *this ;
53 }
54
b73f246d 55protected:
7b326aac 56
57 AliPHOSQAChecker * fQATask ; // PHOS checkers container
58 TTask * fSDTask ; // PHOS (S)Digitizer container
59 TTask * fReTask ; // PHOS Reconstructioner container
fe4da5cc 60
b2a60966 61 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)
fe4da5cc 62
d15a28e7 63} ;
fe4da5cc 64
d15a28e7 65#endif // ALIPHOS_H