]>
Commit | Line | Data |
---|---|---|
69efe7cb | 1 | #ifndef ALIITSVPPRCOARSESYMM_H |
2 | #define ALIITSVPPRCOARSESYMM_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 | ///////////////////////////////////////////////////////// | |
9 | // Manager and hits classes for set: ITS version 7 // | |
10 | ///////////////////////////////////////////////////////// | |
11 | ||
12 | #include "AliITS.h" | |
13 | ||
14 | class AliITSvPPRcoarsesymm : public AliITS { | |
15 | ||
16 | public: | |
17 | AliITSvPPRcoarsesymm(); | |
18 | AliITSvPPRcoarsesymm(const char *name, const char *title); | |
19 | AliITSvPPRcoarsesymm(const AliITSvPPRcoarsesymm &source); // copy constructor | |
20 | AliITSvPPRcoarsesymm& operator=(const AliITSvPPRcoarsesymm &source); // assignment operator | |
21 | virtual ~AliITSvPPRcoarsesymm() ; | |
22 | virtual void BuildGeometry(); | |
23 | virtual void CreateGeometry(); | |
24 | virtual void CreateMaterials(); | |
25 | virtual void Init(); | |
26 | virtual Int_t IsVersion() const { | |
27 | // returns the ITS version number | |
28 | return 7; | |
29 | } | |
30 | virtual void DrawModule(); | |
31 | virtual void StepManager(); | |
e4f08ac3 | 32 | virtual void SetRails(Int_t v=1){ |
33 | // Set flag for rails | |
72923d44 | 34 | fRails = v;} |
35 | virtual void SetSupportMaterial(Int_t v=0){ | |
36 | // Set material of the services supports | |
37 | fSuppMat = v;} | |
e4f08ac3 | 38 | virtual Int_t GetRails(){ |
39 | // Get flag for rails | |
72923d44 | 40 | return fRails;} |
41 | virtual Int_t GetSupportMaterial(){ | |
42 | // Get material of the services supports | |
43 | return fSuppMat;} | |
bae7e562 | 44 | virtual Int_t GetMajorVersion(){// return Major Version Number |
45 | return fMajorVersion;} | |
46 | virtual Int_t GetMinorVersion(){// return Major Version Number | |
47 | return fMinorVersion;} | |
48 | ||
49 | ||
50 | private: | |
51 | Int_t fMajorVersion; // Major version number == IsVersion | |
52 | Int_t fMinorVersion; // Minor version number | |
e4f08ac3 | 53 | Int_t fRails; // flag to switch rails on (=1) and off (=0) |
72923d44 | 54 | Int_t fSuppMat; // flag to change the material of the services |
55 | // supports (=0 copper, =1 aluminum, =2 carbon) | |
56 | ||
69efe7cb | 57 | ClassDef(AliITSvPPRcoarsesymm,1) //Hits manager for set:ITS version 7 |
58 | // PPR coarse Geometry symmetric | |
59 | }; | |
60 | ||
61 | #endif |