3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 //_________________________________________________________________________
9 // PHOS consists of a PbWO4 calorimeter (EMCA) and a gazeous charged
10 // particles detector (CPV or PPSD).
11 // The only provided method here is CreateMaterials,
12 // which defines the materials common to all PHOS versions.
14 //*-- Author: Laurent Aphecetche & Yves Schutz (SUBATECH)
16 // --- ROOT system ---
20 // --- AliRoot header files ---
22 #include "AliDetector.h"
23 class AliPHOSGeometry ;
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 virtual AliPHOSGeometry * GetGeometry() const = 0 ;
45 Int_t IsVersion(void) const { return -1 ; }
46 virtual void SetTreeAddress();
47 virtual TString Version() {return TString(" ") ; }
49 AliPHOS & operator = (const AliPHOS & rvalue) {
50 // assignement operator requested by coding convention but not needed
57 ClassDef(AliPHOS,2) // Photon Spectrometer Detector (base class)