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