]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIITSVSPD02_H | |
2 | #define ALIITSVSPD02_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | /* | |
6 | $Id$ | |
7 | */ | |
8 | // ITS step manager and geometry class for the ITS SPD test beam geometry | |
9 | // of Summer 2002. | |
10 | /////////////////////////////////////////////////////////////////////// | |
11 | // Step manager and | |
12 | // geometry class | |
13 | // for the ITS | |
14 | // SPD test beam | |
15 | // geometry of summer 2002 | |
16 | // | |
17 | /////////////////////////////////////////////////////////////////////// | |
18 | #include "AliITSInitGeometry.h" | |
19 | #include "AliITS.h" | |
20 | ||
21 | class AliITSvSPD02 : public AliITS{ | |
22 | public: | |
23 | AliITSvSPD02(); // default constructor | |
24 | AliITSvSPD02(const char *title,Int_t geomnum=2002); // standard constructor | |
25 | virtual ~AliITSvSPD02(); // destructor | |
26 | virtual void CreateGeometry(); | |
27 | virtual void CreateMaterials(); | |
28 | virtual Int_t IsVersion() const {// returns the ITS version number | |
29 | return (Int_t)kvSPD02;} | |
30 | virtual void Init(); | |
31 | //virtual void SetDefaults(); | |
32 | virtual void DrawModule() const; | |
33 | virtual void StepManager(); | |
34 | virtual void SetMinorVersion(Int_t v=22){ // Choose between existing minor versions | |
35 | fMinorVersion = v;} | |
36 | virtual void SetThicknessDet1(Float_t v=300.){ | |
37 | // Set detector thickness in layer 1 | |
38 | fDet1 = v;} | |
39 | virtual void SetThicknessDet2(Float_t v=300.){ | |
40 | // Set detector thickness in layer 2 | |
41 | fDet2 = v;} | |
42 | virtual void SetThicknessChip1(Float_t v=300.){ | |
43 | // Set chip thickness in layer 1 | |
44 | fChip1 = v;} | |
45 | virtual void SetThicknessChip2(Float_t v=300.){ | |
46 | // Set chip thickness in layer 2 | |
47 | fChip2 = v;} | |
48 | // Replacement default simulation initilization. | |
49 | //virtual void SetDefaultSimulation(); | |
50 | // | |
51 | private: | |
52 | void BuildGeometry2002(); | |
53 | void CreateGeometry2002(); | |
54 | void CreateMaterials2002(); | |
55 | ||
56 | private: | |
57 | AliITSvSPD02(const AliITSvSPD02 &source); // Copy constructor | |
58 | AliITSvSPD02& operator=(const AliITSvSPD02 &source); // = operator | |
59 | Int_t fMajorVersion; // Major version number == IsVersion | |
60 | Int_t fMinorVersion; // Minor version number | |
61 | Int_t fGeomNumber; // Geometry version number (year) | |
62 | Float_t fDet1; // thickness of detector in SPD layer 1 | |
63 | Float_t fDet2; // thickness of detector in SPD layer 2 | |
64 | Float_t fChip1; // thickness of chip in SPD layer 1 | |
65 | Float_t fChip2; // thickness of chip in SPD layer 2 | |
66 | Int_t fIDMother; //! ITS Mother Volume id. | |
67 | AliITSInitGeometry fIgm;//! Get access to decoding and AliITSgeom init functins | |
68 | ||
69 | ClassDef(AliITSvSPD02,5) // Hits manager and geometry for SPD testbeam | |
70 | }; | |
71 | #endif |