]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - PHOS/AliPHOSv0.h
Some additional changes related to the previous changes. AliL3Transform
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv0.h
... / ...
CommitLineData
1#ifndef ALIPHOSV0_H
2#define ALIPHOSV0_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6//_________________________________________________________________________
7// Implementation version v0 of PHOS Manager class
8// Layout EMC + PPSD has name GPS2
9// Layout EMC + CPV has name IHEP
10//*--
11//*-- Author: Yves Schutz (SUBATECH)
12
13// --- ROOT system ---
14
15class TFile;
16class TFolder;
17
18// --- AliRoot header files ---
19#include "AliPHOS.h"
20
21class AliPHOSv0 : public AliPHOS {
22
23 public:
24
25 AliPHOSv0() {}
26 AliPHOSv0(const char *name, const char *title="") ;
27 AliPHOSv0(const AliPHOSv0 & phos) {
28 // cpy ctor: no implementation yet
29 // requested by the Coding Convention
30 abort() ;
31 }
32 virtual ~AliPHOSv0(void){
33 // dtor
34 }
35
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
38 abort() ;
39 }
40 virtual void BuildGeometry(void) ; // creates the geometry for the ROOT display
41 void BuildGeometryforEMC(void) ; // creates the PHOS geometry for the ROOT display
42 // void BuildGeometryforPPSD(void) ; // creates the PPSD geometry for the ROOT display
43 void BuildGeometryforCPV(void) ; // creates the CPV geometry for the ROOT display
44 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
45 void CreateGeometryforEMC(void) ; // creates the PHOS geometry for GEANT
46 // void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
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
52 virtual void Init(void) ; // does nothing
53 virtual Int_t IsVersion(void) const {
54 // Gives the version number
55 return 0 ;
56 }
57 virtual TString Version(void){
58 // As above
59 return TString("v0") ;
60 }
61
62 AliPHOSv0 & operator = (const AliPHOSv0 & rvalue) {
63 // assignement operator requested by coding convention but not needed
64 abort() ;
65 return *this ;
66 }
67
68 protected:
69
70
71 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD
72
73 };
74
75#endif // AliPHOSV0_H