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