bug fix in the vertex selection
[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
702ab87e 6/* $Id$ */
7
8/* History of cvs commits:
9 *
10 * $Log$
e939a978 11 * Revision 1.44 2006/09/27 19:55:57 kharlov
12 * Alignment object with symbolic volume names are introduced
13 *
2aebba19 14 * Revision 1.43 2005/05/28 14:19:05 schutz
15 * Compilation warnings fixed by T.P.
16 *
702ab87e 17 */
18
b2a60966 19//_________________________________________________________________________
20// Implementation version v0 of PHOS Manager class
a3dfe79c 21// Layout EMC + CPV has name IHEP
22//*--
b2a60966 23//*-- Author: Yves Schutz (SUBATECH)
d15a28e7 24
25// --- ROOT system ---
d15a28e7 26
2ab0c725 27class TFile;
fa7cce36 28class TFolder;
2ab0c725 29
d15a28e7 30// --- AliRoot header files ---
fe4da5cc 31#include "AliPHOS.h"
d15a28e7 32
33class AliPHOSv0 : public AliPHOS {
34
1c7b564f 35 public:
d15a28e7 36
fa7cce36 37 AliPHOSv0() {}
d15a28e7 38 AliPHOSv0(const char *name, const char *title="") ;
5f20d3fb 39 virtual ~AliPHOSv0(void){
40 // dtor
41 }
d15a28e7 42
a8c47ab6 43// virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) {
702ab87e 44 //this function is not a final-overrider for AliPHOS::AddHit, to
45 //supress warning, I use using-declaration :)
46 using AliPHOS::AddHit;
a8c47ab6 47 virtual void AddHit( Int_t, Int_t, Int_t, Int_t, Float_t*) {
f78d91b7 48 // useless since there are no hits
f1611b7c 49 Fatal("AddHit", "not to be used with v0") ;
f78d91b7 50 }
ed4205d8 51 virtual void CreateGeometry(void) ; // creates the geometry for GEANT
85218d13 52 void CreateGeometryforEMC(void) ; // creates the PHOS geometry for GEANT
53 // void CreateGeometryforPPSD(void) ; // creates the PPSD geometry for GEANT
ed4205d8 54 void CreateGeometryforCPV(void) ; // creates the CPV geometry for GEANT
55 void CreateGeometryforSupport(void) ; // creates the Support geometry for GEANT
2aebba19 56 virtual void AddAlignableVolumes() const; // define sym.names for alignable volumes
57
ed4205d8 58 virtual Float_t ZMin() const; // overall dimension of the module (min)
59 virtual Float_t ZMax() const; // overall dimension of the module (max)
60
fa7cce36 61 virtual void Init(void) ; // does nothing
e04976bd 62 virtual Int_t IsVersion(void) const {
f78d91b7 63 // Gives the version number
64 return 0 ;
65 }
bd46a237 66 virtual const TString Version(void)const {
f78d91b7 67 // As above
68 return TString("v0") ;
69 }
5f20d3fb 70
5f20d3fb 71
e939a978 72 private:
73 AliPHOSv0(AliPHOSv0 & phos);
74 AliPHOSv0 & operator = (const AliPHOSv0 & /*rvalue*/);
fa7cce36 75
b2a60966 76 ClassDef(AliPHOSv0,1) // Implementation of PHOS manager class for layout EMC+PPSD
5f20d3fb 77
78 };
79
9f616d61 80#endif // AliPHOSV0_H