]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSvPPRcoarseasymm.h
Changes to integrate the MLUC libs from
[u/mrichter/AliRoot.git] / ITS / AliITSvPPRcoarseasymm.h
index 12e69a08569a838b381f1b2fa5a64aee3b858b1c..5933de0d26a224731e44fa36b064194eee18068d 100644 (file)
@@ -23,13 +23,35 @@ class AliITSvPPRcoarseasymm : public AliITS {
     virtual void   CreateGeometry();
     virtual void   CreateMaterials();
     virtual void   Init(); 
-    virtual Int_t  IsVersion() const {
-      // returns the ITS version number 
-      return 6;
-    } 
+    virtual Int_t  IsVersion() const {// returns the ITS version number 
+       return 6;}
     virtual void   DrawModule();
     virtual void   StepManager();
+    virtual void   SetRails(Int_t v=1){ 
+        // Set flag for rails
+        fRails = v;}   
+    virtual void   SetSupportMaterial(Int_t v=0){ 
+        // Set material of the services supports
+        fSuppMat = v;}                      
+    virtual Int_t GetRails(){ 
+        // Get flag for rails
+        return fRails;}
+    virtual Int_t GetSupportMaterial(){ 
+        // Get material of the services supports 
+        return fSuppMat;}                
+    virtual Int_t GetMajorVersion(){// return Major Version Number
+       return fMajorVersion;}
+    virtual Int_t GetMinorVersion(){// return Major Version Number
+       return fMinorVersion;}
 
+
+ private:
+    Int_t  fMajorVersion;     // Major version number == IsVersion
+    Int_t  fMinorVersion;     // Minor version number
+    Int_t  fRails;            // flag to switch rails on (=1) and off (=0)
+    Int_t  fSuppMat;          // flag to change the material of the services
+                              // supports (=0 copper, =1 aluminum, =2 carbon)
+                                 
     ClassDef(AliITSvPPRcoarseasymm,1)  //Hits manager for set:ITS version 6 
                                        // PPR coarse Geometry asymmetric
 };