Corrections to PHOS constructors and methods
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0.h
CommitLineData
9f616d61 1#ifndef ALIPHOSV0_H
2#define ALIPHOSV0_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
b2a60966 6//_________________________________________________________________________
7// Implementation version v0 of PHOS Manager class
8// Layout EMC + PPSD has name GPS2
9//
10//*-- Author: Yves Schutz (SUBATECH)
d15a28e7 11
12// --- ROOT system ---
13#include "TClonesArray.h"
14
15// --- AliRoot header files ---
fe4da5cc 16#include "AliPHOS.h"
d15a28e7 17#include "AliPHOSGeometry.h"
18#include "AliPHOSReconstructioner.h"
19#include "AliPHOSTrackSegmentMaker.h"
908558fc 20#include "AliPHOSPID.h"
d15a28e7 21
22class AliPHOSv0 : public AliPHOS {
23
24public:
25
f78d91b7 26 AliPHOSv0() {
27 //ctor
28 }
d15a28e7 29 AliPHOSv0(const char *name, const char *title="") ;
839ffcb3 30 AliPHOSv0(const AliPHOSv0 & phos) {
31 // cpy ctor: no implementation yet
32 // requested by the Coding Convention
33 assert(0==1) ;
5f20d3fb 34 }
35 virtual ~AliPHOSv0(void){
36 // dtor
37 }
d15a28e7 38
f78d91b7 39 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
40 // useless since there are no hits
41 assert(0==1) ;
42 }
d15a28e7 43 virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
44 void BuildGeometryforPHOS(void) ; // creates the PHOS geometry for the ROOT display
45 void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display
46 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
47 void CreateGeometryforPHOS(void) ; // creates the PHOS geometry for GEANT
48 void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
f78d91b7 49 virtual AliPHOSGeometry * GetGeometry() {
50 // gets the pointer to the AliPHOSGeometry unique instance
51 return fGeom ;
52 }
d15a28e7 53 virtual void Init(void) ; // does nothing
f78d91b7 54 Int_t IsVersion(void) const {
55 // Gives the version number
56 return 0 ;
57 }
58 virtual TString Version(void){
59 // As above
60 return TString("v0") ;
61 }
5f20d3fb 62
839ffcb3 63 AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) {
64 // assignement operator requested by coding convention
65 // but not needed
66 assert(0==1) ;
67 return *this ;
68 }
5f20d3fb 69
70 protected:
71
b2a60966 72 AliPHOSGeometry * fGeom ; // Geometry definition
5f20d3fb 73
b2a60966 74 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD
5f20d3fb 75
76 };
77
9f616d61 78#endif // AliPHOSV0_H