]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/EveDet/AliEveITSModuleStepper.h
Fix order of public/protected/private sections to conform with coding
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveITSModuleStepper.h
index 75fd11541e47cadc431aea9bda6da1bdca4fb4d1..73c9a9694d2a0a0f3fc3d3824affd2e49ae5da0d 100644 (file)
@@ -29,17 +29,47 @@ class AliEveITSModuleStepper : public TEveElementList,
   friend class ITSModuleStepperGL;
 
 public:
+
   typedef std::vector<UInt_t>           vpInt_t;
   typedef std::vector<UInt_t>::iterator vpInt_i;
 
-private:
-  vpInt_t                 fIDs;       // Vector of module IDs to be displayed.
-  UInt_t                  fPosition;  // Position of top corner ITS module in vector fIDs.
 
-  AliEveITSModuleStepper(const AliEveITSModuleStepper&);            // Not implemented
-  AliEveITSModuleStepper& operator=(const AliEveITSModuleStepper&); // Not implemented
+  AliEveITSModuleStepper(AliEveITSDigitsInfo* di);
+  virtual ~AliEveITSModuleStepper();
+
+  // external functions
+  void     DisplayDet(Int_t det, Int_t layer = -1);
+  void     DisplayTheta(Float_t min, Float_t max);
+
+  // overlay functions
+  virtual  Bool_t MouseEnter(TGLOvlSelectRecord& selRec);
+  virtual  Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec,
+                        Event_t* event);
+  virtual void   MouseLeave();
+  virtual void   Render(TGLRnrCtx& rnrCtx);
+
+  // stepper
+  TEveGridStepper*  GetStepper()                   { return fStepper; }
+  void              SetStepper(TEveGridStepper* s) { fStepper = s; Apply(); }
+
+  Int_t    GetCurrentPage() const;
+  Int_t    GetPages();
+  void     Start();
+  void     Next();
+  void     Previous();
+  void     End();
+  void     Apply();
+  void     Capacity();
+
+  // getters/setters
+  Color_t  GetWColor() const     { return fWCol; }
+  void     SetWColor(Color_t c)  { fWCol = c;    }
+  TGLText* GetFont()             { return fText; }
+  void     SetGLText(TGLText* t) { fText = t;    }
+
 
 protected:
+
   AliEveITSDigitsInfo    *fDigitsInfo; // Source of data and geometry.
   AliEveDigitScaleInfo   *fScaleInfo;  // Parameters for digit-scaling.
   Int_t                   fSubDet;     // Sub-det, 0~SPD, 1~SDD, 2~SSD.
@@ -83,39 +113,12 @@ protected:
   void   ResetList()            { fIDs.clear();}
   void   SetFirst(Int_t first);
 
-public:
-  AliEveITSModuleStepper(AliEveITSDigitsInfo* di);
-  virtual ~AliEveITSModuleStepper();
-
-  // external functions
-  void     DisplayDet(Int_t det, Int_t layer = -1);
-  void     DisplayTheta(Float_t min, Float_t max);
-
-  // overlay functions
-  virtual  Bool_t MouseEnter(TGLOvlSelectRecord& selRec);
-  virtual  Bool_t Handle(TGLRnrCtx& rnrCtx, TGLOvlSelectRecord& selRec,
-                        Event_t* event);
-  virtual void   MouseLeave();
-  virtual void   Render(TGLRnrCtx& rnrCtx);
-
-  // stepper
-  TEveGridStepper*  GetStepper()                   { return fStepper; }
-  void              SetStepper(TEveGridStepper* s) { fStepper = s; Apply(); }
-
-  Int_t    GetCurrentPage() const;
-  Int_t    GetPages();
-  void     Start();
-  void     Next();
-  void     Previous();
-  void     End();
-  void     Apply();
-  void     Capacity();
+private:
+  vpInt_t                 fIDs;       // Vector of module IDs to be displayed.
+  UInt_t                  fPosition;  // Position of top corner ITS module in vector fIDs.
 
-  // getters/setters
-  Color_t  GetWColor() const     { return fWCol; }
-  void     SetWColor(Color_t c)  { fWCol = c;    }
-  TGLText* GetFont()             { return fText; }
-  void     SetGLText(TGLText* t) { fText = t;    }
+  AliEveITSModuleStepper(const AliEveITSModuleStepper&);            // Not implemented
+  AliEveITSModuleStepper& operator=(const AliEveITSModuleStepper&); // Not implemented
 
   ClassDef(AliEveITSModuleStepper, 0); // Display scaled ITS modules in a paged layout, also providing GL-overaly control GUI.
 };