]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSv0.h
Moving to the new VMC naming convention
[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
a3dfe79c 9// Layout EMC + CPV has name IHEP
10//*--
b2a60966 11//*-- Author: Yves Schutz (SUBATECH)
d15a28e7 12
13// --- ROOT system ---
d15a28e7 14
2ab0c725 15class TFile;
fa7cce36 16class TFolder;
2ab0c725 17
d15a28e7 18// --- AliRoot header files ---
fe4da5cc 19#include "AliPHOS.h"
d15a28e7 20
21class AliPHOSv0 : public AliPHOS {
22
1c7b564f 23 public:
d15a28e7 24
fa7cce36 25 AliPHOSv0() {}
d15a28e7 26 AliPHOSv0(const char *name, const char *title="") ;
839ffcb3 27 AliPHOSv0(const AliPHOSv0 & phos) {
28 // cpy ctor: no implementation yet
29 // requested by the Coding Convention
f1611b7c 30 Fatal("cpy ctor", "not implemented") ;
5f20d3fb 31 }
32 virtual ~AliPHOSv0(void){
33 // dtor
34 }
d15a28e7 35
f78d91b7 36 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
37 // useless since there are no hits
f1611b7c 38 Fatal("AddHit", "not to be used with v0") ;
f78d91b7 39 }
ed4205d8 40 virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
85218d13 41 void BuildGeometryforEMC(void) ; // creates the PHOS geometry for the ROOT display
42 // void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display
ed4205d8 43 void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display
44 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
85218d13 45 void CreateGeometryforEMC(void) ; // creates the PHOS geometry for GEANT
46 // void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
ed4205d8 47 void CreateGeometryforCPV(void) ; // creates the CPV geometry for GEANT
48 void CreateGeometryforSupport(void) ; // creates the Support geometry for GEANT
49 virtual Float_t ZMin() const; // overall dimension of the module (min)
50 virtual Float_t ZMax() const; // overall dimension of the module (max)
51
fa7cce36 52 virtual void Init(void) ; // does nothing
e04976bd 53 virtual Int_t IsVersion(void) const {
f78d91b7 54 // Gives the version number
55 return 0 ;
56 }
bd46a237 57 virtual const TString Version(void)const {
f78d91b7 58 // As above
59 return TString("v0") ;
60 }
5f20d3fb 61
839ffcb3 62 AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) {
a3dfe79c 63 // assignement operator requested by coding convention but not needed
f1611b7c 64 Fatal("operator =", "not implemented") ;
839ffcb3 65 return *this ;
66 }
5f20d3fb 67
68 protected:
69
fa7cce36 70
b2a60966 71 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD
5f20d3fb 72
73 };
74
9f616d61 75#endif // AliPHOSV0_H