]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix order of public/protected/private sections to conform with coding
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Mar 2008 16:33:43 +0000 (16:33 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Mar 2008 16:33:43 +0000 (16:33 +0000)
conventions.

In TPCSectorData remove PadRowHack structure and handling functions.

65 files changed:
EVE/EveBase/AliEveCosmicRayFitter.h
EVE/EveBase/AliEveCosmicRayFitterEditor.h
EVE/EveBase/AliEveEventManager.h
EVE/EveBase/AliEveJetPlane.h
EVE/EveBase/AliEveJetPlaneEditor.h
EVE/EveBase/AliEveJetPlaneGL.h
EVE/EveBase/AliEveKineTools.h
EVE/EveBase/AliEveTrackFitter.cxx
EVE/EveBase/AliEveTrackFitter.h
EVE/EveBase/AliEveTrackFitterEditor.h
EVE/EveBase/AliEveVSDCreator.h
EVE/EveBase/blacklisted-classes/AliEveCascade.h
EVE/EveBase/blacklisted-classes/AliEveCascadeEditors.h
EVE/EveBase/blacklisted-classes/AliEveV0.h
EVE/EveBase/blacklisted-classes/AliEveV0Editors.h
EVE/EveDet/.SKEL.h
EVE/EveDet/AliEveITSDigitsInfo.h
EVE/EveDet/AliEveITSModule.h
EVE/EveDet/AliEveITSModuleStepper.h
EVE/EveDet/AliEveITSModuleStepperEditor.h
EVE/EveDet/AliEveITSScaledModule.h
EVE/EveDet/AliEveITSScaledModuleEditor.h
EVE/EveDet/AliEveMUONChamber.h
EVE/EveDet/AliEveMUONChamberData.h
EVE/EveDet/AliEveMUONChamberEditor.h
EVE/EveDet/AliEveMUONChamberGL.h
EVE/EveDet/AliEveMUONData.h
EVE/EveDet/AliEveMUONTrack.h
EVE/EveDet/AliEvePMDModule.h
EVE/EveDet/AliEvePMDModuleEditor.h
EVE/EveDet/AliEveT0Module.h
EVE/EveDet/AliEveTOFDigitsInfo.h
EVE/EveDet/AliEveTOFDigitsInfoEditor.cxx
EVE/EveDet/AliEveTOFDigitsInfoEditor.h
EVE/EveDet/AliEveTOFSector.h
EVE/EveDet/AliEveTOFSectorEditor.h
EVE/EveDet/AliEveTOFStrip.h
EVE/EveDet/AliEveTOFStripEditor.cxx
EVE/EveDet/AliEveTOFStripEditor.h
EVE/EveDet/AliEveTPCData.cxx
EVE/EveDet/AliEveTPCData.h
EVE/EveDet/AliEveTPCLoader.h
EVE/EveDet/AliEveTPCLoaderEditor.h
EVE/EveDet/AliEveTPCSector2D.h
EVE/EveDet/AliEveTPCSector2DEditor.h
EVE/EveDet/AliEveTPCSector2DGL.h
EVE/EveDet/AliEveTPCSector3D.h
EVE/EveDet/AliEveTPCSector3DEditor.h
EVE/EveDet/AliEveTPCSector3DGL.h
EVE/EveDet/AliEveTPCSectorData.cxx
EVE/EveDet/AliEveTPCSectorData.h
EVE/EveDet/AliEveTPCSectorViz.h
EVE/EveDet/AliEveTPCSectorVizEditor.h
EVE/EveDet/AliEveTRDData.h
EVE/EveDet/AliEveTRDLoader.h
EVE/EveDet/AliEveTRDLoaderImp.h
EVE/EveDet/AliEveTRDLoaderManager.h
EVE/EveDet/AliEveTRDModule.h
EVE/EveDet/AliEveTRDModuleImp.h
EVE/EveDet/LinkDef.h
EVE/EveHLT/AliEveHOMERManagerEditor.cxx
EVE/EveHLT/AliEveHOMERManagerEditor.h
EVE/EveHLT/AliEveHOMERSource.h
EVE/EveHLT/AliEveHOMERSourceList.h
EVE/EveHLT/AliEveHOMERSourceMap.h

index cd6759d8db84b80004121487a37f9466e36145fc..b1228929a7f4977aea59db4f9b8e7002b64d9996 100644 (file)
@@ -22,12 +22,31 @@ class TVirtualFitter;
 
 class AliEveCosmicRayFitter : public TEvePointSet
 {
-private:
-  AliEveCosmicRayFitter(const AliEveCosmicRayFitter&);            // Not implemented
-  AliEveCosmicRayFitter& operator=(const AliEveCosmicRayFitter&); // Not implemented
+public:
+  AliEveCosmicRayFitter(const Text_t* name = "CosmicRayFitter", Int_t n_points=0);
+  virtual ~AliEveCosmicRayFitter();
+  
+  void AddFitPoint(Int_t); // slot for PointCtrlClicked() signal
 
-protected:
+  virtual void       Start();
+  virtual void       Stop();
+  virtual void       FitTrack();
+  virtual void  Reset(Int_t n_points=0, Int_t n_int_ids=0);
 
+  Bool_t       GetConnected() { return fConnected; }
+  TVirtualFitter* GetLine3DFitter(){ return fLine3DFitter; }
+
+  TGraph*         GetGraphSelected1() { return fGraphPicked1; }
+  TGraph*         GetGraphSelected2() { return fGraphPicked2; }
+  TGraph2D*       GetGraphSelected3() { return fGraphPicked3; }
+  TGraphErrors*   GetGraphFitted1() { return fGraphLinear1; }
+  TGraphErrors*   GetGraphFitted2() { return fGraphLinear2; }
+  TGraph2DErrors* GetGraphFitted3() { return fGraphLinear3; }
+  void          DrawDebugGraph();
+
+  virtual void  DestroyElements(); // *MENU*
+
+protected:
   struct Point_t
   {
     // inner structure to check duplicates
@@ -47,7 +66,7 @@ protected:
     }
   };
 
-  typedef std::map<Point_t, Int_t>          PointMap_t;
+  typedef std::map<Point_t, Int_t>          PointMap_t; // Map of registered points.
 
   TVirtualFitter* fLine3DFitter; // 3D straight line fitter
 
@@ -62,31 +81,11 @@ protected:
   TGraph2D          *fGraphPicked3; // graph of selected points debug info
   TGraph2DErrors    *fGraphLinear3; // graph of fitted points for debug info
 
-public:
-  AliEveCosmicRayFitter(const Text_t* name = "CosmicRayFitter", Int_t n_points=0);
-  virtual ~AliEveCosmicRayFitter();
-  
-  void AddFitPoint(Int_t); // slot for PointCtrlClicked() signal
-
-  virtual void       Start();
-  virtual void       Stop();
-  virtual void       FitTrack();
-  virtual void  Reset(Int_t n_points=0, Int_t n_int_ids=0);
-
-  Bool_t       GetConnected() { return fConnected; }
-  TVirtualFitter* GetLine3DFitter(){ return fLine3DFitter; }
-
-  TGraph*         GetGraphSelected1() { return fGraphPicked1; }
-  TGraph*         GetGraphSelected2() { return fGraphPicked2; }
-  TGraph2D*       GetGraphSelected3() { return fGraphPicked3; }
-  TGraphErrors*   GetGraphFitted1() { return fGraphLinear1; }
-  TGraphErrors*   GetGraphFitted2() { return fGraphLinear2; }
-  TGraph2DErrors* GetGraphFitted3() { return fGraphLinear3; }
-  void          DrawDebugGraph();
-
-  virtual void  DestroyElements(); // *MENU*
+private:
+  AliEveCosmicRayFitter(const AliEveCosmicRayFitter&);            // Not implemented
+  AliEveCosmicRayFitter& operator=(const AliEveCosmicRayFitter&); // Not implemented
 
   ClassDef(AliEveCosmicRayFitter, 0); // Interface to TEvePointSet allowing 3D straight linear fit.
-}; // endclass AliEveCosmicRayFitter
+};
 
 #endif
index 6d5884a0ef592886092a8739ccfd01ffc4b47ee2..7106390db34f0e05f2b8cdf7ff47ef400e885d59 100644 (file)
@@ -16,24 +16,10 @@ class TGCheckButton;
 class TGNumberEntry;
 class TGColorSelect;
 
-
 class AliEveCosmicRayFitter;
 
 class AliEveCosmicRayFitterEditor : public TGedFrame
 {
-private:
-  AliEveCosmicRayFitterEditor(const AliEveCosmicRayFitterEditor&);            // Not implemented
-  AliEveCosmicRayFitterEditor& operator=(const AliEveCosmicRayFitterEditor&); // Not implemented
-
-protected:
-  AliEveCosmicRayFitter* fM; // fModel dynamic-casted to AliEveCosmicRayFitterEditor
-
-  TGTextButton* fFit;    // button to fit selection
-  TGTextButton* fReset;  // button to reset selection
-  TGTextButton* fStart;  // button to connect to signal
-  TGTextButton* fStop;   // button to disconnect from signal
-  TGTextButton* fGraph;  // button to draw graph
-
 public:
   AliEveCosmicRayFitterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   virtual ~AliEveCosmicRayFitterEditor() {}
@@ -46,6 +32,19 @@ public:
   void DoStop();
   void DoGraph();
 
+protected:
+  AliEveCosmicRayFitter* fM; // fModel dynamic-casted to AliEveCosmicRayFitterEditor
+
+  TGTextButton* fFit;    // button to fit selection
+  TGTextButton* fReset;  // button to reset selection
+  TGTextButton* fStart;  // button to connect to signal
+  TGTextButton* fStop;   // button to disconnect from signal
+  TGTextButton* fGraph;  // button to draw graph
+
+private:
+  AliEveCosmicRayFitterEditor(const AliEveCosmicRayFitterEditor&);            // Not implemented
+  AliEveCosmicRayFitterEditor& operator=(const AliEveCosmicRayFitterEditor&); // Not implemented
+
   ClassDef(AliEveCosmicRayFitterEditor, 0); // Editor for AliEveCosmicRayFitter class.
 };
 
index 8310147dec1d003b8532c1c99020d274e3cde1d5..f0425d861b253a2dd6026bc734284f15fa90a97f 100644 (file)
@@ -33,28 +33,6 @@ class TGeoManager;
 
 class AliEveEventManager : public TEveEventManager
 {
-private:
-  AliEveEventManager(const AliEveEventManager&);            // Not implemented
-  AliEveEventManager& operator=(const AliEveEventManager&); // Not implemented
-
-protected:
-  TString       fPath;                 // URL to event-data.
-  Int_t         fEventId;              // Id of current event.
-
-  AliRunLoader* fRunLoader;            // Run loader.
-
-  TFile*        fESDFile;              // ESD file.
-  TTree*        fESDTree;              // ESD tree.
-  AliESDEvent*  fESD;                  // ESDEvent object.
-  AliESDfriend* fESDfriend;            // ESDfriend object.
-  Bool_t        fESDfriendExists;      // Flag specifying if ESDfriend was found during opening of the event-data.
-
-  static TString  fgCdbUri;            // Global URI to CDB.
-  static Bool_t   fgAssertRunLoader;   // Global flag specifying if AliRunLoader must be asserted during opening of the event-data.
-  static Bool_t   fgAssertESD;         // Global flag specifying if ESDEvent must be asserted during opening of the event-data.
-
-  static AliMagF* fgMagField;          // Global pointer to magneti field.
-
 public:
   static void SetCdbUri(const Text_t* cdb) { if (cdb) fgCdbUri = cdb; }
   static void SetAssertElements(Bool_t assertRunloader, Bool_t assertEsd)
@@ -87,8 +65,30 @@ public:
 
   static TGeoManager*  AssertGeometry();
 
-  ClassDef(AliEveEventManager, 1);
-}; // endclass AliEveEventManager
+protected:
+  TString       fPath;                 // URL to event-data.
+  Int_t         fEventId;              // Id of current event.
+
+  AliRunLoader* fRunLoader;            // Run loader.
+
+  TFile*        fESDFile;              // ESD file.
+  TTree*        fESDTree;              // ESD tree.
+  AliESDEvent*  fESD;                  // ESDEvent object.
+  AliESDfriend* fESDfriend;            // ESDfriend object.
+  Bool_t        fESDfriendExists;      // Flag specifying if ESDfriend was found during opening of the event-data.
+
+  static TString  fgCdbUri;            // Global URI to CDB.
+  static Bool_t   fgAssertRunLoader;   // Global flag specifying if AliRunLoader must be asserted during opening of the event-data.
+  static Bool_t   fgAssertESD;         // Global flag specifying if ESDEvent must be asserted during opening of the event-data.
+
+  static AliMagF* fgMagField;          // Global pointer to magneti field.
+
+private:
+  AliEveEventManager(const AliEveEventManager&);            // Not implemented
+  AliEveEventManager& operator=(const AliEveEventManager&); // Not implemented
+
+  ClassDef(AliEveEventManager, 0); // Interface for getting all event components in a uniform way.
+};
 
 extern AliEveEventManager* gAliEveEvent;
 
index a6981ea761c809f5d432c7bba8be985cbd34f9a2..08154d4cd926efe20ba945575f3f4b3ee87ea0ed 100644 (file)
@@ -32,45 +32,6 @@ class AliEveJetPlane : public TEveElementList,
 {
   friend class AliEveJetPlaneGL;
 
-private:
-  AliEveJetPlane(const AliEveJetPlane&);            // Not implemented
-  AliEveJetPlane& operator=(const AliEveJetPlane&); // Not implemented
-
-protected:
-  Float_t fMinEta;    // Min eta for display.
-  Float_t fMaxEta;    // Max eta for display.
-  Float_t fMinPhi;    // Min phi for display.
-  Float_t fMaxPhi;    // Max phi for display.
-  Int_t   fNEtaDiv;   // Number of eta divisions for display.
-  Int_t   fNPhiDiv;   // Number of phi divisions for display.
-
-  Float_t fEtaScale;          // Multiplier for eta.
-  Float_t fPhiScale;          // Multiplier for phi.
-  Float_t fEnergyScale;       // Multiplier for energy.
-  Float_t fEnergyColorScale;  // Multiplier for energy color.
-
-  Color_t fGridColor; // Color of coordinate grid.
-
-  std::vector<AliAODJet>   fJets;   // Jets to display.
-  std::vector<AliAODTrack> fTracks; // Tracks to display.
-
-  Bool_t                 fRnrJets;       // Show jets.
-  Bool_t                 fRnrTracks;     // Show tracks.
-  Bool_t                 fOneSelection;  // One object selected.
-  Bool_t                 fTwoSelection;  // Two objects selected.
-
-  AliAODJet             *fJet1,   *fJet2;    // Selection jets.
-  AliAODTrack           *fTrack1, *fTrack2;  // Selection tracks.
-
-  Int_t                  fSelectionFlag; // Selection state, handled by GL renderer.
-
-  // Common settings:
-  static Bool_t fgOneMomentumXYZ;       // Display momentum as coordinates.
-  static Bool_t fgOneMomentumPhiTheta;  // Display momentum as phi/theta.
-  static Bool_t fgOneEta;               // Display eta.
-  static Bool_t fgOneE;                 // Display energy.
-  static Bool_t fgOneChgMass;           // Display charge and mass.
-
 public:
   AliEveJetPlane(Int_t iev);
   virtual ~AliEveJetPlane() {}
@@ -119,7 +80,46 @@ public:
   virtual void ComputeBBox();
   virtual void Paint(Option_t* option = "");
 
-  ClassDef(AliEveJetPlane, 1); // Show jets and tracks in eta-phi plane.
-}; // endclass AliEveJetPlane
+protected:
+  Float_t fMinEta;    // Min eta for display.
+  Float_t fMaxEta;    // Max eta for display.
+  Float_t fMinPhi;    // Min phi for display.
+  Float_t fMaxPhi;    // Max phi for display.
+  Int_t   fNEtaDiv;   // Number of eta divisions for display.
+  Int_t   fNPhiDiv;   // Number of phi divisions for display.
+
+  Float_t fEtaScale;          // Multiplier for eta.
+  Float_t fPhiScale;          // Multiplier for phi.
+  Float_t fEnergyScale;       // Multiplier for energy.
+  Float_t fEnergyColorScale;  // Multiplier for energy color.
+
+  Color_t fGridColor; // Color of coordinate grid.
+
+  std::vector<AliAODJet>   fJets;   // Jets to display.
+  std::vector<AliAODTrack> fTracks; // Tracks to display.
+
+  Bool_t                 fRnrJets;       // Show jets.
+  Bool_t                 fRnrTracks;     // Show tracks.
+  Bool_t                 fOneSelection;  // One object selected.
+  Bool_t                 fTwoSelection;  // Two objects selected.
+
+  AliAODJet             *fJet1,   *fJet2;    // Selection jets.
+  AliAODTrack           *fTrack1, *fTrack2;  // Selection tracks.
+
+  Int_t                  fSelectionFlag; // Selection state, handled by GL renderer.
+
+  // Common settings:
+  static Bool_t fgOneMomentumXYZ;       // Display momentum as coordinates.
+  static Bool_t fgOneMomentumPhiTheta;  // Display momentum as phi/theta.
+  static Bool_t fgOneEta;               // Display eta.
+  static Bool_t fgOneE;                 // Display energy.
+  static Bool_t fgOneChgMass;           // Display charge and mass.
+
+private:
+  AliEveJetPlane(const AliEveJetPlane&);            // Not implemented
+  AliEveJetPlane& operator=(const AliEveJetPlane&); // Not implemented
+
+  ClassDef(AliEveJetPlane, 0); // Show jets and tracks in eta-phi plane.
+};
 
 #endif
index e5364172dd0a157aa10d56a6254fd8a3a5c31748..73416f54e878268e5122a9c2a362442e95707b22 100644 (file)
@@ -22,20 +22,6 @@ class AliEveJetPlane;
 
 class AliEveJetPlaneEditor : public TGedFrame
 {
-private:
-  AliEveJetPlaneEditor(const AliEveJetPlaneEditor&);            // Not implemented
-  AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
-
-protected:
-  AliEveJetPlane   *fM; // Model object.
-
-  TGCheckButton    *fRnrJets;          // Widget for flag RnrJets.
-  TGCheckButton    *fRnrTracks;        // Widget for flag RnrTracks.
-  TEveGValuator    *fEnergyScale;      // Widget for EnergyScale.
-  TEveGValuator    *fEnergyColorScale; // Widget for EnergyColorScale.
-  TGButton         *fOneSelection, *fTwoSelection;  // Widgets for one/two selection flags.
-  TGButton         *fInformationSetup; // Widget for InformationSetup.
-
 public:
   AliEveJetPlaneEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                        UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -55,19 +41,9 @@ public:
 
 
   // --- Internal class for common settings
-public:
+
   class StaticDataWindow : public TGTransientFrame
   {
-  private:
-    StaticDataWindow(const StaticDataWindow&);            // Not implemented
-    StaticDataWindow& operator=(const StaticDataWindow&); // Not implemented
-
-    TGCompositeFrame    *fFrame1, *fF2;             // Frames.
-    TGButton            *fOkButton, *fCancelButton; // Ok, cancel buttons.
-    TGLayoutHints       *fL1, *fL2, *fL3, *fL5;     // Layout hints.
-    TGTab               *fTab;                      // Tab container.
-    TGButton            *fChk1, *fChk2,*fChk3, *fChk4,*fChk5; // Check-buttons.
-
   public:
     StaticDataWindow(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h,
                     UInt_t options = kVerticalFrame);
@@ -79,13 +55,36 @@ public:
     void DoCancel();
     void DoTab(Int_t id);
 
+  private:
+    StaticDataWindow(const StaticDataWindow&);            // Not implemented
+    StaticDataWindow& operator=(const StaticDataWindow&); // Not implemented
+
+    TGCompositeFrame    *fFrame1, *fF2;             // Frames.
+    TGButton            *fOkButton, *fCancelButton; // Ok, cancel buttons.
+    TGLayoutHints       *fL1, *fL2, *fL3, *fL5;     // Layout hints.
+    TGTab               *fTab;                      // Tab container.
+    TGButton            *fChk1, *fChk2,*fChk3, *fChk4,*fChk5; // Check-buttons.
+
     ClassDef(StaticDataWindow, 0); // Common settings for all AliEveJetPlane objects.
   };
 
 protected:
+  AliEveJetPlane   *fM; // Model object.
+
+  TGCheckButton    *fRnrJets;          // Widget for flag RnrJets.
+  TGCheckButton    *fRnrTracks;        // Widget for flag RnrTracks.
+  TEveGValuator    *fEnergyScale;      // Widget for EnergyScale.
+  TEveGValuator    *fEnergyColorScale; // Widget for EnergyColorScale.
+  TGButton         *fOneSelection, *fTwoSelection;  // Widgets for one/two selection flags.
+  TGButton         *fInformationSetup; // Widget for InformationSetup.
+
   static StaticDataWindow* fgStaticWindow; // Common window for global settings.
 
-  ClassDef(AliEveJetPlaneEditor, 1); // Editor for AliEveJetPlane.
-}; // endclass AliEveJetPlaneEditor
+private:
+  AliEveJetPlaneEditor(const AliEveJetPlaneEditor&);            // Not implemented
+  AliEveJetPlaneEditor& operator=(const AliEveJetPlaneEditor&); // Not implemented
+
+  ClassDef(AliEveJetPlaneEditor, 0); // Editor for AliEveJetPlane.
+};
 
 #endif
index 8deb2e9c6ae42a70a729d004e3e157a63444fa70..0b3959fcdc4003196193dce66be5ee2003b84b24 100644 (file)
@@ -25,15 +25,6 @@ class AliEveJetPlane;
 
 class AliEveJetPlaneGL : public TGLObject
 {
-private:
-  AliEveJetPlaneGL(const AliEveJetPlaneGL&);            // Not implemented
-  AliEveJetPlaneGL& operator=(const AliEveJetPlaneGL&); // Not implemented
-
-protected:
-  AliEveJetPlane* fM; // Model object.
-
-  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
-
 public:
   AliEveJetPlaneGL();
   virtual ~AliEveJetPlaneGL() {}
@@ -45,6 +36,15 @@ public:
   virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
   virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
 
+protected:
+  AliEveJetPlane* fM; // Model object.
+
+  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
+
+private:
+  AliEveJetPlaneGL(const AliEveJetPlaneGL&);            // Not implemented
+  AliEveJetPlaneGL& operator=(const AliEveJetPlaneGL&); // Not implemented
+
   ClassDef(AliEveJetPlaneGL, 0); // GL renderer for AliEveJetPlane.
 }; // endclass AliEveJetPlaneGL
 
index 0e3204683a056b0223106599b7e5965418404997..75a4af127286296d673689ee4ff14bfd9abd36d0 100644 (file)
@@ -18,19 +18,19 @@ class AliStack;
 
 class AliEveKineTools
 {
-private:
-  AliEveKineTools(const AliEveKineTools&);            // Not implemented
-  AliEveKineTools& operator=(const AliEveKineTools&); // Not implemented
-
 public:
-  AliEveKineTools(){}
-  virtual ~AliEveKineTools(){}
+  AliEveKineTools() {}
+  virtual ~AliEveKineTools() {}
 
   void SetDaughterPathMarks(TEveElement* cont, AliStack* stack, Bool_t recurse=kFALSE);
   void SetTrackReferences  (TEveElement* cont, TTree* treeTR=0, Bool_t recurse=kFALSE);
   void SortPathMarks       (TEveElement* cont, Bool_t recurse=kFALSE);
 
-  ClassDef(AliEveKineTools, 1); // Tools for import of kinematics.
+private:
+  AliEveKineTools(const AliEveKineTools&);            // Not implemented
+  AliEveKineTools& operator=(const AliEveKineTools&); // Not implemented
+
+  ClassDef(AliEveKineTools, 0); // Tools for import of kinematics.
 };
 
 #endif
index bf4a7d30c5ef5f0ff3a19e45d0a90765077b0594..170d8aa9481b6892a2d1d2e5010847910de313cb 100644 (file)
@@ -185,11 +185,11 @@ void AliEveTrackFitter::FitTrack()
   Int_t alphaIdx = 0;
   GetPoint(alphaIdx, x, y, z);
   Float_t minR2=x*x + y*y;
-  for (Int_t i=1; i<=fLastPoint; i++)
+  for (Int_t i=0; i<=fLastPoint; i++)
   {
     GetPoint(i, x, y, z);
     Float_t cR2 = x*x + y*y;
-    if ( minR2 > cR2 )
+    if (minR2 > cR2)
     {
       minR2 = cR2;
       alphaIdx = i;
@@ -199,7 +199,8 @@ void AliEveTrackFitter::FitTrack()
   fAlpha = ATan2(y, x);
   Float_t sin = Sin(-fAlpha);
   Float_t cos = Cos(-fAlpha);
-  for (Int_t i=0; i<=fLastPoint; i++) {
+  for (Int_t i = 0; i <= fLastPoint; ++i)
+  {
     GetPoint(i, x, y, z);
     fRieman->AddPoint(cos*x - sin*y, cos*y + sin*x, z, 1, 1);
   }
@@ -212,7 +213,7 @@ void AliEveTrackFitter::FitTrack()
   // curvature to pt
   param[4] /= TEveTrackPropagator::fgDefMagField*TEveTrackPropagator::fgkB2C;
   // sign in tang
-  if (param[4] < 0) param[3] *= -1;
+  if (param[4] < 0) param[3] = -param[3];
   AliExternalTrackParam trackParam(r, fAlpha, param, cov);
   trackParam.Print();
 
@@ -228,14 +229,7 @@ void AliEveTrackFitter::FitTrack()
 
   TEveTrack* track = new TEveTrack(&rc, fTrackList->GetPropagator());
   track->SetName(Form("track %f", fAlpha));
-  for(Int_t i=0; i<=fLastPoint; ++i)
-  {
-    TEvePathMark pm(TEvePathMark::kDaughter);
-    GetPoint(i, x, y, z);
-    pm.fV.Set(x, y, z);
-    pm.fP.Set(p0);
-    track->AddPathMark(pm);
-  }
+
   track->MakeTrack();
   track->SetAttLineAttMarker(fTrackList);
   fTrackList->AddElement(track);
index c9731b5dabe698ac59aeffb6689de40c349fcc3d..85d5355a517f73526f941a75a8aed1b55d5a7011 100644 (file)
@@ -21,9 +21,26 @@ class TEveTrackList;
 
 class AliEveTrackFitter : public TEvePointSet
 {
-private:
-  AliEveTrackFitter(const AliEveTrackFitter&);            // Not implemented
-  AliEveTrackFitter& operator=(const AliEveTrackFitter&); // Not implemented
+public:
+  AliEveTrackFitter(const Text_t* name = "TrackFitter", Int_t nPoints=0);
+  virtual ~AliEveTrackFitter();
+
+  virtual void DestroyElements();
+
+  virtual void  AddFitPoint(Int_t pointId);  // slot for TEvePointSet::PointSelected() signal
+
+  virtual void  Start();
+  virtual void  Stop();
+  virtual void  FitTrack();
+  virtual void  Reset(Int_t nPoints=0, Int_t nIntIds=0);
+
+  Bool_t        GetConnected() const { return fConnected; }
+  AliRieman*    GetRieman()    const { return fRieman; }
+
+  TGraph*       GetGraphPicked() const { return fGraphPicked; }
+  TGraphErrors* GetGraphHelix()  const { return fGraphHelix; }
+  void          DrawDebugGraph();
+
 
 protected:
 
@@ -60,25 +77,9 @@ protected:
   TGraph            *fGraphPicked;     // graph of selected points debug info
   TGraphErrors      *fGraphHelix;      // graph of fitted points for debug info
 
-public:
-  AliEveTrackFitter(const Text_t* name = "TrackFitter", Int_t nPoints=0);
-  virtual ~AliEveTrackFitter();
-
-  virtual void DestroyElements();
-
-  virtual void  AddFitPoint(Int_t pointId);  // slot for TEvePointSet::PointSelected() signal
-
-  virtual void  Start();
-  virtual void  Stop();
-  virtual void  FitTrack();
-  virtual void  Reset(Int_t nPoints=0, Int_t nIntIds=0);
-
-  Bool_t        GetConnected() const { return fConnected; }
-  AliRieman*    GetRieman()    const { return fRieman; }
-
-  TGraph*       GetGraphPicked() const { return fGraphPicked; }
-  TGraphErrors* GetGraphHelix()  const { return fGraphHelix; }
-  void          DrawDebugGraph();
+private:
+  AliEveTrackFitter(const AliEveTrackFitter&);            // Not implemented
+  AliEveTrackFitter& operator=(const AliEveTrackFitter&); // Not implemented
 
   ClassDef(AliEveTrackFitter, 0); // Interface of TEvePointSet allowing helix fit.
 };
index 8af82ecf9071a09add643d8a1a0c4dd3e268933d..79460df713b2365c05f994bfbff24f757cf09be2 100644 (file)
@@ -20,19 +20,6 @@ class AliEveTrackFitter;
 
 class AliEveTrackFitterEditor : public TGedFrame
 {
-private:
-  AliEveTrackFitterEditor(const AliEveTrackFitterEditor&);            // Not implemented
-  AliEveTrackFitterEditor& operator=(const AliEveTrackFitterEditor&); // Not implemented
-
-protected:
-  AliEveTrackFitter* fM; // fModel dynamic-casted to AliEveTrackFitterEditor
-
-  TGTextButton* fFit;    // button to fit selection
-  TGTextButton* fReset;  // button to reset selection
-  TGTextButton* fStart;  // button to connect to signal
-  TGTextButton* fStop;   // button to disconnect from signal
-  TGTextButton* fGraph;  // button to draw graph
-
 public:
   AliEveTrackFitterEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   virtual ~AliEveTrackFitterEditor() {}
@@ -45,6 +32,19 @@ public:
   void DoStop();
   void DoGraph();
 
+protected:
+  AliEveTrackFitter* fM; // fModel dynamic-casted to AliEveTrackFitterEditor
+
+  TGTextButton* fFit;    // button to fit selection
+  TGTextButton* fReset;  // button to reset selection
+  TGTextButton* fStart;  // button to connect to signal
+  TGTextButton* fStop;   // button to disconnect from signal
+  TGTextButton* fGraph;  // button to draw graph
+
+private:
+  AliEveTrackFitterEditor(const AliEveTrackFitterEditor&);            // Not implemented
+  AliEveTrackFitterEditor& operator=(const AliEveTrackFitterEditor&); // Not implemented
+
   ClassDef(AliEveTrackFitterEditor, 0); // Editor for AliEveTrackFitter class.
 };
 
index 163ffbba8c99c77af0a4e484fe9166a93e30141a..40f709948f324389a649b6d9c474a80a08f11275 100644 (file)
@@ -19,27 +19,6 @@ class AliRunLoader;
 
 class AliEveVSDCreator : public TEveVSD
 {
-private:
-  AliEveVSDCreator(const AliEveVSDCreator&);            // Not implemented
-  AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
-
-protected:
-  void               MakeItsDigitsInfo();
-  TEveMCRecCrossRef* GetGeninfo(Int_t label);
-  AliTPCParam*       GetTpcParam(const TEveException& eh);
-
-  TString       fDataDir;    // Source data directory.
-  Int_t         fEvent;      // Source event number.
-
-  Float_t       fTPCHitRes;  // Resolution for storing TPC hits.
-  Float_t       fTRDHitRes;  // Resolution for storing TRD hits.
-
-  Int_t         fDebugLevel; // Internal debug level.
-
-  AliRunLoader *fRunLoader;  // Internal run-loader.
-
-  std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
-
 public:
   AliEveVSDCreator(const Text_t* name="AliEveVSDCreator", const Text_t* title="");
   virtual ~AliEveVSDCreator() {}
@@ -66,6 +45,27 @@ public:
   Int_t GetDebugLevel() const   { return fDebugLevel; }
   void  SetDebugLevel(Int_t dl) { fDebugLevel = dl; }
 
+protected:
+  void               MakeItsDigitsInfo();
+  TEveMCRecCrossRef* GetGeninfo(Int_t label);
+  AliTPCParam*       GetTpcParam(const TEveException& eh);
+
+  TString       fDataDir;    // Source data directory.
+  Int_t         fEvent;      // Source event number.
+
+  Float_t       fTPCHitRes;  // Resolution for storing TPC hits.
+  Float_t       fTRDHitRes;  // Resolution for storing TRD hits.
+
+  Int_t         fDebugLevel; // Internal debug level.
+
+  AliRunLoader *fRunLoader;  // Internal run-loader.
+
+  std::map<Int_t, TEveMCRecCrossRef*> fGenInfoMap; // Map label to MC-Rec cross-ref data structure.
+
+private:
+  AliEveVSDCreator(const AliEveVSDCreator&);            // Not implemented
+  AliEveVSDCreator& operator=(const AliEveVSDCreator&); // Not implemented
+
   ClassDef(AliEveVSDCreator, 0); // Create VSD file from ALICE data.
 }; // endclass AliEveVSDCreator
 
index 79ef549348dbd6243c392a010bbe4829c6ee3b7a..fb4967823618c6cddc9a62f2226c181399fd83b7 100644 (file)
@@ -29,57 +29,14 @@ class TH2F;
 class CascadeList;
 
 class AliEveCascade : public TEveElement,
-                public TPolyMarker3D
+                      public TPolyMarker3D
 {
-public:
-  typedef std::vector<TEvePathMark*>           vpPathMark_t;
-
-private:
   friend class CascadeList;
 
-  AliEveCascade(const AliEveCascade&);            // Not implemented
-  AliEveCascade& operator=(const AliEveCascade&); // Not implemented
-
-protected:
-  typedef std::vector<TEvePathMark*>::iterator vpPathMark_i;
-
-  TEveVector fV_neg;       // Vertex of negative track
-  TEveVector fP_neg;       // Momentum of negative track
-  TEveVector fV_pos;       // Vertex of positive track
-  TEveVector fP_pos;       // Momentum of positive track
-  TEveVector fV_bach;      // Vertex of positive track
-  TEveVector fP_bach;      // Momentum of positive track
-
-  TEveVector fV_decay;     //decay point of the cascade
-  TEveVector fV_birth;    // Reconstructed birth point of neutral particle
-
-  vpPathMark_t         fPathMarksNeg;
-  vpPathMark_t         fPathMarksPos;
-  vpPathMark_t         fPathMarksBach;
-  TEveTrackPropagator *fRnrStyle;
-
-  TPolyLine3D       fPolyLineNeg;
-  TPolyLine3D       fPolyLinePos;
-  TPolyLine3D       fPolyLineBach;
-  TPolyLine3D       fPolyLineV0;   // line of AliEveV0 travel
-  TPolyLine3D       fPolyLineCas;  // line of cascade travel
-
-  Float_t           fBeta_neg;
-  Float_t           fBeta_pos;
-  Float_t           fBeta_bach;
-
-  Int_t             fESDIndex;
-
-  Float_t           fDCA_v0_Bach;
-  Float_t           fCasCosPointingAngle;
-  Float_t           fCasDecayLength;
+public:
+  typedef std::vector<TEvePathMark*>           vpPathMark_t;
 
-  static const Float_t fgkMassPion2;
-  static const Float_t fgkMassKaon2;
-  static const Float_t fgkMassProton2;
-  static const Float_t fgkMassLambda2;
 
-public:
   AliEveCascade();
   AliEveCascade(TEveTrackPropagator* rs);
   virtual ~AliEveCascade();
@@ -174,8 +131,52 @@ public:
   Float_t GetOmegaMass() const;
   Float_t GetAntiOmegaMass() const;
 
-  ClassDef(AliEveCascade, 1); // Visual representation of a cascade.
-}; // endclass AliEveCascade
+
+protected:
+  typedef std::vector<TEvePathMark*>::iterator vpPathMark_i;
+
+  TEveVector fV_neg;       // Vertex of negative track
+  TEveVector fP_neg;       // Momentum of negative track
+  TEveVector fV_pos;       // Vertex of positive track
+  TEveVector fP_pos;       // Momentum of positive track
+  TEveVector fV_bach;      // Vertex of positive track
+  TEveVector fP_bach;      // Momentum of positive track
+
+  TEveVector fV_decay;     //decay point of the cascade
+  TEveVector fV_birth;    // Reconstructed birth point of neutral particle
+
+  vpPathMark_t         fPathMarksNeg;
+  vpPathMark_t         fPathMarksPos;
+  vpPathMark_t         fPathMarksBach;
+  TEveTrackPropagator *fRnrStyle;
+
+  TPolyLine3D       fPolyLineNeg;
+  TPolyLine3D       fPolyLinePos;
+  TPolyLine3D       fPolyLineBach;
+  TPolyLine3D       fPolyLineV0;   // line of AliEveV0 travel
+  TPolyLine3D       fPolyLineCas;  // line of cascade travel
+
+  Float_t           fBeta_neg;
+  Float_t           fBeta_pos;
+  Float_t           fBeta_bach;
+
+  Int_t             fESDIndex;
+
+  Float_t           fDCA_v0_Bach;
+  Float_t           fCasCosPointingAngle;
+  Float_t           fCasDecayLength;
+
+  static const Float_t fgkMassPion2;
+  static const Float_t fgkMassKaon2;
+  static const Float_t fgkMassProton2;
+  static const Float_t fgkMassLambda2;
+
+private:
+  AliEveCascade(const AliEveCascade&);            // Not implemented
+  AliEveCascade& operator=(const AliEveCascade&); // Not implemented
+
+  ClassDef(AliEveCascade, 0); // Visual representation of a cascade.
+};
 
 
 
@@ -351,40 +352,6 @@ inline Float_t AliEveCascade::GetBachPseudoRapidity() const {
 
 class CascadeList : public TEveElementList
 {
-  CascadeList(const CascadeList&);            // Not implemented
-  CascadeList& operator=(const CascadeList&); // Not implemented
-
-private:
-  void  Init();
-
-protected:
-  TString              fTitle;
-
-  TEveTrackPropagator *fRnrStyle;
-
-  Bool_t               fRnrBach;
-  Bool_t               fRnrV0Daughters;
-  Bool_t               fRnrV0vtx;
-  Bool_t               fRnrV0path;
-  Bool_t               fRnrCasVtx;
-  Bool_t               fRnrCasPath;
-
-  Color_t              fNegColor;
-  Color_t              fPosColor;
-  Color_t              fBachColor;
-
-  static const Int_t fgkNcutVar = 14;
-  TH1F *fHist[fgkNcutVar];
-  Float_t fMin[fgkNcutVar];
-  Float_t fMax[fgkNcutVar];
-
-  static const Int_t fgkNcutVar2D = 1;
-  TH2F *fHist2D[fgkNcutVar2D];
-  Float_t fMinX[fgkNcutVar2D];
-  Float_t fMinY[fgkNcutVar2D];
-  Float_t fMaxX[fgkNcutVar2D];
-  Float_t fMaxY[fgkNcutVar2D];
-
 public:
   CascadeList(TEveTrackPropagator* rs=0);
   CascadeList(const Text_t* name, TEveTrackPropagator* rs=0);
@@ -451,9 +418,41 @@ public:
   void BachPtFilter(Float_t min, Float_t max);
   void BachEtaFilter(Float_t min, Float_t max);
 
-  //--------------------------------
+protected:
+  TString              fTitle;
+
+  TEveTrackPropagator *fRnrStyle;
+
+  Bool_t               fRnrBach;
+  Bool_t               fRnrV0Daughters;
+  Bool_t               fRnrV0vtx;
+  Bool_t               fRnrV0path;
+  Bool_t               fRnrCasVtx;
+  Bool_t               fRnrCasPath;
+
+  Color_t              fNegColor;
+  Color_t              fPosColor;
+  Color_t              fBachColor;
+
+  static const Int_t fgkNcutVar = 14;
+  TH1F *fHist[fgkNcutVar];
+  Float_t fMin[fgkNcutVar];
+  Float_t fMax[fgkNcutVar];
+
+  static const Int_t fgkNcutVar2D = 1;
+  TH2F *fHist2D[fgkNcutVar2D];
+  Float_t fMinX[fgkNcutVar2D];
+  Float_t fMinY[fgkNcutVar2D];
+  Float_t fMaxX[fgkNcutVar2D];
+  Float_t fMaxY[fgkNcutVar2D];
+
+private:
+  void  Init();
+
+  CascadeList(const CascadeList&);            // Not implemented
+  CascadeList& operator=(const CascadeList&); // Not implemented
 
-  ClassDef(CascadeList, 1); // A list of AliEveCascade objects.
+  ClassDef(CascadeList, 0); // A list of AliEveCascade objects.
 };
 
 #endif
index ed527220d0c3814eaa2fb7d76392c1d47135c3fa..a22fb4c7f360948aa028137d04df8a0940fba9ce 100644 (file)
@@ -37,40 +37,6 @@ class CascadeList;
 
 class CascadeListEditor : public TGedFrame
 {
-  CascadeListEditor(const CascadeListEditor&);            // Not implemented
-  CascadeListEditor& operator=(const CascadeListEditor&); // Not implemented
-
-protected:
-  CascadeList* fMList; // fModel dynamic-casted to CascadeListEditor
-
-  TGCheckButton*     fRnrV0Daughters;
-  TGCheckButton*     fRnrV0path;
-  TGCheckButton*     fRnrVtx;
-  TGCheckButton*     fRnrBach;
-  TGCheckButton*     fRnrCasPath;
-
-  TGTab *fMainTabA;
-  TGTab *fMainTabB;
-  TGTab *fTabA[3];
-  TGTab *fTabB[3];
-  static const Int_t fgkNRange = 14;
-  TEveGDoubleValuator *fRange[fgkNRange];
-
-  static const Int_t fgkNCanvas = 15;
-  TRootEmbeddedCanvas *fCanvasA[fgkNCanvas];
-  TRootEmbeddedCanvas *fCanvasB[fgkNCanvas];
-
-  TGCompositeFrame*  AddTab(TGTab *tab, Int_t i, Int_t can, char *name);
-  TGCompositeFrame** CreateTab(TGTab **pMainTab, TGTab **ptab, Int_t can);
-
-  void UpdateAll(Int_t iCanA);
-  void AddSelectTab();
-  void AddSeeTab();
-  void AddValuator(TGCompositeFrame* frame, char *name,
-                  Float_t min, Float_t max, Int_t pres, char *func,
-                  Int_t iHist);
-
-
 public:
   CascadeListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                  UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -103,7 +69,41 @@ public:
   void BachPtRange();
   void BachEtaRange();
 
-  ClassDef(CascadeListEditor, 1); // Editor for CascadeList
-}; // endclass CascadeListEditor
+protected:
+  CascadeList* fMList; // fModel dynamic-casted to CascadeListEditor
+
+  TGCheckButton*     fRnrV0Daughters;
+  TGCheckButton*     fRnrV0path;
+  TGCheckButton*     fRnrVtx;
+  TGCheckButton*     fRnrBach;
+  TGCheckButton*     fRnrCasPath;
+
+  TGTab *fMainTabA;
+  TGTab *fMainTabB;
+  TGTab *fTabA[3];
+  TGTab *fTabB[3];
+  static const Int_t fgkNRange = 14;
+  TEveGDoubleValuator *fRange[fgkNRange];
+
+  static const Int_t fgkNCanvas = 15;
+  TRootEmbeddedCanvas *fCanvasA[fgkNCanvas];
+  TRootEmbeddedCanvas *fCanvasB[fgkNCanvas];
+
+  TGCompositeFrame*  AddTab(TGTab *tab, Int_t i, Int_t can, char *name);
+  TGCompositeFrame** CreateTab(TGTab **pMainTab, TGTab **ptab, Int_t can);
+
+  void UpdateAll(Int_t iCanA);
+  void AddSelectTab();
+  void AddSeeTab();
+  void AddValuator(TGCompositeFrame* frame, char *name,
+                  Float_t min, Float_t max, Int_t pres, char *func,
+                  Int_t iHist);
+
+private:
+  CascadeListEditor(const CascadeListEditor&);            // Not implemented
+  CascadeListEditor& operator=(const CascadeListEditor&); // Not implemented
+
+  ClassDef(CascadeListEditor, 0); // Editor for CascadeList
+};
 
 #endif
index e1e57b63339b8c37404fe2e1118ae7e973a45e11..07d7ffa6bfe62b8baa929b2a31f94997e1c0dd02 100644 (file)
@@ -37,9 +37,6 @@ class AliEveV0 : public TEveElement,
 {
   friend class V0List;
 
-  AliEveV0(const AliEveV0&);            // Not implemented
-  AliEveV0& operator=(const AliEveV0&); // Not implemented
-
 public:
   AliEveV0();
   AliEveV0(TEveRecTrack* tNeg, TEveRecTrack* tPos, TEveRecV0* v0,
@@ -160,8 +157,12 @@ protected:
   static const Float_t fgkMassPion2;
   static const Float_t fgkMassProton2;
 
-  ClassDef(AliEveV0, 1); // Visual representation of a AliEveV0.
-}; // endclass AliEveV0
+private:
+  AliEveV0(const AliEveV0&);            // Not implemented
+  AliEveV0& operator=(const AliEveV0&); // Not implemented
+
+  ClassDef(AliEveV0, 0); // Visual representation of a AliEveV0.
+};
 
 
 //______________________________________________________________________________
@@ -320,9 +321,6 @@ inline Float_t AliEveV0::GetAntiLamMass() const {
 
 class V0List : public TEveElementList
 {
-  V0List(const V0List&);            // Not implemented
-  V0List& operator=(const V0List&); // Not implemented
-
 public:
   V0List();
   V0List(TEveTrackPropagator* rs);
@@ -393,10 +391,6 @@ public:
   void PosEtaFilter(Float_t min, Float_t max);
   void IndexFilter(Float_t min, Float_t max);
 
-
-private:
-  void  Init();
-
 protected:
   TString              fTitle;
 
@@ -421,7 +415,13 @@ protected:
   Float_t fMaxX[fgkNcutVar2D];
   Float_t fMaxY[fgkNcutVar2D];
 
-  ClassDef(V0List, 1); // A list of AliEveV0 objecs.
+private:
+  void  Init();
+
+  V0List(const V0List&);            // Not implemented
+  V0List& operator=(const V0List&); // Not implemented
+
+  ClassDef(V0List, 0); // A list of AliEveV0 objecs.
 };
 
 
index deadbf06d4d14a8c87f25608bbf353cc06a6e123..3feb3e38d10ea264c69e45058f70a45832de5d7e 100644 (file)
@@ -44,35 +44,6 @@ class V0ListEditor : public TGedFrame
   V0ListEditor(const V0ListEditor&);            // Not implemented
   V0ListEditor& operator=(const V0ListEditor&); // Not implemented
 
-protected:
-  V0List* fMList; // fModel dynamic-casted to V0ListEditor
-
-  TGCheckButton*     fRnrV0sDaugh;
-  TGCheckButton*     fRnrV0vtx;
-  TGCheckButton*     fRnrV0path;
-
-  TGTab *fMainTabA;
-  TGTab *fMainTabB;
-  TGTab *fTabA[3];
-  TGTab *fTabB[3];
-  static const Int_t fgkNRange = 13;
-  TEveGDoubleValuator    *fRange[fgkNRange];
-
-  static const Int_t fgkNCanvas = 14;
-  TRootEmbeddedCanvas *fCanvasA[fgkNCanvas];
-  TRootEmbeddedCanvas *fCanvasB[fgkNCanvas];
-
-  TGCompositeFrame*  AddTab(TGTab *tab, Int_t i, Int_t can, char *name);
-  TGCompositeFrame** CreateTab(TGTab **pMainTab, TGTab **ptab, Int_t can);
-
-  void UpdateAll(Int_t iCanA);
-  void AddSelectTab();
-  void AddSeeTab();
-  void AddValuator(TGCompositeFrame* frame, char *name,
-                  Float_t min, Float_t max, Int_t pres, char *func,
-                  Int_t iHist);
-
-
 public:
   V0ListEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                  UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -101,7 +72,35 @@ public:
   void PosPtRange();
   void PosEtaRange();
 
-  ClassDef(V0ListEditor, 1); // Editor for V0List
-}; // endclass V0ListEditor
+protected:
+  V0List* fMList; // fModel dynamic-casted to V0ListEditor
+
+  TGCheckButton*     fRnrV0sDaugh;
+  TGCheckButton*     fRnrV0vtx;
+  TGCheckButton*     fRnrV0path;
+
+  TGTab *fMainTabA;
+  TGTab *fMainTabB;
+  TGTab *fTabA[3];
+  TGTab *fTabB[3];
+  static const Int_t fgkNRange = 13;
+  TEveGDoubleValuator    *fRange[fgkNRange];
+
+  static const Int_t fgkNCanvas = 14;
+  TRootEmbeddedCanvas *fCanvasA[fgkNCanvas];
+  TRootEmbeddedCanvas *fCanvasB[fgkNCanvas];
+
+  TGCompositeFrame*  AddTab(TGTab *tab, Int_t i, Int_t can, char *name);
+  TGCompositeFrame** CreateTab(TGTab **pMainTab, TGTab **ptab, Int_t can);
+
+  void UpdateAll(Int_t iCanA);
+  void AddSelectTab();
+  void AddSeeTab();
+  void AddValuator(TGCompositeFrame* frame, char *name,
+                  Float_t min, Float_t max, Int_t pres, char *func,
+                  Int_t iHist);
+
+  ClassDef(V0ListEditor, 0); // Editor for V0List
+};
 
 #endif
index 69a7e50d9d2d3c1f2b94f110c18a508021809418..f85bbb298a10bb010e21d6ce69a40dfbd76a3c4e 100644 (file)
@@ -11,18 +11,18 @@ namespace Alieve {
 
 class CLASS
 {
-private:
-  CLASS(const CLASS&);            // Not implemented
-  CLASS& operator=(const CLASS&); // Not implemented
-
-protected:
-
 public:
   CLASS();
   virtual ~CLASS() {}
 
-  ClassDef(CLASS, 1);
-}; // endclass CLASS
+protected:
+
+private:
+  CLASS(const CLASS&);            // Not implemented
+  CLASS& operator=(const CLASS&); // Not implemented
+
+  ClassDef(CLASS, 0);  // Short desc/purpose of CLASS
+};
 
 }
 
index e68a8fbb7a18fefd38bfa9c8108ad8a98af05ba2..aef115e012f8f18272d92969ebc4dc734ac91e31 100644 (file)
@@ -32,14 +32,6 @@ class AliRawReader;
 /******************************************************************************/
 class AliEveITSModuleSelection
 {
-protected:
-  Int_t    fType;      // Type of modules: 0 - SPD, 1 - SDD, 2 - SSD.
-  Int_t    fLayer;     // Layer, 0 - inner SPD, 5 - outer SSD.
-  Float_t  fMinPhi;    // Min phi.
-  Float_t  fMaxPhi;    // Max phi.
-  Float_t  fMinTheta;  // Min theta.
-  Float_t  fMaxTheta;  // Max theta.
-
 public:
   AliEveITSModuleSelection();
   virtual ~AliEveITSModuleSelection() {}
@@ -60,7 +52,15 @@ public:
   void    SetPhiRange  (Float_t x, Float_t y) { fMinPhi   = x; fMaxPhi   = y; }
   void    SetThetaRange(Float_t x, Float_t y) { fMinTheta = x; fMaxTheta = y; }
 
-  ClassDef(AliEveITSModuleSelection, 1); // Helper for selecting a range of ITS modules by type, layer, phi and theta.
+protected:
+  Int_t    fType;      // Type of modules: 0 - SPD, 1 - SDD, 2 - SSD.
+  Int_t    fLayer;     // Layer, 0 - inner SPD, 5 - outer SSD.
+  Float_t  fMinPhi;    // Min phi.
+  Float_t  fMaxPhi;    // Max phi.
+  Float_t  fMinTheta;  // Min theta.
+  Float_t  fMaxTheta;  // Max theta.
+
+  ClassDef(AliEveITSModuleSelection, 0); // Helper for selecting a range of ITS modules by type, layer, phi and theta.
 };
 
 /******************************************************************************/
@@ -69,21 +69,6 @@ public:
 
 class AliEveITSDigitsInfo : public TObject, public TEveRefCnt
 {
-private:
-  AliEveITSDigitsInfo(const AliEveITSDigitsInfo&);            // Not implemented
-  AliEveITSDigitsInfo& operator=(const AliEveITSDigitsInfo&); // Not implemented
-
-  Float_t fSPDZCoord[192];                // Precalculated z-coordinates for positions of digits.
-
-  void InitInternals();
-
-protected:
-  std::map<Int_t,  TClonesArray*> fSPDmap;     // Map from module-id to SPD data.
-  std::map<Int_t,  TClonesArray*> fSDDmap;     // Map from module-id to SDD data.
-  std::map<Int_t,  TClonesArray*> fSSDmap;     // Map from module-id to SSD data.
-
-  void        SetITSSegmentation();
-
 public:
   TTree*                   fTree;         // Tree from which the digits are read.
 
@@ -123,6 +108,21 @@ public:
 
   virtual void Print(Option_t* opt="") const;
 
+protected:
+  std::map<Int_t,  TClonesArray*> fSPDmap;     // Map from module-id to SPD data.
+  std::map<Int_t,  TClonesArray*> fSDDmap;     // Map from module-id to SDD data.
+  std::map<Int_t,  TClonesArray*> fSSDmap;     // Map from module-id to SSD data.
+
+  void        SetITSSegmentation();
+
+private:
+  Float_t fSPDZCoord[192];                // Precalculated z-coordinates for positions of digits.
+
+  void InitInternals();
+
+  AliEveITSDigitsInfo(const AliEveITSDigitsInfo&);            // Not implemented
+  AliEveITSDigitsInfo& operator=(const AliEveITSDigitsInfo&); // Not implemented
+
   ClassDef(AliEveITSDigitsInfo, 0); // Stores ITS geometry information and event-data in format suitable for visualization.
 }; // endclass AliEveITSDigitsInfo
 
index 86e4ca188a7e8f830caea83a9a18a8268b23d14a..941174a4c6a3cdd0ffdcb381ab8e4432d42bf068 100644 (file)
 
 class AliEveITSModule : public TEveQuadSet
 {
-  AliEveITSModule(const AliEveITSModule&);            // Not implemented
-  AliEveITSModule& operator=(const AliEveITSModule&); // Not implemented
-
-protected:
-  AliEveITSDigitsInfo* fInfo; // Source of geometry and data.
-
-  Int_t       fID;      // Module id.
-  Int_t       fDetID;   // Detector id (0~SPD, 1~SDD, 2~SSD).
-
-  Int_t       fLayer;   // Layer (0 - 5).
-  Int_t       fLadder;  // Ladder.
-  Int_t       fDet;     // Detector.
-
-  Float_t     fDx;      // Digit half-size in x.
-  Float_t     fDz;      // Digit half-size in z.
-  Float_t     fDy;      // Digit half-size in y.
-
-  static Bool_t fgStaticInitDone; // Flag for static variable initialization.
-
 public:
   AliEveITSModule(const Text_t* n="AliEveITSModule", const Text_t* t=0);
   AliEveITSModule(Int_t gid, AliEveITSDigitsInfo* info);
@@ -65,7 +46,27 @@ public:
   static TEveRGBAPalette *fgSDDPalette;  // Signal to color mapping for SDD.
   static TEveRGBAPalette *fgSSDPalette;  // Signal to color mapping for SSD.
 
-  ClassDef(AliEveITSModule, 1); // Visualization of an ITS module.
+protected:
+  AliEveITSDigitsInfo* fInfo; // Source of geometry and data.
+
+  Int_t       fID;      // Module id.
+  Int_t       fDetID;   // Detector id (0~SPD, 1~SDD, 2~SSD).
+
+  Int_t       fLayer;   // Layer (0 - 5).
+  Int_t       fLadder;  // Ladder.
+  Int_t       fDet;     // Detector.
+
+  Float_t     fDx;      // Digit half-size in x.
+  Float_t     fDz;      // Digit half-size in z.
+  Float_t     fDy;      // Digit half-size in y.
+
+  static Bool_t fgStaticInitDone; // Flag for static variable initialization.
+
+private:
+  AliEveITSModule(const AliEveITSModule&);            // Not implemented
+  AliEveITSModule& operator=(const AliEveITSModule&); // Not implemented
+
+  ClassDef(AliEveITSModule, 0); // Visualization of an ITS module.
 };
 
 #endif
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.
 };
index 19c558f469ab6cde5eb721ec85d5841b2e733a0a..0320d7220d4f9674fb706daa63b846f5f1f9cd70 100644 (file)
@@ -23,15 +23,6 @@ class AliEveITSModuleStepper;
 
 class AliEveITSModuleStepperEditor : public TGedFrame
 {
-private:
-  AliEveITSModuleStepperEditor(const AliEveITSModuleStepperEditor&);            // Not implemented
-  AliEveITSModuleStepperEditor& operator=(const AliEveITSModuleStepperEditor&); // Not implemented
-
-protected:
-  AliEveITSModuleStepper   *fM;         // Model object.
-
-  TEveGridStepperSubEditor *fStepper;   // GUI component for grid-stepper control.
-
 public:
   AliEveITSModuleStepperEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
   virtual ~AliEveITSModuleStepperEditor() {}
@@ -40,6 +31,15 @@ public:
 
   void         UpdateStepper();
 
+protected:
+  AliEveITSModuleStepper   *fM;         // Model object.
+
+  TEveGridStepperSubEditor *fStepper;   // GUI component for grid-stepper control.
+
+private:
+  AliEveITSModuleStepperEditor(const AliEveITSModuleStepperEditor&);            // Not implemented
+  AliEveITSModuleStepperEditor& operator=(const AliEveITSModuleStepperEditor&); // Not implemented
+
   ClassDef(AliEveITSModuleStepperEditor, 0); // Editor for AliEveITSModuleStepper.
 };
 
index 9333dda41ab6813e810b077828c35036dbe0499e..5596da2b543a23cbcbb0c6042c1a9c7d3f865f2b 100644 (file)
@@ -25,18 +25,6 @@ class AliEveDigitScaleInfo : public TQObject, public TEveRefBackPtr
 public:
   enum StatType_e { kSTOccup, kSTAverage, kSTRms };
 
-  // Bool_t           fAutoUpdatePalette;
-private:
-  AliEveDigitScaleInfo(const AliEveDigitScaleInfo&);            // Not implemented
-  AliEveDigitScaleInfo& operator=(const AliEveDigitScaleInfo&); // Not implemented
-
-protected:
-  Int_t            fScale;        // Current scale.
-  Int_t            fStatType;     // Digit scaling algorithm, see StatType_e.
-
-  Bool_t           fSyncPalette;  // Synchronize palette on next usage.
-
-public:
   AliEveDigitScaleInfo();
   virtual ~AliEveDigitScaleInfo() {}
 
@@ -49,7 +37,17 @@ public:
   Bool_t GetSyncPalette() const   { return fSyncPalette; }
   void   SetSyncPalette(Bool_t x) { fSyncPalette = x; }
 
-  ClassDef(AliEveDigitScaleInfo, 1);
+protected:
+  Int_t            fScale;        // Current scale.
+  Int_t            fStatType;     // Digit scaling algorithm, see StatType_e.
+
+  Bool_t           fSyncPalette;  // Synchronize palette on next usage.
+
+private:
+  AliEveDigitScaleInfo(const AliEveDigitScaleInfo&);            // Not implemented
+  AliEveDigitScaleInfo& operator=(const AliEveDigitScaleInfo&); // Not implemented
+
+  ClassDef(AliEveDigitScaleInfo, 0);
 };
 
 /******************************************************************************/
@@ -65,6 +63,22 @@ class AliEveITSScaledModule : public AliEveITSModule
   friend class ITSSDSubEditor;
 
 public:
+  AliEveITSScaledModule(Int_t gid, AliEveITSDigitsInfo* info, AliEveDigitScaleInfo* si );
+  virtual ~AliEveITSScaledModule();
+
+  virtual void DigitSelected(Int_t idx);
+
+  virtual void LoadQuads();
+  void         SetQuadValues();
+
+  void         SyncPalette();
+
+  void         GetScaleData(Int_t& cnx, Int_t& cnz, Int_t& total) const;
+  AliEveDigitScaleInfo*  GetScaleInfo() { return fScaleInfo; }
+
+
+  // --- Inner structs
+
   struct ScaledDigit_t : public TObject
   {
   public:
@@ -80,12 +94,6 @@ public:
     void Dump() const;
   };
 
-private:
-  std::map<Int_t, ScaledDigit_t> fDigitsMap;
-
-  AliEveITSScaledModule(const AliEveITSScaledModule&);            // Not implemented
-  AliEveITSScaledModule& operator=(const AliEveITSScaledModule&); // Not implemented
-
 protected:
   Int_t       fNx;   // per module
   Int_t       fNz;
@@ -95,21 +103,13 @@ protected:
 
   AliEveDigitScaleInfo* fScaleInfo;
 
-public:
-  AliEveITSScaledModule(Int_t gid, AliEveITSDigitsInfo* info, AliEveDigitScaleInfo* si );
-  virtual ~AliEveITSScaledModule();
-
-  virtual void DigitSelected(Int_t idx);
-
-  virtual void LoadQuads();
-  void         SetQuadValues();
-
-  void         SyncPalette();
+private:
+  std::map<Int_t, ScaledDigit_t> fDigitsMap;
 
-  void         GetScaleData(Int_t& cnx, Int_t& cnz, Int_t& total) const;
-  AliEveDigitScaleInfo*  GetScaleInfo() { return fScaleInfo; }
+  AliEveITSScaledModule(const AliEveITSScaledModule&);            // Not implemented
+  AliEveITSScaledModule& operator=(const AliEveITSScaledModule&); // Not implemented
 
-  ClassDef(AliEveITSScaledModule, 1); // Visualization of an ITS module with digits aggregated on a grid of pre-defined size.
-}; // endclass AliEveITSScaledModule
+  ClassDef(AliEveITSScaledModule, 0); // Visualization of an ITS module with digits aggregated on a grid of pre-defined size.
+};
 
 #endif
index 891d70b501254ea899ee7089926d4cd973f00716..46b610cad1038adf98ecc4ab387576936a0538a3 100644 (file)
@@ -28,11 +28,14 @@ class AliITSsegmentation;
 
 class AliEveITSScaledModuleEditor : public TGedFrame
 {
-private:
-  AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&);            // Not implemented
-  AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented
+public:
+  AliEveITSScaledModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
+  virtual ~AliEveITSScaledModuleEditor() {}
 
-  void CreateInfoFrame();
+  virtual void   SetModel(TObject* obj);
+
+  void DoScale();
+  void DoStatType(Int_t t);
 
 protected:
   AliEveITSScaledModule *fModule;       // Model object.
@@ -44,14 +47,11 @@ protected:
   TGLabel               *fInfoLabel0;   // Info text.
   TGLabel               *fInfoLabel1;   // Info text.
 
-public:
-  AliEveITSScaledModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
-  virtual ~AliEveITSScaledModuleEditor() {}
-
-  virtual void   SetModel(TObject* obj);
+private:
+  void CreateInfoFrame();
 
-  void DoScale();
-  void DoStatType(Int_t t);
+  AliEveITSScaledModuleEditor(const AliEveITSScaledModuleEditor&);            // Not implemented
+  AliEveITSScaledModuleEditor& operator=(const AliEveITSScaledModuleEditor&); // Not implemented
 
   ClassDef(AliEveITSScaledModuleEditor, 0); // Editor for AliEveITSScaledModule.
 };
index 85474bcfa83382458cad4148c65c73f55a3e5294..f7847834b961aea2bd438f64e59c92cc736dc8ba 100644 (file)
@@ -31,8 +31,25 @@ class AliEveMUONChamber : public TEveElement,
   friend class AliEveMUONChamberGL;
   friend class AliEveMUONChamberEditor;
 
-  AliEveMUONChamber(const AliEveMUONChamber&);            // Not implemented
-  AliEveMUONChamber& operator=(const AliEveMUONChamber&); // Not implemented
+public:
+  AliEveMUONChamber(Int_t id, const Text_t* n = "AliEveMUONChamber", const Text_t* t = 0);
+  virtual ~AliEveMUONChamber();
+
+  virtual void   ComputeBBox();
+  virtual void   Paint(Option_t* option = "");
+  virtual UInt_t IncRTS()     { return ++fRTS; };
+  virtual Bool_t CanEditMainColor() const { return kTRUE; }
+
+  void SetDataSource(AliEveMUONData *data);
+  void SetChamberID(Int_t id);
+  void SetFrameColor(Color_t col)     { fFrameColor = col; IncRTS(); };
+  AliEveMUONData* GetData() const { return fMUONData; };
+  AliEveMUONChamberData* GetChamberData() const;
+  Int_t GetID() const { return fChamberID; };
+  void  SetThreshold(Short_t t);
+  void  SetMaxVal(Int_t mv);
+  void  SetClusterSize(Int_t size);
+  void  SetHitSize(Int_t size);
 
 protected:
   void UpdateQuads();
@@ -60,29 +77,15 @@ protected:
   void     ColorFromArray(Int_t val, UChar_t* pix) const;
   Int_t    ColorIndex(Int_t val) const;
 
-public:
-  AliEveMUONChamber(Int_t id, const Text_t* n = "AliEveMUONChamber", const Text_t* t = 0);
-  virtual ~AliEveMUONChamber();
-
-  virtual void   ComputeBBox();
-  virtual void   Paint(Option_t* option = "");
-  virtual UInt_t IncRTS()     { return ++fRTS; };
-  virtual Bool_t CanEditMainColor() const { return kTRUE; }
+private:
+  AliEveMUONChamber(const AliEveMUONChamber&);            // Not implemented
+  AliEveMUONChamber& operator=(const AliEveMUONChamber&); // Not implemented
 
-  void SetDataSource(AliEveMUONData *data);
-  void SetChamberID(Int_t id);
-  void SetFrameColor(Color_t col)     { fFrameColor = col; IncRTS(); };
-  AliEveMUONData* GetData() const { return fMUONData; };
-  AliEveMUONChamberData* GetChamberData() const;
-  Int_t GetID() const { return fChamberID; };
-  void  SetThreshold(Short_t t);
-  void  SetMaxVal(Int_t mv);
-  void  SetClusterSize(Int_t size);
-  void  SetHitSize(Int_t size);
+  ClassDef(AliEveMUONChamber, 0);  // Visualisation of the MUON chambers
+};
 
-  ClassDef(AliEveMUONChamber,1);  // Visualisation of the MUON chambers
 
-};
+// --- Inlines ---
 
 inline UChar_t* AliEveMUONChamber::ColorFromArray(Int_t val) const
 {
index df076ddd71903596e858ec55ffbfb1e07b21af7f..cd1b16b839106ce8274289874b3b2a6429df906a 100644 (file)
@@ -15,31 +15,12 @@ class AliMUONGeometryTransformer;
 
 class AliEveMUONChamberData : public TObject
 {
-  AliEveMUONChamberData(const AliEveMUONChamberData&);            // Not implemented
-  AliEveMUONChamberData& operator=(const AliEveMUONChamberData&); // Not implemented
-
-private:
-  static AliMUONGeometryTransformer* fgTransformer;   // geometry transformer
-
-protected:
-
-  Int_t   fChamberID;                 // number of the chamber, 0 to 13
-  Float_t fFrameCoord[26][5];         // detector elements frames
-  Int_t   fNDetElem;                  // number of detector elements
-  Int_t   fNDigits;                   // number of found digits (times 7)
-  Int_t   fNClusters;                 // number of found rec points
-  Int_t   fNHits;                     // number of simulation hits
-  Float_t fDigitBuffer[7*4096];       // digits coordinates, etc.
-  Float_t fClusterBuffer[5*256];      // cluster coordinates, etc.
-  Float_t fHitBuffer[3*256];          // hits coordinates
-  Float_t fChamberBox[6];             // chamber envelope box
-
 public:
 
   AliEveMUONChamberData(Int_t chamber);
   virtual ~AliEveMUONChamberData();
 
-  void DropData();
+  void     DropData();
 
   void     Init(Int_t chamber);
 
@@ -60,8 +41,29 @@ public:
 
   Float_t* GetChamberBox() { return &fChamberBox[0]; };
 
-  ClassDef(AliEveMUONChamberData,1);     // class with data for one chamber
 
+protected:
+
+  Int_t   fChamberID;                 // number of the chamber, 0 to 13
+  Float_t fFrameCoord[26][5];         // detector elements frames
+  Int_t   fNDetElem;                  // number of detector elements
+  Int_t   fNDigits;                   // number of found digits (times 7)
+  Int_t   fNClusters;                 // number of found rec points
+  Int_t   fNHits;                     // number of simulation hits
+  Float_t fDigitBuffer[7*4096];       // digits coordinates, etc.
+  Float_t fClusterBuffer[5*256];      // cluster coordinates, etc.
+  Float_t fHitBuffer[3*256];          // hits coordinates
+  Float_t fChamberBox[6];             // chamber envelope box
+
+
+private:
+
+  static AliMUONGeometryTransformer* fgTransformer;   // geometry transformer
+
+  AliEveMUONChamberData(const AliEveMUONChamberData&);            // Not implemented
+  AliEveMUONChamberData& operator=(const AliEveMUONChamberData&); // Not implemented
+
+  ClassDef(AliEveMUONChamberData, 0);     // class with data for one chamber
 };
 
 #endif
index 103a3844a85e1ae83b46ba018c8e6b7073bbe693..88f0bc0b2efa9faa88fb0a1dcb69b3125fa3db13 100644 (file)
@@ -24,22 +24,11 @@ class AliEveMUONChamber;
 
 class AliEveMUONChamberEditor : public TGedFrame
 {
-  AliEveMUONChamberEditor(const AliEveMUONChamberEditor&);            // Not implemented
-  AliEveMUONChamberEditor& operator=(const AliEveMUONChamberEditor&); // Not implemented
-
-protected:
-  AliEveMUONChamber* fM; // fModel dynamic-casted to AliEveMUONChamberEditor
-
-  TEveGValuator *fThreshold;   // digit ADC min
-  TEveGValuator *fMaxVal;      // digit ADC max
-  TEveGValuator *fClusterSize; // cluster point size
-  TEveGValuator *fHitSize;     // hit point size
-
- public:
+public:
   AliEveMUONChamberEditor(const TGWindow* p = 0,
-                   Int_t width = 170, Int_t height = 30,
-                   UInt_t options = kChildFrame,
-                   Pixel_t back = GetDefaultFrameBackground());
+                          Int_t width = 170, Int_t height = 30,
+                          UInt_t options = kChildFrame,
+                          Pixel_t back = GetDefaultFrameBackground());
 
   virtual ~AliEveMUONChamberEditor();
 
@@ -50,8 +39,19 @@ protected:
   void DoClusterSize();
   void DoHitSize();
 
-  ClassDef(AliEveMUONChamberEditor, 0); // Editor for AliEveMUONChamber
+protected:
+  AliEveMUONChamber* fM; // fModel dynamic-casted to AliEveMUONChamberEditor
 
+  TEveGValuator *fThreshold;   // digit ADC min
+  TEveGValuator *fMaxVal;      // digit ADC max
+  TEveGValuator *fClusterSize; // cluster point size
+  TEveGValuator *fHitSize;     // hit point size
+
+private:
+  AliEveMUONChamberEditor(const AliEveMUONChamberEditor&);            // Not implemented
+  AliEveMUONChamberEditor& operator=(const AliEveMUONChamberEditor&); // Not implemented
+
+  ClassDef(AliEveMUONChamberEditor, 0); // Editor for AliEveMUONChamber
 };
 
 #endif
index 21342c507dd530d2e1502ca4f34415744d762c29..ae110e1dfa6e1fa6e6c146b704cdc7e511c3f165 100644 (file)
 
 class TEveQuadSetGL;
 
-
 class AliEveMUONChamber;
 
 class AliEveMUONChamberGL : public TGLObject
 {
-  AliEveMUONChamberGL(const AliEveMUONChamberGL&);            // Not implemented
-  AliEveMUONChamberGL& operator=(const AliEveMUONChamberGL&); // Not implemented
+public:
+  AliEveMUONChamberGL();
+  virtual ~AliEveMUONChamberGL();
+
+  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
+  virtual void   SetBBox();
 
- protected:
+protected:
   virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
   void DrawChamberFrame() const;
   void DrawQuads(TGLRnrCtx& rnrCtx) const;
@@ -34,15 +37,11 @@ class AliEveMUONChamberGL : public TGLObject
 
   mutable UInt_t           fRTS;     // render time stamp
 
- public:
-  AliEveMUONChamberGL();
-  virtual ~AliEveMUONChamberGL();
-
-  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
-  virtual void   SetBBox();
-
-  ClassDef(AliEveMUONChamberGL,1);   // the GL drawing class of one chamber
+private:
+  AliEveMUONChamberGL(const AliEveMUONChamberGL&);            // Not implemented
+  AliEveMUONChamberGL& operator=(const AliEveMUONChamberGL&); // Not implemented
 
+  ClassDef(AliEveMUONChamberGL, 0);   // the GL drawing class of one chamber
 };
 
 #endif
index d540f1a0b5c1c1182cb6b83f20dabb979f7f0335..9b22c7571d2cc261c62271624508adf5eabb1a32 100644 (file)
@@ -20,22 +20,11 @@ class TString;
 
 class AliRawReader;
 
-
 class AliEveMUONChamberData;
 
 class AliEveMUONData : public TObject, public TEveRefCnt
 {
-
- protected:
-
-  std::vector<AliEveMUONChamberData*>   fChambers;           // vector of 14 chambers
-
-  static AliRawReader*            fgRawReader;         // raw reader
-
-  Int_t fNTrackList;      // number of MC tracks which have hits
-  Int_t fTrackList[256];  // list of MC tracks which have hits
-
- public:
+public:
 
   AliEveMUONData();
   virtual ~AliEveMUONData();
@@ -62,7 +51,16 @@ class AliEveMUONData : public TObject, public TEveRefCnt
 
   AliEveMUONChamberData* GetChamberData(Int_t chamber);
 
-  ClassDef(AliEveMUONData,1);           // Manages MUON data for one event
+protected:
+
+  std::vector<AliEveMUONChamberData*>   fChambers;   // vector of 14 chambers
+
+  static AliRawReader                  *fgRawReader; // raw reader
+
+  Int_t fNTrackList;      // number of MC tracks which have hits
+  Int_t fTrackList[256];  // list of MC tracks which have hits
+
+  ClassDef(AliEveMUONData, 0);           // Manages MUON data for one event
 
 };
 
index 69457832d1d3247fa4f817df3c4c0b2d4d23d553..d818a187e7fee6a385168ea22bc4151683daf8ac 100644 (file)
@@ -25,10 +25,6 @@ class TEveRecTrack;
 
 class AliEveMUONTrack: public TEveTrack
 {
-
-  AliEveMUONTrack(const AliEveMUONTrack&);            // Not implemented
-  AliEveMUONTrack& operator=(const AliEveMUONTrack&); // Not implemented
-
  public:
 
   AliEveMUONTrack(TEveRecTrack* t, TEveTrackPropagator* rs);
@@ -63,6 +59,9 @@ class AliEveMUONTrack: public TEveTrack
 
  private:
 
+  AliEveMUONTrack(const AliEveMUONTrack&);            // Not implemented
+  AliEveMUONTrack& operator=(const AliEveMUONTrack&); // Not implemented
+
   AliMUONTrack *fTrack;              // pointer to the MUON track
   TParticle    *fPart;               // pointer to the MC particle
   Int_t         fCount;              // track points counter
@@ -74,7 +73,7 @@ class AliEveMUONTrack: public TEveTrack
 
   static AliMagF      *fgFieldMap;    // pointer to the magnetic field map
 
-  ClassDef(AliEveMUONTrack, 1);    // Produce TEveUtil:TEveTrack from AliMUONTrack
+  ClassDef(AliEveMUONTrack, 0);    // Produce TEveUtil:TEveTrack from AliMUONTrack
 };
 
 #endif
index f4e848939aeeebf020c908462d37f767ae5a2d70..b1b523ce3d994e86140f33ee7205ea489f6d6c3d 100644 (file)
@@ -17,14 +17,23 @@ class TTree;
 
 class AliEvePMDModule : public TEveQuadSet
 {
-private:
-  AliEvePMDModule(const AliEvePMDModule&);            // Not implemented
-  AliEvePMDModule& operator=(const AliEvePMDModule&); // Not implemented
+public:
+  AliEvePMDModule();
+  virtual ~AliEvePMDModule();
 
-  void RectGeomCellPos(Int_t ism, Int_t irow, Int_t icol,
-                      Float_t &xpos, Float_t &ypos);
-  void GenerateBox(Int_t ism, Float_t &xism, Float_t &yism,
-                  Float_t &dxism, Float_t &dyism);
+  static Int_t GetPRETotPads() { return fgPreTotPads; }
+  static Int_t GetCPVTotPads() { return fgCpvTotPads; }
+  static Int_t GetPRETotAdc()  { return fgPreTotAdc;  }
+  static Int_t GetCPVTotAdc()  { return fgCpvTotAdc;  }
+
+  Int_t GetNPads()      const { return fNPads; }
+  Int_t GetAdc()        const { return fAdc;   }
+  TH1F *GetHisto()      const { return fH1;    }
+
+  void DisplayInit(Int_t ism);
+  void DisplayDigitsData(Int_t ism, TTree *pmdt);
+  void DisplayRawData(Int_t ism,   TObjArray *ddlcont);
+  void SetPosition(Float_t x, Float_t y, Float_t z);
 
 protected:
   TH1F*        fH1;         // histogram
@@ -41,25 +50,16 @@ protected:
   static Int_t fgPreTotAdc;  // total pre signal
   static Int_t fgCpvTotAdc;  // total cpv signal
 
-public:
-  AliEvePMDModule();
-  virtual ~AliEvePMDModule();
-
-  static Int_t GetPRETotPads() { return fgPreTotPads; }
-  static Int_t GetCPVTotPads() { return fgCpvTotPads; }
-  static Int_t GetPRETotAdc()  { return fgPreTotAdc;  }
-  static Int_t GetCPVTotAdc()  { return fgCpvTotAdc;  }
-
-  Int_t GetNPads()      const { return fNPads; }
-  Int_t GetAdc()        const { return fAdc;   }
-  TH1F *GetHisto()      const { return fH1;    }
+private:
+  void RectGeomCellPos(Int_t ism, Int_t irow, Int_t icol,
+                      Float_t &xpos, Float_t &ypos);
+  void GenerateBox(Int_t ism, Float_t &xism, Float_t &yism,
+                  Float_t &dxism, Float_t &dyism);
 
-  void DisplayInit(Int_t ism);
-  void DisplayDigitsData(Int_t ism, TTree *pmdt);
-  void DisplayRawData(Int_t ism,   TObjArray *ddlcont);
-  void SetPosition(Float_t x, Float_t y, Float_t z);
+  AliEvePMDModule(const AliEvePMDModule&);            // Not implemented
+  AliEvePMDModule& operator=(const AliEvePMDModule&); // Not implemented
 
-  ClassDef(AliEvePMDModule, 1);
+  ClassDef(AliEvePMDModule, 0);
 }; // endclass AliEvePMDModule
 
 #endif
index a5f5d31be71dc998af62a1fa03681c32d5281d46..329d0f031cf9110a67423bdc9ec6e7810585bc96 100644 (file)
@@ -20,11 +20,12 @@ class AliEvePMDModule;
 
 class AliEvePMDModuleEditor : public TGedFrame
 {
-private:
-  AliEvePMDModuleEditor(const AliEvePMDModuleEditor&);            // Not implemented
-  AliEvePMDModuleEditor& operator=(const AliEvePMDModuleEditor&); // Not implemented
+public:
+  AliEvePMDModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
+  virtual ~AliEvePMDModuleEditor() {}
 
-  void CreateInfoFrame();
+  virtual void SetModel(TObject* obj);
+  void DisplayHistos();
 
 protected:
   AliEvePMDModule* fM; // Model object.
@@ -38,12 +39,11 @@ protected:
   TGLabel*   fInfoLabel4; // label
   TGLabel*   fInfoLabel5; // label
 
-public:
-  AliEvePMDModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
-  virtual ~AliEvePMDModuleEditor() {}
+private:
+  void CreateInfoFrame();
 
-  virtual void SetModel(TObject* obj);
-  void DisplayHistos();
+  AliEvePMDModuleEditor(const AliEvePMDModuleEditor&);            // Not implemented
+  AliEvePMDModuleEditor& operator=(const AliEvePMDModuleEditor&); // Not implemented
 
   ClassDef(AliEvePMDModuleEditor, 0); // Editor for AliEvePMDModule
 };
index 0f6d65456aeef0484c635600f0ee1e83e0930649..10cc0b55dbc4d1429d7aadc9cb3b9855e255b1a5 100644 (file)
@@ -23,10 +23,6 @@ class TTree;
 
 class AliEveT0Module : public TEveQuadSet
 {
-private:
-  AliEveT0Module(const AliEveT0Module&);
-  AliEveT0Module& operator=(const AliEveT0Module&);
-
 public:
   AliEveT0Module(const Text_t* n="AliEveT0Module", Int_t sigType=0, AliT0digit *digits=0,AliT0RawReader *start=0);
   virtual ~AliEveT0Module() {}
@@ -42,7 +38,11 @@ protected:
   AliT0digit     *fDigits;  // Digits.
   AliT0RawReader *fStart;   // Reader.
 
-  ClassDef(AliEveT0Module, 0);
+private:
+  AliEveT0Module(const AliEveT0Module&);
+  AliEveT0Module& operator=(const AliEveT0Module&);
+
+  ClassDef(AliEveT0Module, 0); // Representation of a T0 module.
 };
 
 #endif
index 583a5ae3b2b328bf3169904ae0632b4d5d6ab6c5..d3d3aacffd37bee2d3bb3454c2db4e60a0b71c10 100644 (file)
 
   
 class AliEveTOFDigitsInfo : public TObject, public TEveRefCnt
-  {
-    AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&);            // Not implemented
-    AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
+{
+public:
+  TTree*                fTree;
+  TTree*                fNewTree;
+  AliTOFGeometry*       fGeom;
+  AliTOFDigitMap*       fTOFdigitMap;
+
+  AliEveTOFDigitsInfo();
+  virtual ~AliEveTOFDigitsInfo();
     
-  private:
-
-  protected:
-
-    void        SetTOFSegmentation();
-
-  public:
-    TTree*                fTree;
-    TTree*                fNewTree;
-    AliTOFGeometry*       fGeom;
-    AliTOFDigitMap*       fTOFdigitMap;
-
-    AliEveTOFDigitsInfo();
-    virtual ~AliEveTOFDigitsInfo();
-    
-    void SetTree(TTree* tree);
-    void ReadRaw(AliRawReader* rawReader, Int_t nEvent, Bool_t newDecoder=kTRUE);
-    void LoadDigits();
-
-    void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
-                  Int_t nPadZ, Int_t nPadX,
-                  Int_t indexDigit[3]);
-    TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
-    TClonesArray* GetDigits(Int_t nSector);
-
-    Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
-    Int_t GetTOFInfos() const;
-    //void GetDigits();
-
-    TTree* GetTree() {return fTree;};
-  
-
-    ClassDef(AliEveTOFDigitsInfo, 1);
-  }; // endclass AliEveTOFDigitsInfo
+  void SetTree(TTree* tree);
+  void ReadRaw(AliRawReader* rawReader, Int_t nEvent, Bool_t newDecoder=kTRUE);
+  void LoadDigits();
+
+  void GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip,
+                 Int_t nPadZ, Int_t nPadX,
+                 Int_t indexDigit[3]);
+  TClonesArray* GetDigits(Int_t nSector, Int_t nPlate, Int_t nStrip);
+  TClonesArray* GetDigits(Int_t nSector);
+
+  Int_t IsStripFilled(Int_t iSector, Int_t iPlate, Int_t iStrip);
+  Int_t GetTOFInfos() const;
+  //void GetDigits();
+
+  TTree* GetTree() { return fTree; }
+
+protected:
+  void SetTOFSegmentation();
+private:
+  AliEveTOFDigitsInfo(const AliEveTOFDigitsInfo&);            // Not implemented
+  AliEveTOFDigitsInfo& operator=(const AliEveTOFDigitsInfo&); // Not implemented
+
+  ClassDef(AliEveTOFDigitsInfo, 0);
+}; // endclass AliEveTOFDigitsInfo
 
 #endif
index a12376ad2cda004b42383c8b7b0c74c50e65a4aa..23a2eef70977121f9aa292dc7821b61ea7988d0a 100644 (file)
@@ -40,9 +40,6 @@ AliEveTOFDigitsInfoEditor::AliEveTOFDigitsInfoEditor(const TGWindow *p, Int_t wi
   // fXYZZ->Connect("SignalName()", "AliEveTOFDigitsInfoEditor", this, "DoXYZZ()");
 }
 
-AliEveTOFDigitsInfoEditor::~AliEveTOFDigitsInfoEditor()
-{}
-
 /******************************************************************************/
 
 void AliEveTOFDigitsInfoEditor::SetModel(TObject* obj)
index a2113402314a873649aa04eb2aab3c5cbfdba3b7..a0a2b8cc95d3875cbb1d4cb7a4636ba6c3ec0f86 100644 (file)
@@ -16,31 +16,24 @@ class TGCheckButton;
 class TGNumberEntry;
 class TGColorSelect;
 
-
 class AliEveTOFDigitsInfo;
 
 class AliEveTOFDigitsInfoEditor : public TGedFrame
 {
-private:
-  AliEveTOFDigitsInfoEditor(const AliEveTOFDigitsInfoEditor&);            // Not implemented
-  AliEveTOFDigitsInfoEditor& operator=(const AliEveTOFDigitsInfoEditor&); // Not implemented
-
-protected:
-  AliEveTOFDigitsInfo* fM; // fModel dynamic-casted to AliEveTOFDigitsInfoEditor
-
-  // Declare widgets
-  // TGSomeWidget*   fXYZZ;
-
 public:
   AliEveTOFDigitsInfoEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
-  virtual ~AliEveTOFDigitsInfoEditor();
+  virtual ~AliEveTOFDigitsInfoEditor() {}
 
   virtual void SetModel(TObject* obj);
 
-  // Declare callback/slot methods
-  // void DoXYZZ();
+protected:
+  AliEveTOFDigitsInfo* fM; // Model object.
+
+private:
+  AliEveTOFDigitsInfoEditor(const AliEveTOFDigitsInfoEditor&);            // Not implemented
+  AliEveTOFDigitsInfoEditor& operator=(const AliEveTOFDigitsInfoEditor&); // Not implemented
 
   ClassDef(AliEveTOFDigitsInfoEditor, 0); // Editor for AliEveTOFDigitsInfo
-}; // endclass AliEveTOFDigitsInfoEditor
+};
 
 #endif
index b60f35874a360d092799fadbdc475d2c7a5528b6..7ddf63fd7db8f6e23c003a2dd75c6aa743e8d8c1 100644 (file)
 #include <AliTOFGeometry.h>
 
   
-  class AliEveTOFSector : public TEveQuadSet
-                   
-  {
-    AliEveTOFSector(const AliEveTOFSector&);            // Not implemented
-    AliEveTOFSector& operator=(const AliEveTOFSector&); // Not implemented
+class AliEveTOFSector : public TEveQuadSet
+{
+public:
+  AliEveTOFSector(const Text_t* n="AliEveTOFSector", const Text_t* t=0);
+  AliEveTOFSector(TGeoManager *localGeoManager, Int_t nSector);
+    
+  AliEveTOFSector(TGeoManager *localGeoManager, Int_t nSector,
+                  TClonesArray *tofArray);
+  AliEveTOFSector(TGeoManager *localGeoManager,
+                  Int_t nSector, TTree *tofTree);
+  virtual ~AliEveTOFSector();
+
+  virtual void InitModule();
+  virtual void SetTrans(); 
+
+  static Bool_t    fgStaticInitDone;
+  static void      InitStatics();
+
+  void SetSectorID(Int_t id);
+  void SetAutoTrans(Bool_t r){fAutoTrans=r;};
+  void SetThreshold(Short_t t);
+  void SetMaxVal(Int_t mv);
+  Bool_t GetPlate(Int_t nPlate) const {return fPlateFlag[nPlate];};
+  Short_t GetThreshold() const {return fThreshold;};
+  Int_t GetMaxVal() const {return fMaxVal;};
+  Bool_t GetAutoTrans() const {return fAutoTrans;};
+  Int_t GetSectorID() const {return fSectorID;};
+  virtual void DigitSelected(Int_t idx);
+  ///////////////////////////////////////////
+
+  void SetPlate(Int_t nPlate, Bool_t r);
+
+  static TEveFrameBox    *fgTOFsectorFrameBox;
+  static TEveRGBAPalette *fgTOFsectorPalette;
  
-    //Int_t       fSectorID;
-  private:
-
-    void LoadQuads();
+protected:
+  AliTOFGeometry *fTOFgeometry;
 
-  protected:
+  TClonesArray   *fTOFarray;
+  TTree          *fTOFtree;
 
-    AliTOFGeometry *fTOFgeometry;
+  Int_t fSector;
+  //Int_t fPlate;
+  //Int_t fStrip;
 
-    TClonesArray   *fTOFarray;
-    TTree          *fTOFtree;
+  Float_t  fDx;
+  Float_t  fDy;
+  Float_t  fDz;
+  ///////////////////////////////
 
-    Int_t fSector;
-    //Int_t fPlate;
-    //Int_t fStrip;
+  Bool_t      fAutoTrans; 
+  //Int_t       fMinTime;     
+  //Int_t       fMaxTime;
+  Short_t     fThreshold;
+  Int_t       fMaxVal;
+  Int_t       fSectorID;
+  Bool_t     *fPlateFlag;
 
-    Float_t  fDx;
-    Float_t  fDy;
-    Float_t  fDz;
-    ///////////////////////////////
+  //Bool_t      fPlateFlag0;
+  //Bool_t      fPlateFlag1;
+  //Bool_t      fPlateFlag2;
+  //Bool_t      fPlateFlag3;
+  //Bool_t      fPlateFlag4;
 
-    Bool_t      fAutoTrans; 
-    //Int_t       fMinTime;     
-    //Int_t       fMaxTime;
-    Short_t     fThreshold;
-    Int_t       fMaxVal;
-    Int_t       fSectorID;
-    Bool_t     *fPlateFlag;
+  //Color_t     fFrameColor;
+  //Bool_t      fRnrFrame;
 
-    //Bool_t      fPlateFlag0;
-    //Bool_t      fPlateFlag1;
-    //Bool_t      fPlateFlag2;
-    //Bool_t      fPlateFlag3;
-    //Bool_t      fPlateFlag4;
+  TGeoManager *fGeoManager;
 
-    //Color_t     fFrameColor;
-    //Bool_t      fRnrFrame;
+private:
+  void LoadQuads();
 
-    TGeoManager *fGeoManager;
+  AliEveTOFSector(const AliEveTOFSector&);            // Not implemented
+  AliEveTOFSector& operator=(const AliEveTOFSector&); // Not implemented
 
-  public:
-    // Bool_t       fAutoTrans;
-
-    virtual void InitModule();
-    virtual void SetTrans(); 
-    AliEveTOFSector(const Text_t* n="AliEveTOFSector", const Text_t* t=0);
-    AliEveTOFSector(TGeoManager *localGeoManager, Int_t nSector);
-    
-    AliEveTOFSector(TGeoManager *localGeoManager, Int_t nSector,
-             TClonesArray *tofArray);
-    AliEveTOFSector(TGeoManager *localGeoManager,
-             Int_t nSector, TTree *tofTree);
-    virtual ~AliEveTOFSector();
-
-    static Bool_t    fgStaticInitDone;
-    static void      InitStatics();
-
-    void SetSectorID(Int_t id);
-    void SetAutoTrans(Bool_t r){fAutoTrans=r;};
-    void SetThreshold(Short_t t);
-    void SetMaxVal(Int_t mv);
-    Bool_t GetPlate(Int_t nPlate) const {return fPlateFlag[nPlate];};
-    Short_t GetThreshold() const {return fThreshold;};
-    Int_t GetMaxVal() const {return fMaxVal;};
-    Bool_t GetAutoTrans() const {return fAutoTrans;};
-    Int_t GetSectorID() const {return fSectorID;};
-    virtual void DigitSelected(Int_t idx);
-    ///////////////////////////////////////////
-
-    void SetPlate(Int_t nPlate, Bool_t r);
-
-    static TEveFrameBox    *fgTOFsectorFrameBox;
-    static TEveRGBAPalette *fgTOFsectorPalette;
-
-  ClassDef(AliEveTOFSector, 1);
-  };
+  ClassDef(AliEveTOFSector, 0); // Representation of a TOF sector.
+};
 #endif
index 9912ceb83bd1c30c0e19dd112cc3a31e09e7e536..4801e2bcaf573e81a14543abaab0df25f2268e43 100644 (file)
@@ -28,28 +28,6 @@ class AliEveTOFSector;
 
 class AliEveTOFSectorEditor : public TGedFrame
 {
-private:
-  AliEveTOFSectorEditor(const AliEveTOFSectorEditor&);            // Not implemented
-  AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
-
-protected:
-  AliEveTOFSector*  fM; // Model object.
-
-  TEveGValuator*    fSectorID;
-
-  TGCheckButton*    fAutoTrans;
-
-  TGCheckButton**   fPlate;
-
-  TGCheckButton*    fPlate0;
-  TGCheckButton*    fPlate1;
-  TGCheckButton*    fPlate2;
-  TGCheckButton*    fPlate3;
-  TGCheckButton*    fPlate4;
-
-  TEveGValuator*    fThreshold;
-  TEveGValuator*    fMaxVal;
-
 public:
   AliEveTOFSectorEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                        UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -68,7 +46,29 @@ public:
   void DoThreshold();
   void DoMaxVal();
 
+protected:
+  AliEveTOFSector*  fM;         // Model object.
+
+  TEveGValuator*    fSectorID;  // Valuator for sector id.
+
+  TGCheckButton*    fAutoTrans; // Check-button for automatic translation.
+
+  TGCheckButton**   fPlate;     // Check-buttons for plates.
+
+  TGCheckButton*    fPlate0;    // Check-button for plate 0.
+  TGCheckButton*    fPlate1;    // Check-button for plate 1.
+  TGCheckButton*    fPlate2;    // Check-button for plate 2.
+  TGCheckButton*    fPlate3;    // Check-button for plate 3.
+  TGCheckButton*    fPlate4;    // Check-button for plate 4.
+
+  TEveGValuator*    fThreshold; // Valuator for threshold.
+  TEveGValuator*    fMaxVal;    // Valuator for maximum value.
+
+private:
+  AliEveTOFSectorEditor(const AliEveTOFSectorEditor&);            // Not implemented
+  AliEveTOFSectorEditor& operator=(const AliEveTOFSectorEditor&); // Not implemented
+
   ClassDef(AliEveTOFSectorEditor, 0); // Editor for AliEveTOFSector
-}; // endclass AliEveTOFSectorEditor
+};
 
 #endif
index eb8a48509b2d062b70e57045029254e5ee4d3999..33e2554ee777cd65f45b67a7a1f559ac9b2f655e 100644 (file)
 
 class AliEveTOFStrip : public TEveQuadSet
 {
-  AliEveTOFStrip(const AliEveTOFStrip&);            // Not implemented
-  AliEveTOFStrip& operator=(const AliEveTOFStrip&); // Not implemented
-
-private:
-  void LoadQuads();
-
 protected:
 
   AliTOFGeometry *fTOFgeometry;
@@ -60,19 +54,25 @@ public:
                 TClonesArray *tofArray);
   virtual ~AliEveTOFStrip();
 
-  static Bool_t    fgStaticInitDone;
-  static void      InitStatics();
-
   void SetThreshold(Short_t t);
   void SetMaxVal(Int_t mv);
-  Short_t GetThreshold() const {return fThreshold;};
-  Int_t GetMaxVal() const {return fMaxVal;};
+  Short_t GetThreshold() const { return fThreshold; }
+  Int_t   GetMaxVal()    const { return fMaxVal; }
   virtual void DigitSelected(Int_t idx);
 
-  static TEveFrameBox* fgTOFstripFrameBox;
+protected:
+  static Bool_t    fgStaticInitDone; // Has initialization of static variables been done.
+  static void      InitStatics();    // Initialize static variables.
+
+  static TEveFrameBox    *fgTOFstripFrameBox; // Shared box-frame for all strips.
+  static TEveRGBAPalette *fgTOFstripPalette;  // Shared palette.
 
-  static TEveRGBAPalette* fgTOFstripPalette;
+private:
+  void LoadQuads();
+
+  AliEveTOFStrip(const AliEveTOFStrip&);            // Not implemented
+  AliEveTOFStrip& operator=(const AliEveTOFStrip&); // Not implemented
 
-  ClassDef(AliEveTOFStrip, 1);
+  ClassDef(AliEveTOFStrip, 0); // Representation of a TOF strip.
 };
 #endif
index 3d8fbb34d85a4afa87b2fa175e8c026d46a61bff..bcf16a1178e55c6cba5e3dbb52ac2dfc63fd047d 100644 (file)
@@ -28,7 +28,7 @@
 ClassImp(AliEveTOFStripEditor)
 
 AliEveTOFStripEditor::AliEveTOFStripEditor(const TGWindow *p, Int_t width, Int_t height,
-            UInt_t options, Pixel_t back) :
+                                           UInt_t options, Pixel_t back) :
   TGedFrame(p, width, height, options | kVerticalFrame, back),
   fM         (0),
   fThreshold (0),
@@ -64,9 +64,6 @@ AliEveTOFStripEditor::AliEveTOFStripEditor(const TGWindow *p, Int_t width, Int_t
 
 }
 
-AliEveTOFStripEditor::~AliEveTOFStripEditor()
-{}
-
 /******************************************************************************/
 
 void AliEveTOFStripEditor::SetModel(TObject* obj)
index c4c42a06e234adaf30ef305375a5c93716b9fd51..60757bc595ba699a0ae9fb3206bfd362ad7d30e1 100644 (file)
@@ -26,29 +26,24 @@ class AliEveTOFStrip;
 
 class AliEveTOFStripEditor : public TGedFrame
 {
-private:
-  AliEveTOFStripEditor(const AliEveTOFStripEditor&);            // Not implemented
-  AliEveTOFStripEditor& operator=(const AliEveTOFStripEditor&); // Not implemented
-
-protected:
-  AliEveTOFStrip* fM; // fModel dynamic-casted to AliEveTOFStripEditor
-
-  // Declare widgets
-  // TGSomeWidget*   fXYZZ;
-
-  TEveGValuator*    fThreshold;
-  TEveGValuator*    fMaxVal;
-
 public:
   AliEveTOFStripEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
-  virtual ~AliEveTOFStripEditor();
+  virtual ~AliEveTOFStripEditor() {}
 
   virtual void SetModel(TObject* obj);
+
   void DoThreshold();
   void DoMaxVal();
 
-  // Declare callback/slot methods
-  // void DoXYZZ();
+protected:
+  AliEveTOFStrip *fM; // Model object.
+
+  TEveGValuator  *fThreshold; // Value widget for threshold.
+  TEveGValuator  *fMaxVal;    // Value widget for maximal value.
+
+private:
+  AliEveTOFStripEditor(const AliEveTOFStripEditor&);            // Not implemented
+  AliEveTOFStripEditor& operator=(const AliEveTOFStripEditor&); // Not implemented
 
   ClassDef(AliEveTOFStripEditor, 0); // Editor for AliEveTOFStrip
 }; // endclass AliEveTOFStripEditor
index 4442e48446518691abfb7be8a43f469363f743c4..acf715cc75f4f8bea66185eb51317087b853e5b5 100644 (file)
@@ -219,12 +219,7 @@ void AliEveTPCData::LoadRaw(AliTPCRawStream& input, Bool_t spawnSectors, Bool_t
        continue;
       }
 
-      AliEveTPCSectorData::PadRowHack* prh = secData->GetPadRowHack(row, pad);
-      if (prh != 0) {
-       threshold = prh->fThrExt + Short_t(prh->fThrFac*fLoadThreshold);
-      } else {
-       threshold = fLoadThreshold;
-      }
+      threshold = fLoadThreshold;
 
       secData->BeginPad(row, pad, kTRUE);
       inFill   = kTRUE;
index d8eff5025efde6242f45125a808ce19b7034d93c..9bae0f743e8b7f187fae966483c21fa79aa512f2 100644 (file)
@@ -29,17 +29,6 @@ class AliEveTPCSectorData;
 
 class AliEveTPCData : public TObject, public TEveRefCnt
 {
-private:
-  AliEveTPCData(const AliEveTPCData&);            // Not implemented
-  AliEveTPCData& operator=(const AliEveTPCData&); // Not implemented
-
-protected:
-  std::vector<AliEveTPCSectorData*>  fSectors; // Vector of sector-data.
-  Int_t                      fSectorBlockSize; // Block-size of sector-data.
-  Short_t                    fLoadThreshold;   // Threshold at load-time.
-  Short_t                    fLoadPedestal;    // Pedestal at load-time.
-  Bool_t                     fAutoPedestal;    // If true determine pedestals automatically for each pad.
-
 public:
   AliEveTPCData();
   virtual ~AliEveTPCData();
@@ -66,7 +55,18 @@ public:
   void LoadDigits(TTree* tree, Bool_t spawnSectors=kTRUE);
   void LoadRaw(AliTPCRawStream& input, Bool_t spawnSectors=kTRUE, Bool_t warn=kFALSE);
 
-  ClassDef(AliEveTPCData, 1); // Manages TPC data for an event.
-}; // endclass AliEveTPCData
+protected:
+  std::vector<AliEveTPCSectorData*>  fSectors; // Vector of sector-data.
+  Int_t                      fSectorBlockSize; // Block-size of sector-data.
+  Short_t                    fLoadThreshold;   // Threshold at load-time.
+  Short_t                    fLoadPedestal;    // Pedestal at load-time.
+  Bool_t                     fAutoPedestal;    // If true determine pedestals automatically for each pad.
+
+private:
+  AliEveTPCData(const AliEveTPCData&);            // Not implemented
+  AliEveTPCData& operator=(const AliEveTPCData&); // Not implemented
+
+  ClassDef(AliEveTPCData, 0); // Manages TPC data for an event.
+};
 
 #endif
index 448fe31b353e0ddd8565d03b09719141fd8cc71e..9e1b696385e5eb8b3084e738ff35e17c0329e999 100644 (file)
@@ -29,27 +29,6 @@ class AliEveTPCLoader : public TEveElementList
 {
   friend class AliEveTPCLoaderEditor;
 
-  AliEveTPCLoader(const AliEveTPCLoader&);            // Not implemented
-  AliEveTPCLoader& operator=(const AliEveTPCLoader&); // Not implemented
-
-protected:
-  TString           fFile;      // File holding raw-data.
-  Int_t             fEvent;     // Current event.
-  Bool_t            fDoubleSR;  // Set to true for double sampling-rate.
-
-  TString           fTPCEquipementMap; // Equipement-map file-name, if set passed to raw-reader.
-  AliRawReaderRoot *fReader;           // Raw-data reader.
-  AliEveTPCData    *fData;             // TPC data container.
-
-  std::vector<AliEveTPCSector2D*> fSec2Ds; // 2D sector representations.
-  std::vector<AliEveTPCSector3D*> fSec3Ds; // 3D sector representations.
-
-  Bool_t   fSetInitSectorParams; // If true, initial parameters of 2D and 3D sectors are set from values below.
-  Int_t    fInitMinTime;         // Min time for display.
-  Int_t    fInitMaxTime;         // Max time for display.
-  Int_t    fInitThreshold;       // Threshold.
-  Int_t    fInitMaxVal;          // Maximum-signal value (all signals above mapped to saturation color).
-
 public:
   AliEveTPCLoader(const Text_t* n="AliEveTPCLoader", const Text_t* t=0);
   virtual ~AliEveTPCLoader();
@@ -80,7 +59,29 @@ public:
 
   void SetInitParams(Int_t mint, Int_t maxt, Int_t thr, Int_t maxval=128);
 
-  ClassDef(AliEveTPCLoader, 1); // Front-end for stand-alone inspection of TPC raw-data.
-}; // endclass AliEveTPCLoader
+protected:
+  TString           fFile;      // File holding raw-data.
+  Int_t             fEvent;     // Current event.
+  Bool_t            fDoubleSR;  // Set to true for double sampling-rate.
+
+  TString           fTPCEquipementMap; // Equipement-map file-name, if set passed to raw-reader.
+  AliRawReaderRoot *fReader;           // Raw-data reader.
+  AliEveTPCData    *fData;             // TPC data container.
+
+  std::vector<AliEveTPCSector2D*> fSec2Ds; // 2D sector representations.
+  std::vector<AliEveTPCSector3D*> fSec3Ds; // 3D sector representations.
+
+  Bool_t   fSetInitSectorParams; // If true, initial parameters of 2D and 3D sectors are set from values below.
+  Int_t    fInitMinTime;         // Min time for display.
+  Int_t    fInitMaxTime;         // Max time for display.
+  Int_t    fInitThreshold;       // Threshold.
+  Int_t    fInitMaxVal;          // Maximum-signal value (all signals above mapped to saturation color).
+
+private:
+  AliEveTPCLoader(const AliEveTPCLoader&);            // Not implemented
+  AliEveTPCLoader& operator=(const AliEveTPCLoader&); // Not implemented
+
+  ClassDef(AliEveTPCLoader, 0); // Front-end for stand-alone inspection of TPC raw-data.
+};
 
 #endif
index 37a1258da64ac430c938c3ea6d1532ddb352811f..34de82794fa3bcaa93f2c3305793d358ede52c65 100644 (file)
@@ -33,25 +33,6 @@ class AliEveTPCLoaderEditor : public TGedFrame
   AliEveTPCLoaderEditor(const AliEveTPCLoaderEditor&);            // Not implemented
   AliEveTPCLoaderEditor& operator=(const AliEveTPCLoaderEditor&); // Not implemented
 
-protected:
-  AliEveTPCLoader *fM;                  // Model object.
-
-  TGTextEntry     *fFile;               // Text entry for file-name.
-  TGTextButton    *fOpenFile;           // Button to open the file.
-
-  TEveGValuator   *fEvent;              // Valueator for event number.
-  TGCheckButton   *fDoubleSR;           // Check-box for double sampling-rate.
-
-  // AliEveTPCData loading settings
-  TEveGValuator   *fDataLoadThreshold;  // Valuator for threshold.
-  TEveGValuator   *fDataLoadPedestal;   // Valuator for pedestal.
-  TGCheckButton   *fDataAutoPedestal;   // Check-box for auto pedestal.
-
-  TGTextButton    *fUpdateSectors;      // Button to update sectors.
-  TGTextButton    *fReloadSectors;      // Button to reload sectors.
-  TGTextButton    *fCreateSectors3D;    // Button to create 3D sectors.
-  TGTextButton    *fDeleteSectors3D;    // Button to delete 3D sectors.
-
 public:
   AliEveTPCLoaderEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                         UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -75,6 +56,25 @@ public:
   void DoCreateSectors3D();
   void DoDeleteSectors3D();
 
+protected:
+  AliEveTPCLoader *fM;                  // Model object.
+
+  TGTextEntry     *fFile;               // Text entry for file-name.
+  TGTextButton    *fOpenFile;           // Button to open the file.
+
+  TEveGValuator   *fEvent;              // Valueator for event number.
+  TGCheckButton   *fDoubleSR;           // Check-box for double sampling-rate.
+
+  // AliEveTPCData loading settings
+  TEveGValuator   *fDataLoadThreshold;  // Valuator for threshold.
+  TEveGValuator   *fDataLoadPedestal;   // Valuator for pedestal.
+  TGCheckButton   *fDataAutoPedestal;   // Check-box for auto pedestal.
+
+  TGTextButton    *fUpdateSectors;      // Button to update sectors.
+  TGTextButton    *fReloadSectors;      // Button to reload sectors.
+  TGTextButton    *fCreateSectors3D;    // Button to create 3D sectors.
+  TGTextButton    *fDeleteSectors3D;    // Button to delete 3D sectors.
+
   ClassDef(AliEveTPCLoaderEditor, 0); // Editor for AliEveTPCLoader.
 };
 
index 84befedbbda3a6cbfc2bec4f5b5dbdf43c2d245d..449f96747288db0e0a58f2f7d74bf41837a9f3e8 100644 (file)
@@ -25,14 +25,6 @@ class AliEveTPCSector2D : public AliEveTPCSectorViz
   friend class AliEveTPCSector2DGL;
   friend class AliEveTPCSector2DEditor;
 
-protected:
-  Bool_t      fShowMax;    // Show maximum signal-value in time range.
-  Bool_t      fAverage;    // Show average signal value in time range.
-
-  Bool_t      fUseTexture; // Use texture to draw each segment.
-  Bool_t      fPickEmpty;  // Pick also empty pads.
-  Int_t       fPickMode;   // Pick mode: 0-print, 1-1dhisto of pad, 2-2dhisto of padrow.
-
 public:
   AliEveTPCSector2D(const Text_t* n="AliEveTPCSector2D", const Text_t* t=0);
   virtual ~AliEveTPCSector2D() {}
@@ -51,7 +43,15 @@ public:
 
   virtual void Paint(Option_t* option="");
 
-  ClassDef(AliEveTPCSector2D, 1); // Visualization of TPC raw-data in 2D.
-}; // endclass AliEveTPCSector2D
+protected:
+  Bool_t      fShowMax;    // Show maximum signal-value in time range.
+  Bool_t      fAverage;    // Show average signal value in time range.
+
+  Bool_t      fUseTexture; // Use texture to draw each segment.
+  Bool_t      fPickEmpty;  // Pick also empty pads.
+  Int_t       fPickMode;   // Pick mode: 0-print, 1-1dhisto of pad, 2-2dhisto of padrow.
+
+  ClassDef(AliEveTPCSector2D, 0); // Visualization of TPC raw-data in 2D.
+};
 
 #endif
index a2e6bf75b77ce32a054436171020a7b0c493f1bf..9016bc0c461f7302ddb711c7aaf85d90aab50192 100644 (file)
@@ -25,19 +25,6 @@ class AliEveTPCSector2D;
 
 class AliEveTPCSector2DEditor : public TGedFrame
 {
-  AliEveTPCSector2DEditor(const AliEveTPCSector2DEditor&);            // Not implemented
-  AliEveTPCSector2DEditor& operator=(const AliEveTPCSector2DEditor&); // Not implemented
-
-protected:
-  AliEveTPCSector2D *fM;            // Model object.
-
-  TGCheckButton     *fShowMax;      // Check to show maximum signal.
-  TGCheckButton     *fAverage;      // Check-box to show average of the signal.
-
-  TGCheckButton     *fUseTexture;   // Check-box to use texture.
-  TGCheckButton     *fPickEmpty;    // Check-box for picking of empty pads.
-  TGComboBox        *fPickMode;     // Selector of pick-mode.
-
 public:
   AliEveTPCSector2DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                    UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -53,6 +40,20 @@ public:
   void DoPickEmpty();
   void DoPickMode(Int_t mode);
 
+protected:
+  AliEveTPCSector2D *fM;            // Model object.
+
+  TGCheckButton     *fShowMax;      // Check to show maximum signal.
+  TGCheckButton     *fAverage;      // Check-box to show average of the signal.
+
+  TGCheckButton     *fUseTexture;   // Check-box to use texture.
+  TGCheckButton     *fPickEmpty;    // Check-box for picking of empty pads.
+  TGComboBox        *fPickMode;     // Selector of pick-mode.
+
+private:
+  AliEveTPCSector2DEditor(const AliEveTPCSector2DEditor&);            // Not implemented
+  AliEveTPCSector2DEditor& operator=(const AliEveTPCSector2DEditor&); // Not implemented
+
   ClassDef(AliEveTPCSector2DEditor, 0); // Editor for AliEveTPCSector2D.
 };
 
index c191a4e7e082ab4893b9a46dabe13af54e200bd0..cdfa61679740042ac615de9a321ded29bb91dee9 100644 (file)
@@ -25,8 +25,18 @@ class AliEveTPCSector2D;
 
 class AliEveTPCSector2DGL : public TGLObject
 {
-  AliEveTPCSector2DGL(const AliEveTPCSector2DGL&);            // Not implemented
-  AliEveTPCSector2DGL& operator=(const AliEveTPCSector2DGL&); // Not implemented
+public:
+  AliEveTPCSector2DGL();
+  virtual ~AliEveTPCSector2DGL();
+
+  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
+  virtual void   SetBBox();
+  virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
+
+  virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
+
+  static void TraceStepsUp  (const AliEveTPCSectorData::SegmentInfo& s);
+  static void TraceStepsDown(const AliEveTPCSectorData::SegmentInfo& s);
 
 protected:
   virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
@@ -55,18 +65,9 @@ protected:
   static const Int_t fgkTextureHeight;    // Height of the texture.
   static const Int_t fgkTextureByteSize;  // Size of the texture in bytes.
 
-public:
-  AliEveTPCSector2DGL();
-  virtual ~AliEveTPCSector2DGL();
-
-  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
-  virtual void   SetBBox();
-  virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
-
-  virtual void ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
-
-  static void TraceStepsUp  (const AliEveTPCSectorData::SegmentInfo& s);
-  static void TraceStepsDown(const AliEveTPCSectorData::SegmentInfo& s);
+private:
+  AliEveTPCSector2DGL(const AliEveTPCSector2DGL&);            // Not implemented
+  AliEveTPCSector2DGL& operator=(const AliEveTPCSector2DGL&); // Not implemented
 
   ClassDef(AliEveTPCSector2DGL, 0); // GL renderer for AliEveTPCSector2D.
 };
index 8500a495107545e1366560842be2d097854331af..2389f2306ffb42b5785d8a34d6e5c961d9140ef4 100644 (file)
@@ -26,6 +26,21 @@ class AliEveTPCSector3D : public AliEveTPCSectorViz
   friend class AliEveTPCSector3DEditor;
   friend class AliEveTPCSector3DGL;
 
+public:
+  AliEveTPCSector3D(const Text_t* n="AliEveTPCSector3D", const Text_t* t=0);
+  virtual ~AliEveTPCSector3D() {}
+
+  void SetPointFrac(Float_t f) { fPointFrac = f; IncRTS(); }
+  void SetPointSize(Float_t s) { fPointSize = s; }
+
+  void SetDriftVel(Float_t v) { fDriftVel = v; IncRTS(); }
+  void SetZStep(Float_t step) { fZStep = step; IncRTS(); }
+
+  virtual void SetRnrFrame(Bool_t rf);
+
+  virtual void ComputeBBox();
+  virtual void Paint(Option_t* option="");
+
 protected:
   void LoadPadrow(AliEveTPCSectorData::RowIterator& iter,
                   Float_t sx, Float_t sy, Float_t pw, Float_t ph);
@@ -42,22 +57,7 @@ protected:
   Float_t             fDriftVel;        // Drift velocity for 'z' coordinate.
   Float_t             fZStep;           // Z width of a time-bin.
 
-public:
-  AliEveTPCSector3D(const Text_t* n="AliEveTPCSector3D", const Text_t* t=0);
-  virtual ~AliEveTPCSector3D() {}
-
-  void SetPointFrac(Float_t f) { fPointFrac = f; IncRTS(); }
-  void SetPointSize(Float_t s) { fPointSize = s; }
-
-  void SetDriftVel(Float_t v) { fDriftVel = v; IncRTS(); }
-  void SetZStep(Float_t step) { fZStep = step; IncRTS(); }
-
-  virtual void SetRnrFrame(Bool_t rf);
-
-  virtual void ComputeBBox();
-  virtual void Paint(Option_t* option="");
-
-  ClassDef(AliEveTPCSector3D, 1); // Visualization of TPC raw-data in 3D.
+  ClassDef(AliEveTPCSector3D, 0); // Visualization of TPC raw-data in 3D.
 };
 
 #endif
index 3afed2a2d0c98b1e6ae8742b51ce98f832806439..23b88aa960d53fa2840693521749b3763a277d23 100644 (file)
@@ -29,17 +29,6 @@ class AliEveTPCSector3D;
 
 class AliEveTPCSector3DEditor : public TGedFrame
 {
-  AliEveTPCSector3DEditor(const AliEveTPCSector3DEditor&);            // Not implemented
-  AliEveTPCSector3DEditor& operator=(const AliEveTPCSector3DEditor&); // Not implemented
-
-protected:
-  AliEveTPCSector3D   *fM;         // Model object.
-
-  TGCheckButton       *fRnrFrame;  // Check-box for frame rendering.
-  TEveGValuator       *fDriftVel;  // Valuator for drift velocity.
-
-  TEveGValuator       *fPointFrac; // Valuator for signal fraction displayed as points.
-  TEveGValuator       *fPointSize; // Size of point in GL.
 
 public:
   AliEveTPCSector3DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
@@ -54,7 +43,20 @@ public:
   void DoPointFrac();
   void DoPointSize();
 
+protected:
+  AliEveTPCSector3D   *fM;         // Model object.
+
+  TGCheckButton       *fRnrFrame;  // Check-box for frame rendering.
+  TEveGValuator       *fDriftVel;  // Valuator for drift velocity.
+
+  TEveGValuator       *fPointFrac; // Valuator for signal fraction displayed as points.
+  TEveGValuator       *fPointSize; // Size of point in GL.
+
+private:
+  AliEveTPCSector3DEditor(const AliEveTPCSector3DEditor&);            // Not implemented
+  AliEveTPCSector3DEditor& operator=(const AliEveTPCSector3DEditor&); // Not implemented
+
   ClassDef(AliEveTPCSector3DEditor, 0); // Editor for AliEveTPCSector3D.
-}; // endclass AliEveTPCSector3DEditor
+};
 
 #endif
index b3b5ae298cc59a70be3a3bf4bac3bcafef2aa610..d77b4c6b7e72170e9afbf7b23d7ab1bfe4cbb311 100644 (file)
@@ -26,17 +26,6 @@ class AliEveTPCSector3D;
 
 class AliEveTPCSector3DGL : public TGLObject
 {
-  AliEveTPCSector3DGL(const AliEveTPCSector3DGL&);            // Not implemented
-  AliEveTPCSector3DGL& operator=(const AliEveTPCSector3DGL&); // Not implemented
-
-protected:
-  AliEveTPCSector3D  *fSector; // Model object.
-  TEveBoxSetGL       *fBoxRnr; // Box-set GL renderer.
-
-  mutable UInt_t      fRTS;    // Rendering time-stamp.
-
-  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
-
 public:
   AliEveTPCSector3DGL();
   virtual ~AliEveTPCSector3DGL();
@@ -54,6 +43,18 @@ public:
   virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
   virtual void   ProcessSelection(TGLRnrCtx & rnrCtx, TGLSelectRecord & rec);
 
+protected:
+  AliEveTPCSector3D  *fSector; // Model object.
+  TEveBoxSetGL       *fBoxRnr; // Box-set GL renderer.
+
+  mutable UInt_t      fRTS;    // Rendering time-stamp.
+
+  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
+
+private:
+  AliEveTPCSector3DGL(const AliEveTPCSector3DGL&);            // Not implemented
+  AliEveTPCSector3DGL& operator=(const AliEveTPCSector3DGL&); // Not implemented
+
   ClassDef(AliEveTPCSector3DGL, 0); // GL renderer for AliEveTPCSector3D.
 };
 
index 4d9be19041f7b263acb9fd6a716b1e21021ebfd5..dd7927030f22b058b758109f77bb2be2e76f66bb 100644 (file)
@@ -181,8 +181,7 @@ void AliEveTPCSectorData::NewBlock()
 AliEveTPCSectorData::AliEveTPCSectorData(Int_t sector, Int_t bsize) :
   fSectorID(sector),  fNPadsFilled(0), fPads(),
   fkBlockSize(bsize), fBlockPos(0),    fBlocks(),
-  fCurrentRow(0), fCurrentPad(0), fCurrentPos(0), fCurrentStep(0),
-  fPadRowHackSet(0)
+  fCurrentRow(0), fCurrentPad(0), fCurrentPos(0), fCurrentStep(0)
 {
   // Constructor.
 
@@ -200,7 +199,6 @@ AliEveTPCSectorData::~AliEveTPCSectorData()
 
   for (std::vector<Short_t*>::iterator b=fBlocks.begin(); b!=fBlocks.end(); ++b)
     delete [] *b;
-  DeletePadRowHack();
 }
 
 void AliEveTPCSectorData::DropData()
@@ -510,54 +508,3 @@ AliEveTPCSectorData::SegmentInfo::SegmentInfo() :
 
   memset(fYStep, sizeof(fYStep), 0);
 }
-
-/******************************************************************************/
-// AliEveTPCSectorData::PadRowHack
-/******************************************************************************/
-
-AliEveTPCSectorData::PadRowHack* AliEveTPCSectorData::GetPadRowHack(Int_t r, Int_t p)
-{
-  // Get PadRowHack applicable to given row and pad.
-
-  if (fPadRowHackSet == 0) return 0;
-  std::set<PadRowHack>* hs = static_cast<std::set<PadRowHack>*>(fPadRowHackSet);
-  std::set<PadRowHack>::iterator i = hs->find(PadRowHack(r,p));
-  return (i == hs->end()) ? 0 : const_cast<PadRowHack*>(&*i);
-}
-
-void AliEveTPCSectorData::AddPadRowHack(Int_t r, Int_t p, Int_t te, Float_t tf)
-{
-  // Register PadRowHack for given row and pad.
-
-  if (fPadRowHackSet == 0) fPadRowHackSet = new std::set<PadRowHack>;
-
-  PadRowHack* prh = GetPadRowHack(r, p);
-  if (prh == 0) {
-    std::set<PadRowHack>* hs = static_cast<std::set<PadRowHack>*>(fPadRowHackSet);
-    hs->insert(PadRowHack(r, p, te, tf));
-  } else {
-    prh->fThrExt += te;
-    prh->fThrFac *= tf;
-  }
-}
-
-void AliEveTPCSectorData::RemovePadRowHack(Int_t r, Int_t p)
-{
-  // Remove PadRowHack for given row and pad.
-
-  if (fPadRowHackSet == 0) return;
-  std::set<PadRowHack>*hs = static_cast<std::set<PadRowHack>*>(fPadRowHackSet);
-  std::set<PadRowHack>::iterator i = hs->find(PadRowHack(r,p));
-  if (i != hs->end()) hs->erase(i);
-}
-
-void AliEveTPCSectorData::DeletePadRowHack()
-{
-  // Delete all PadRowHacks and their container.
-
-  if (fPadRowHackSet != 0) {
-    std::set<PadRowHack>*hs = static_cast<std::set<PadRowHack>*>(fPadRowHackSet);
-    delete hs;
-    fPadRowHackSet = 0;
-  }
-}
index c0544dc774780113272cb6cf8f0025ae068eabc3..5c31fce63f65b9915b616dedb2adeebb36a1b0d8 100644 (file)
@@ -25,17 +25,11 @@ class AliTPCParam;
 
 class AliEveTPCSectorData : public TObject
 {
-  AliEveTPCSectorData(const AliEveTPCSectorData&);            // Not implemented
-  AliEveTPCSectorData& operator=(const AliEveTPCSectorData&); // Not implemented
-
 public:
+  // --- Inner classes ---
 
   class PadData
   {
-  protected:
-    Short_t* fData;   // Data for given pad.
-    Short_t  fLength; // Length of pad-data.
-
   public:
     PadData(Short_t* d=0, Short_t l=0) : fData(d), fLength(l) {}
 
@@ -49,17 +43,14 @@ public:
     void SetDataLength(Short_t* d, Short_t l) { fData = d; fLength = l; }
 
     void Print(Option_t* opt="");
+
+  protected:
+    Short_t* fData;   // Data for given pad.
+    Short_t  fLength; // Length of pad-data.
   };
 
   class PadIterator
   {
-  protected:
-    Short_t *fBeg, *fEnd;    // Begin and end of data.
-    Short_t *fPos;           // Current position.
-    Short_t  fTime, fSignal; // Current time and signal.
-    Short_t  fThreshold;     // Threshold for data iteration. 
-    Short_t  fNChunk;        // Number of contiguous signals still to read.
-
   public:
     PadIterator(const PadData& pd, Short_t thr=0) :
       fBeg(pd.Data()), fEnd(pd.Data() + pd.Length()), fPos(pd.Data()),
@@ -88,15 +79,17 @@ public:
     void SetThreshold(Short_t t) { fThreshold = t; }
 
     void Test();
+
+  protected:
+    Short_t *fBeg, *fEnd;    // Begin and end of data.
+    Short_t *fPos;           // Current position.
+    Short_t  fTime, fSignal; // Current time and signal.
+    Short_t  fThreshold;     // Threshold for data iteration. 
+    Short_t  fNChunk;        // Number of contiguous signals still to read.
   };
 
   class RowIterator : public PadIterator
   {
-  protected:
-    const PadData *fPadArray; // Pointer to array of pad-data.
-    Short_t        fNPads;    // Number of pads in row.
-    Short_t        fPad;      // Current pad.
-
   public:
     RowIterator(const PadData* first, Short_t npads, Short_t thr=0) :
       PadIterator(*first, thr),
@@ -118,23 +111,17 @@ public:
     void   ResetRow(const PadData* first, Short_t npads);
 
     Short_t TEvePad() const { return fPad; }
+
+  protected:
+    const PadData *fPadArray; // Pointer to array of pad-data.
+    Short_t        fNPads;    // Number of pads in row.
+    Short_t        fPad;      // Current pad.
   };
 
   class SegmentInfo : public TObject
   {
     friend class AliEveTPCSectorData;
 
-  private:
-    Float_t   fPadWidth;  // Width of pad in this segment.
-    Float_t   fPadHeight; // Height of pad in this segment.
-    Float_t   fRLow;      // Radius at the bottom of first row.
-    Int_t     fNRows;     // Number of rows in this segment.
-    Int_t     fFirstRow;  // First row index within sector.
-    Int_t     fLastRow;   // Last row index within sector.
-    Int_t     fNMaxPads;  // Maximum number of pads in a row.
-    Int_t     fNYSteps;   // Number of steps in pad-count.
-    Float_t   fYStep[64]; // Y coords where pad-count changes.
-
   public:
     SegmentInfo();
 
@@ -148,45 +135,22 @@ public:
     Int_t   GetNYSteps()   const { return fNYSteps; }
     Float_t GetYStep(Int_t step) const { return fYStep[step]; }
 
+  private:
+    Float_t   fPadWidth;  // Width of pad in this segment.
+    Float_t   fPadHeight; // Height of pad in this segment.
+    Float_t   fRLow;      // Radius at the bottom of first row.
+    Int_t     fNRows;     // Number of rows in this segment.
+    Int_t     fFirstRow;  // First row index within sector.
+    Int_t     fLastRow;   // Last row index within sector.
+    Int_t     fNMaxPads;  // Maximum number of pads in a row.
+    Int_t     fNYSteps;   // Number of steps in pad-count.
+    Float_t   fYStep[64]; // Y coords where pad-count changes.
+
     ClassDef(SegmentInfo, 0);
   };
 
-private:
-  static AliTPCParam *fgParam;     // Global TPC parameters.
-  static Float_t      fgZLength;   // Z-length of a sector.
-  static Int_t        fgNAllRows;  // Number of rows in all segments.
-  static Int_t        fgNAllPads;  // Number of pads in all segments.
-  static Int_t       *fgRowBegs;   // Ids of pads at row-beginnings.
-
-  static SegmentInfo  fgInnSeg;    // Geometry information for inner segment.
-  static SegmentInfo  fgOut1Seg;   // Geometry information for middle segment.
-  static SegmentInfo  fgOut2Seg;   // Geometry information for outer segment.
-
-  static SegmentInfo* fgSegInfoPtrs[3]; // Array of geometry information objects, for access by segment id.
-
-protected:
-  Int_t                 fSectorID;      // Sector id.
-  Int_t                 fNPadsFilled;   // Number of filled pads.
-  std::vector<PadData>  fPads;          // Vector of pad-data.
-
-  // Blocks of pad-data.
-  const Int_t           fkBlockSize;    // Size of pad-data block.
-  Int_t                 fBlockPos;      // Position in current block.
-  std::vector<Short_t*> fBlocks;        // Vector of blocks.
-
-  void NewBlock();
-
+  // --- Interface ---
 
-  // Intermediate buffer/vars used during filling of pad-data.
-  Short_t fPadBuffer[2048];     // Buffer for current pad.
-  Int_t   fCurrentRow;          // Current row.
-  Int_t   fCurrentPad;          // Current pad.
-  Int_t   fCurrentPos;          // Current position in pad-buffer.
-  Int_t   fCurrentStep;         // Step, can be -2 or +2, depending on fill direction.
-
-  Int_t PadIndex(Int_t row, Int_t pad) const { return fgRowBegs[row] + pad; }
-
-public:
   AliEveTPCSectorData(Int_t sector, Int_t bsize=65536);
   virtual ~AliEveTPCSectorData();
 
@@ -224,33 +188,45 @@ public:
   static void InitStatics();
 
 
-  //----------------------------------------------------------------
-  // Hack for noisy pad-row removal
-  //----------------------------------------------------------------
+protected:
+  Int_t                 fSectorID;      // Sector id.
+  Int_t                 fNPadsFilled;   // Number of filled pads.
+  std::vector<PadData>  fPads;          // Vector of pad-data.
 
-  class PadRowHack
-  {
-  public:
-    Int_t   fRow, fPad; // For which row, pad we hack.
-    Int_t   fThrExt;    // Additional treshold
-    Float_t fThrFac;    // Additional threshold factor.
-    // Actual threshold = fThrExt + fThrFac*thr
-
-    PadRowHack(Int_t r, Int_t p, Int_t te=0, Float_t tf=1) :
-      fRow(r), fPad(p), fThrExt(te), fThrFac(tf) {}
-    bool operator<(const PadRowHack& a) const
-    { return (fRow == a.fRow) ? fPad < a.fPad : fRow < a.fRow; }
-  };
+  // Blocks of pad-data.
+  const Int_t           fkBlockSize;    // Size of pad-data block.
+  Int_t                 fBlockPos;      // Position in current block.
+  std::vector<Short_t*> fBlocks;        // Vector of blocks.
+
+  void NewBlock();
 
-  PadRowHack* GetPadRowHack(Int_t r, Int_t p);
-  void AddPadRowHack(Int_t r, Int_t p, Int_t te=0, Float_t tf=1);
-  void RemovePadRowHack(Int_t r, Int_t p);
-  void DeletePadRowHack();
 
-protected:
-  void* fPadRowHackSet; // Pointer to set of PadRowHacks. 
+  // Intermediate buffer/vars used during filling of pad-data.
+  Short_t fPadBuffer[2048];     // Buffer for current pad.
+  Int_t   fCurrentRow;          // Current row.
+  Int_t   fCurrentPad;          // Current pad.
+  Int_t   fCurrentPos;          // Current position in pad-buffer.
+  Int_t   fCurrentStep;         // Step, can be -2 or +2, depending on fill direction.
+
+  Int_t PadIndex(Int_t row, Int_t pad) const { return fgRowBegs[row] + pad; }
 
 
+private:
+  static AliTPCParam *fgParam;     // Global TPC parameters.
+  static Float_t      fgZLength;   // Z-length of a sector.
+  static Int_t        fgNAllRows;  // Number of rows in all segments.
+  static Int_t        fgNAllPads;  // Number of pads in all segments.
+  static Int_t       *fgRowBegs;   // Ids of pads at row-beginnings.
+
+  static SegmentInfo  fgInnSeg;    // Geometry information for inner segment.
+  static SegmentInfo  fgOut1Seg;   // Geometry information for middle segment.
+  static SegmentInfo  fgOut2Seg;   // Geometry information for outer segment.
+
+  static SegmentInfo* fgSegInfoPtrs[3]; // Array of geometry information objects, for access by segment id.
+
+  AliEveTPCSectorData(const AliEveTPCSectorData&);            // Not implemented
+  AliEveTPCSectorData& operator=(const AliEveTPCSectorData&); // Not implemented
+
   ClassDef(AliEveTPCSectorData, 0); // Holds pad-data of a single TPC sector. Also stores geometry information in static data-members.
 };
 
index ab2a3bf4699256bd19fef2eb23821db413682c91..e17aad8304bb6ddc603b67cd70ee21010f28ea1e 100644 (file)
@@ -41,35 +41,6 @@ class AliEveTPCSectorViz : public TEveElement,
   friend class AliEveTPCSector3DEditor;
   friend class AliEveTPCSector3DGL;
 
-  AliEveTPCSectorViz(const AliEveTPCSectorViz&);            // Not implemented
-  AliEveTPCSectorViz& operator=(const AliEveTPCSectorViz&); // Not implemented
-
-protected:
-  AliEveTPCData    *fTPCData;    //  Source of data.
-  Int_t             fSectorID;   //  Id of the displayed sector.
-
-  Int_t             fMinTime;    //  Min time-bin to display.
-  Int_t             fMaxTime;    //  Max time-bin to display.
-  Short_t           fThreshold;  //  Threshold for display/
-  Int_t             fMaxVal;     //  Maximum signal-value, all above is of the same color.
-
-  Bool_t            fRnrInn;     //  Render inner segment.
-  Bool_t            fRnrOut1;    //  Render middle segment.
-  Bool_t            fRnrOut2;    //  Render outer segment.
-
-  Color_t           fFrameColor; //  Color of the frame, the main color.
-  Bool_t            fRnrFrame;   //  Render frame.
-  Bool_t            fAutoTrans;  //  Automatically calculate transformation based on sector id.
-  UInt_t            fRTS;        //! Rendering TimeStamp
-
-  mutable UChar_t  *fColorArray; //  Color array caching signal to color mapping.
-
-  void SetupColor(Int_t val, UChar_t* pix) const;
-  void ClearColorArray();
-  void SetupColorArray() const;
-  UChar_t* ColorFromArray(Int_t val) const;
-  void     ColorFromArray(Int_t val, UChar_t* pix) const;
-
 public:
   AliEveTPCSectorViz(const Text_t* n="AliEveTPCSectorViz", const Text_t* t=0);
   virtual ~AliEveTPCSectorViz();
@@ -103,10 +74,41 @@ public:
 
   void SetUseTrans(Bool_t t);
 
-  ClassDef(AliEveTPCSectorViz, 1); // Base-class for visualization of data for one TPC sector.
+protected:
+  AliEveTPCData    *fTPCData;    //  Source of data.
+  Int_t             fSectorID;   //  Id of the displayed sector.
+
+  Int_t             fMinTime;    //  Min time-bin to display.
+  Int_t             fMaxTime;    //  Max time-bin to display.
+  Short_t           fThreshold;  //  Threshold for display/
+  Int_t             fMaxVal;     //  Maximum signal-value, all above is of the same color.
+
+  Bool_t            fRnrInn;     //  Render inner segment.
+  Bool_t            fRnrOut1;    //  Render middle segment.
+  Bool_t            fRnrOut2;    //  Render outer segment.
+
+  Color_t           fFrameColor; //  Color of the frame, the main color.
+  Bool_t            fRnrFrame;   //  Render frame.
+  Bool_t            fAutoTrans;  //  Automatically calculate transformation based on sector id.
+  UInt_t            fRTS;        //! Rendering TimeStamp
+
+  mutable UChar_t  *fColorArray; //  Color array caching signal to color mapping.
+
+  void SetupColor(Int_t val, UChar_t* pix) const;
+  void ClearColorArray();
+  void SetupColorArray() const;
+  UChar_t* ColorFromArray(Int_t val) const;
+  void     ColorFromArray(Int_t val, UChar_t* pix) const;
+
+private:
+  AliEveTPCSectorViz(const AliEveTPCSectorViz&);            // Not implemented
+  AliEveTPCSectorViz& operator=(const AliEveTPCSectorViz&); // Not implemented
+
+  ClassDef(AliEveTPCSectorViz, 0); // Base-class for visualization of data for one TPC sector.
 };
 
-//------------------------------------------------------------------------------
+
+// --- Inlines ---
 
 inline UChar_t* AliEveTPCSectorViz::ColorFromArray(Int_t val) const
 {
index 09f0cdd9321ea521294a65c030b03748ec701814..a9605b2e6a04aac0998686f4e0c404979c3ca2a9 100644 (file)
@@ -31,26 +31,6 @@ class AliEveTPCSectorViz;
 
 class AliEveTPCSectorVizEditor : public TGedFrame
 {
-  AliEveTPCSectorVizEditor(const AliEveTPCSectorVizEditor&);            // Not implemented
-  AliEveTPCSectorVizEditor& operator=(const AliEveTPCSectorVizEditor&); // Not implemented
-
-protected:
-  AliEveTPCSectorViz   *fM;          // Model dynamic-casted to AliEveTPCSectorVizEditor
-
-  TEveTransSubEditor   *fHMTrans;    // Widget for transormation.
-
-  TEveGValuator        *fSectorID;   // Widget for SectorID.
-  TGCheckButton        *fAutoTrans;  // Widget for AutoTrans.
-
-  TGCheckButton        *fRnrInn;     // Widget for RnrInn.
-  TGCheckButton        *fRnrOut1;    // Widget for RnrOut1.
-  TGCheckButton        *fRnrOut2;    // Widget for RnrOut2.
-
-  TEveGValuator        *fThreshold;  // Widget for Threshold.
-  TEveGValuator        *fMaxVal;     // Widget for MaxVal.
-
-  TEveGDoubleValuator  *fTime;       // Widget for time-range.
-
 public:
   AliEveTPCSectorVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                     UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -70,6 +50,27 @@ public:
 
   void DoTime();
 
+protected:
+  AliEveTPCSectorViz   *fM;          // Model dynamic-casted to AliEveTPCSectorVizEditor
+
+  TEveTransSubEditor   *fHMTrans;    // Widget for transormation.
+
+  TEveGValuator        *fSectorID;   // Widget for SectorID.
+  TGCheckButton        *fAutoTrans;  // Widget for AutoTrans.
+
+  TGCheckButton        *fRnrInn;     // Widget for RnrInn.
+  TGCheckButton        *fRnrOut1;    // Widget for RnrOut1.
+  TGCheckButton        *fRnrOut2;    // Widget for RnrOut2.
+
+  TEveGValuator        *fThreshold;  // Widget for Threshold.
+  TEveGValuator        *fMaxVal;     // Widget for MaxVal.
+
+  TEveGDoubleValuator  *fTime;       // Widget for time-range.
+
+private:
+  AliEveTPCSectorVizEditor(const AliEveTPCSectorVizEditor&);            // Not implemented
+  AliEveTPCSectorVizEditor& operator=(const AliEveTPCSectorVizEditor&); // Not implemented
+
   ClassDef(AliEveTPCSectorVizEditor, 0); // Editor for AliEveTPCSectorViz.
 };
 
index 17d561a431ce5b2d070eb5d55b2c07ff2f1a3936..5fa36fc8d114d5e1f9f5439ba7098fa51581ab3d 100644 (file)
@@ -32,10 +32,6 @@ class AliEveTRDChamber;
 
 class AliEveTRDHits : public TEvePointSet
 {
-private:
-  AliEveTRDHits(const AliEveTRDHits&);            // Not implemented
-  AliEveTRDHits& operator=(const AliEveTRDHits&); // Not implemented
-
 public:
   AliEveTRDHits(AliEveTRDChamber *p);
 
@@ -44,16 +40,16 @@ public:
 protected:
   AliEveTRDChamber *fParent; // Chaber holding the hits.
 
-  ClassDef(AliEveTRDHits,1); // Base class for TRD hits visualisation
+private:
+  AliEveTRDHits(const AliEveTRDHits&);            // Not implemented
+  AliEveTRDHits& operator=(const AliEveTRDHits&); // Not implemented
+
+  ClassDef(AliEveTRDHits, 0); // Base class for TRD hits visualisation
 };
 
 
 class AliEveTRDHitsEditor : public TGedFrame
 {
-private:
-  AliEveTRDHitsEditor(const AliEveTRDHitsEditor&);            // Not implemented
-  AliEveTRDHitsEditor& operator=(const AliEveTRDHitsEditor&); // Not implemented
-
 public:
   AliEveTRDHitsEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -64,7 +60,11 @@ public:
 protected:
   AliEveTRDHits* fM; // Model object.
 
-  ClassDef(AliEveTRDHitsEditor,1); // Editor for AliEveTRDHits.
+private:
+  AliEveTRDHitsEditor(const AliEveTRDHitsEditor&);            // Not implemented
+  AliEveTRDHitsEditor& operator=(const AliEveTRDHitsEditor&); // Not implemented
+
+  ClassDef(AliEveTRDHitsEditor, 0); // Editor for AliEveTRDHits.
 };
 
 
@@ -72,10 +72,6 @@ class AliEveTRDDigits : public TEveQuadSet
 {
   friend class AliEveTRDDigitsEditor;
 
-private:
-  AliEveTRDDigits(const AliEveTRDDigits&);            // Not implemented
-  AliEveTRDDigits& operator=(const AliEveTRDDigits&); // Not implemented
-
 public:
   AliEveTRDDigits(AliEveTRDChamber *p);
 
@@ -91,16 +87,15 @@ private:
   TEveBoxSet           fBoxes; // Boxset for didigit representation.
   AliTRDdataArrayI     fData;  // Raw-data array.
 
-  ClassDef(AliEveTRDDigits,1); // Digits visualisation for TRD
+  AliEveTRDDigits(const AliEveTRDDigits&);            // Not implemented
+  AliEveTRDDigits& operator=(const AliEveTRDDigits&); // Not implemented
+
+  ClassDef(AliEveTRDDigits, 0); // Digits visualisation for TRD
 };
 
 
 class AliEveTRDDigitsEditor : public TGedFrame
 {
-private:
-  AliEveTRDDigitsEditor(const AliEveTRDDigitsEditor&);            // Not implemented
-  AliEveTRDDigitsEditor& operator=(const AliEveTRDDigitsEditor&); // Not implemented
-
 public:
   AliEveTRDDigitsEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                        UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -111,22 +106,26 @@ public:
 protected:
   AliEveTRDDigits* fM; // Model object.
 
-  ClassDef(AliEveTRDDigitsEditor,1); // Editor for AliEveTRDDigits
+private:
+  AliEveTRDDigitsEditor(const AliEveTRDDigitsEditor&);            // Not implemented
+  AliEveTRDDigitsEditor& operator=(const AliEveTRDDigitsEditor&); // Not implemented
+
+  ClassDef(AliEveTRDDigitsEditor, 0); // Editor for AliEveTRDDigits
 };
 
 
 class AliEveTRDClusters : public AliEveTRDHits
 {
-private:
-  AliEveTRDClusters(const AliEveTRDClusters&);            // Not implemented
-  AliEveTRDClusters& operator=(const AliEveTRDClusters&); // Not implemented
-
 public:
   AliEveTRDClusters(AliEveTRDChamber *p);
 
   void PointSelected(Int_t n);
 
-  ClassDef(AliEveTRDClusters,1); // Base class for TRD clusters visualisation
+private:
+  AliEveTRDClusters(const AliEveTRDClusters&);            // Not implemented
+  AliEveTRDClusters& operator=(const AliEveTRDClusters&); // Not implemented
+
+  ClassDef(AliEveTRDClusters, 0); // Base class for TRD clusters visualisation
 };
 
 #endif
index 3c9ba912cfb9015f907f9a044bdfd6b08443753d..fae9bbc9671c5060623403a1d69194a9aa8c3e2f 100644 (file)
@@ -39,10 +39,6 @@ class AliEveTRDLoader : public TEveElementList
 {
   friend class AliEveTRDLoaderEditor;
 
-private:
-  AliEveTRDLoader(const AliEveTRDLoader&);            // Not implemented
-  AliEveTRDLoader& operator=(const AliEveTRDLoader&); // Not implemented
-
 public:
   enum TRDDataTypes {
     kHits     = 0,
@@ -53,13 +49,14 @@ public:
     kRawData  = 5
   };
 
-public:
+
   AliEveTRDLoader(const Text_t* n="AliEveTRDLoader", const Text_t* t=0);
   virtual ~AliEveTRDLoader() {}
 
   virtual void                 Paint(Option_t *option="");
   virtual void         SetDataType(TRDDataTypes type);
 
+
 protected:
   virtual void         AddChambers(int sm=-1, int stk=-1, int ly=-1);
   virtual AliEveTRDChamber*    GetChamber(int d);
@@ -70,7 +67,6 @@ protected:
   virtual Bool_t       Open(const char *file, const char *dir = ".");
   virtual void         Unload();
 
-protected:
   Bool_t       fLoadHits, fLoadDigits, fLoadClusters, fLoadTracks; // flags for data-loading
   Int_t                fSM, fStack, fLy; // supermodule, stack, layer
   TString      fFilename;        // name of data file
@@ -80,16 +76,16 @@ protected:
   AliTRDv1                     *fTRD; // the TRD detector
   AliTRDgeometry               *fGeo; // the TRD geometry
 
-  ClassDef(AliEveTRDLoader, 1); // Alieve Loader class for the TRD detector.
+private:
+  AliEveTRDLoader(const AliEveTRDLoader&);            // Not implemented
+  AliEveTRDLoader& operator=(const AliEveTRDLoader&); // Not implemented
+
+  ClassDef(AliEveTRDLoader, 0); // Alieve Loader class for the TRD detector.
 };
 
 
 class AliEveTRDLoaderEditor : public TGedFrame
 {
-private:
-  AliEveTRDLoaderEditor(const AliEveTRDLoaderEditor&);            // Not implemented
-  AliEveTRDLoaderEditor& operator=(const AliEveTRDLoaderEditor&); // Not implemented
-
 public:
   AliEveTRDLoaderEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                        UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -107,7 +103,11 @@ protected:
   TEveGValuator                *fEvent; // Event no weed.
   TEveGValuator                *fSMNumber, *fStackNumber, *fPlaneNumber; // Detector id weeds.
 
-  ClassDef(AliEveTRDLoaderEditor,1); // Editor for AliEveTRDLoader.
+private:
+  AliEveTRDLoaderEditor(const AliEveTRDLoaderEditor&);            // Not implemented
+  AliEveTRDLoaderEditor& operator=(const AliEveTRDLoaderEditor&); // Not implemented
+
+  ClassDef(AliEveTRDLoaderEditor, 0); // Editor for AliEveTRDLoader.
 };
 
 #endif
index d993b8e0cd90b2508c01623c23ed687dbb0c48dc..91f8baf512c7bca02d002d925ad2a1ea86612a1f 100644 (file)
@@ -30,9 +30,7 @@ class TGCheckButton;
 class AliEveTRDLoaderSim : public AliEveTRDLoader
 {
   friend class AliEveTRDLoaderSimEditor;
-private:
-  AliEveTRDLoaderSim(const AliEveTRDLoaderSim&);            // Not implemented
-  AliEveTRDLoaderSim& operator=(const AliEveTRDLoaderSim&); // Not implemented
+
 public:
   AliEveTRDLoaderSim(const Text_t* n="AliEveTRDLoaderSim", const Text_t* t=0);
   virtual ~AliEveTRDLoaderSim() {}
@@ -44,16 +42,15 @@ public:
 private:
   AliRunLoader *fRunLoader; // Run Loader
 
-  ClassDef(AliEveTRDLoaderSim, 1); // Alieve loader for the TRD detector (gAlice)
+  AliEveTRDLoaderSim(const AliEveTRDLoaderSim&);            // Not implemented
+  AliEveTRDLoaderSim& operator=(const AliEveTRDLoaderSim&); // Not implemented
+
+  ClassDef(AliEveTRDLoaderSim, 0); // Alieve loader for the TRD detector (gAlice)
 };
 
 
 class AliEveTRDLoaderRaw : public AliEveTRDLoader
 {
-private:
-  AliEveTRDLoaderRaw(const AliEveTRDLoaderRaw&);            // Not implemented
-  AliEveTRDLoaderRaw& operator=(const AliEveTRDLoaderRaw&); // Not implemented
-
 public:
   AliEveTRDLoaderRaw(const Text_t* n="AliEveTRDLoaderRaw", const Text_t* t=0);
   virtual ~AliEveTRDLoaderRaw() {}
@@ -66,23 +63,21 @@ public:
 private:
   void NextEvent(Bool_t rewindOnEnd=kTRUE);
 
-private:
   AliRawReaderDate     *fRawDateReader; // raw data reader
   AliRawReaderRoot     *fRawRootReader; // raw root reader
   AliTRDrawData                *fRaw;           // raw data
   Bool_t                fDataRoot;      // data in root format
   Int_t                         fEventOld;      // old event
 
-  ClassDef(AliEveTRDLoaderRaw, 1); // Alieve loader for the TRD detector (raw)
+  AliEveTRDLoaderRaw(const AliEveTRDLoaderRaw&);            // Not implemented
+  AliEveTRDLoaderRaw& operator=(const AliEveTRDLoaderRaw&); // Not implemented
+
+  ClassDef(AliEveTRDLoaderRaw, 0); // Alieve loader for the TRD detector (raw)
 };
 
 
 class AliEveTRDLoaderSimEditor : public TGedFrame
 {
-private:
-  AliEveTRDLoaderSimEditor(const AliEveTRDLoaderSimEditor&);            // Not implemented
-  AliEveTRDLoaderSimEditor& operator=(const AliEveTRDLoaderSimEditor&); // Not implemented
-
 public:
   AliEveTRDLoaderSimEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                           UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -95,7 +90,11 @@ protected:
   AliEveTRDLoaderSim  *fM; // Model object.
   TGCheckButton       *fLoadHits, *fLoadDigits, *fLoadClusters, *fLoadTracks; // What data to load.
 
-  ClassDef(AliEveTRDLoaderSimEditor,1); // Editor for AliEveTRDLoaderSim
+private:
+  AliEveTRDLoaderSimEditor(const AliEveTRDLoaderSimEditor&);            // Not implemented
+  AliEveTRDLoaderSimEditor& operator=(const AliEveTRDLoaderSimEditor&); // Not implemented
+
+  ClassDef(AliEveTRDLoaderSimEditor, 0); // Editor for AliEveTRDLoaderSim
 };
 
 #endif
index e479fc5fc61aa3ec911cebe98c455fab7aee3b54..6d6b36264bc3fad7def11207db87ed483906b564 100644 (file)
@@ -34,9 +34,6 @@ class AliEveTRDLoaderManager : public TEveElementList
 {
   friend class AliEveTRDLoaderManagerEditor;
 
-  AliEveTRDLoaderManager(const AliEveTRDLoaderManager&);            // Not implemented
-  AliEveTRDLoaderManager& operator=(const AliEveTRDLoaderManager&); // Not implemented
-
 public:
   AliEveTRDLoaderManager(const Text_t* name="AliEveTRDLoader", const Text_t* title=0x0);
   virtual ~AliEveTRDLoaderManager() {}
@@ -47,16 +44,16 @@ protected:
   void Add(Int_t type, const Text_t *name, const Text_t *title=0x0);
   void Remove(Int_t entry);
 
-  ClassDef(AliEveTRDLoaderManager, 1); // Alieve loaders manager for TRD
+private:
+  AliEveTRDLoaderManager(const AliEveTRDLoaderManager&);            // Not implemented
+  AliEveTRDLoaderManager& operator=(const AliEveTRDLoaderManager&); // Not implemented
+
+  ClassDef(AliEveTRDLoaderManager, 0); // Alieve loaders manager for TRD
 };
 
 
 class AliEveTRDLoaderManagerEditor : public TGedFrame
 {
-private:
-  AliEveTRDLoaderManagerEditor(const AliEveTRDLoaderManagerEditor&);            // Not implemented
-  AliEveTRDLoaderManagerEditor& operator=(const AliEveTRDLoaderManagerEditor&); // Not implemented
-
 public:
   AliEveTRDLoaderManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                               UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -75,7 +72,10 @@ private:
   TGGroupFrame         *fGroupFrame;          // Frame.
   TClonesArray *fRemove;              // Remove array.
 
-  ClassDef(AliEveTRDLoaderManagerEditor, 1); // Editor for AliEveTRDLoaderManager.
+  AliEveTRDLoaderManagerEditor(const AliEveTRDLoaderManagerEditor&);            // Not implemented
+  AliEveTRDLoaderManagerEditor& operator=(const AliEveTRDLoaderManagerEditor&); // Not implemented
+
+  ClassDef(AliEveTRDLoaderManagerEditor, 0); // Editor for AliEveTRDLoaderManager.
 };
 
 #endif
index 129cb58ba23662bd2458dc9b5de1b0c740dcaf2d..4a7e06af6ab1afebb139cd03e52e01deacb42b28 100644 (file)
@@ -36,10 +36,6 @@ class AliEveTRDModule : public TNamed
   friend class AliEveTRDNode;
   friend class AliEveTRDChamber;
 
-private:
-  AliEveTRDModule(const AliEveTRDModule&);            // Not implemented
-  AliEveTRDModule& operator=(const AliEveTRDModule&); // Not implemented
-
 public:
   AliEveTRDModule(const char *typ="XXX", Int_t id=0);
   virtual ~AliEveTRDModule() {}
@@ -63,16 +59,16 @@ protected:
   Int_t         fDet;             // detector number
   UShort_t     fDigitsThreshold; // digits threshold
 
-  ClassDef(AliEveTRDModule,1); // Structure holder for TRD chamber.
+private:
+  AliEveTRDModule(const AliEveTRDModule&);            // Not implemented
+  AliEveTRDModule& operator=(const AliEveTRDModule&); // Not implemented
+
+  ClassDef(AliEveTRDModule, 0); // Structure holder for TRD chamber.
 };
 
 
 class AliEveTRDModuleEditor : public TGedFrame
 {
-private:
-  AliEveTRDModuleEditor(const AliEveTRDModuleEditor&);            // Not implemented
-  AliEveTRDModuleEditor& operator=(const AliEveTRDModuleEditor&); // Not implemented
-
 public:
   AliEveTRDModuleEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
                        UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
@@ -98,7 +94,10 @@ private:
   TGColorSelect *fClustersColor;    // Cluster color.
   TGCheckButton *fDisplayTracks;    // Track control.
 
-  ClassDef(AliEveTRDModuleEditor,1); // Editor for AliEveTRDModule.
+  AliEveTRDModuleEditor(const AliEveTRDModuleEditor&);            // Not implemented
+  AliEveTRDModuleEditor& operator=(const AliEveTRDModuleEditor&); // Not implemented
+
+  ClassDef(AliEveTRDModuleEditor, 0); // Editor for AliEveTRDModule.
 };
 
 #endif
index 7af59b08de0abcc35dce44f277a25a5e24f9ba60..4d62d8a3bd311070b72c15704a5592f140132dc7 100644 (file)
@@ -41,10 +41,6 @@ class AliEveTRDChamber : public TEveElement, public AliEveTRDModule
 {
   friend class AliEveTRDDigits;
 
-private:
-  AliEveTRDChamber(const AliEveTRDChamber&);            // Not implemented.
-  AliEveTRDChamber& operator=(const AliEveTRDChamber&); // Not implemented.
-
 public:
 
   AliEveTRDChamber(Int_t det=0);
@@ -81,7 +77,11 @@ protected:
   AliTRDpadPlane *fPadPlane; // pad plane object
   AliTRDgeometry *fGeo;      // TRD geometry
 
-  ClassDef(AliEveTRDChamber,1); // Holder for TRD chamber data
+private:
+  AliEveTRDChamber(const AliEveTRDChamber&);            // Not implemented.
+  AliEveTRDChamber& operator=(const AliEveTRDChamber&); // Not implemented.
+
+  ClassDef(AliEveTRDChamber, 0); // Holder for TRD chamber data
 };
 
 
@@ -100,10 +100,10 @@ public:
   void UpdateLeaves();
   void UpdateNode();
 
-  List_i begin(){return fChildren.begin();}
-  List_i end(){return fChildren.end();}
+  List_i begin() { return fChildren.begin(); }
+  List_i end()   { return fChildren.end(); }
 
-  ClassDef(AliEveTRDNode, 1);
+  ClassDef(AliEveTRDNode, 0);
 };
 
 #endif
index 4309816b39b435f03da1546128d81f9838408ae0..e8368df0dff8e0b7d933cfb4596b3712db32a29c 100644 (file)
@@ -45,8 +45,6 @@
 #pragma link C++ class AliEveTPCSectorData::RowIterator;
 #pragma link C++ class AliEveTPCSectorData::SegmentInfo;
 
-#pragma link C++ class AliEveTPCSectorData::PadRowHack;
-
 #pragma link C++ class AliEveTPCSectorViz+;
 #pragma link C++ class AliEveTPCSectorVizEditor+;
 #pragma link C++ class AliEveTPCSector2D+;
index b0e7536b68a7c30d0fc793ac5a807f13bef51cb5..e7939a86c6d9715de20c1f5cbdb39b8222ca63f3 100644 (file)
@@ -45,9 +45,6 @@ AliEveHOMERManagerEditor::AliEveHOMERManagerEditor(const TGWindow *p, Int_t widt
 
 }
 
-AliEveHOMERManagerEditor::~AliEveHOMERManagerEditor()
-{}
-
 /******************************************************************************/
 
 void AliEveHOMERManagerEditor::SetModel(TObject* obj)
@@ -70,6 +67,7 @@ void AliEveHOMERManagerEditor::SetModel(TObject* obj)
 
 void AliEveHOMERManagerEditor::DoButt()
 {
-  // Connects to HOMER sources -> to HLT
+  // Connects to HOMER sources -> to HLT.
+
   fM->ConnectHOMER();
 }
index 0b167c5f4d95e2353de1471ef3f68a3e8ffdf25d..2b53f8ff6fb12da76699f666451978fec28b04f3 100644 (file)
@@ -21,26 +21,25 @@ class AliEveHOMERManager;
 
 class AliEveHOMERManagerEditor : public TGedFrame
 {
-private:
-  AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&);            // Not implemented
-  AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
-
-protected:
-  AliEveHOMERManager* fM; // fModel dynamic-casted to AliEveHOMERManagerEditor
-
-  // Declare widgets
-  TGTextButton  *fButt;
-
 public:
   AliEveHOMERManagerEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, UInt_t options = kChildFrame, Pixel_t back=GetDefaultFrameBackground());
-  virtual ~AliEveHOMERManagerEditor();
+  virtual ~AliEveHOMERManagerEditor() {}
 
   virtual void SetModel(TObject* obj);
 
   // Declare callback/slot methods
   void DoButt();
 
+protected:
+  AliEveHOMERManager  *fM; // Model object.
+
+  TGTextButton     *fButt; // Button to connect to HOMER.
+
+private:
+  AliEveHOMERManagerEditor(const AliEveHOMERManagerEditor&);            // Not implemented
+  AliEveHOMERManagerEditor& operator=(const AliEveHOMERManagerEditor&); // Not implemented
+
   ClassDef(AliEveHOMERManagerEditor, 0); // Editor for AliEveHOMERManager
-}; // endclass AliEveHOMERManagerEditor
+};
 
 #endif
index 9770c4e21371cc81134cbe9f0d792c9ff8ef878e..a6f83a0f861a82230f9e70607c72141ad9b8f98a 100644 (file)
@@ -19,10 +19,6 @@ class AliHLTHOMERSourceDesc;
 class AliEveHOMERSource : public TEveElement,
                          public TNamed
 {
-private:
-  AliEveHOMERSource(const AliEveHOMERSource&);            // Not implemented
-  AliEveHOMERSource& operator=(const AliEveHOMERSource&); // Not implemented
-
 public:
   struct SourceId
   {
@@ -67,11 +63,7 @@ public:
     SourceState(Bool_t state) : fState(state), fHandle(0) {}
   };
 
-protected:
-  const SourceId    *fSrcId;
-        SourceState *fSrcState;
 
-public:
   AliEveHOMERSource(const Text_t* n="HOMER Source", const Text_t* t="");
   virtual ~AliEveHOMERSource() {}
 
@@ -86,7 +78,15 @@ public:
   virtual Bool_t SingleRnrState() const { return kTRUE; }
   virtual void   SetRnrState(Bool_t rnr);
 
-  ClassDef(AliEveHOMERSource, 1);
-}; // endclass AliEveHOMERSource
+protected:
+  const SourceId    *fSrcId;
+        SourceState *fSrcState;
+
+private:
+  AliEveHOMERSource(const AliEveHOMERSource&);            // Not implemented
+  AliEveHOMERSource& operator=(const AliEveHOMERSource&); // Not implemented
+
+  ClassDef(AliEveHOMERSource, 0); // Description of an HOMER source.
+};
 
 #endif
index c42e204b01c39837b429d23ff20ae4549af0ab69..6e710331f26dcb9d81885b2f8ca5baf5afa77498 100644 (file)
@@ -21,18 +21,6 @@ class AliEveHOMERSourceMap;
 
 class AliEveHOMERSourceList : public TEveElementList
 {
-private:
-  AliEveHOMERSourceList(const AliEveHOMERSourceList&);            // Not implemented
-  AliEveHOMERSourceList& operator=(const AliEveHOMERSourceList&); // Not implemented
-
-protected:
-  //SourceMap_t       fByType;
-  //ESourceGrouping_e fView;
-  //Bool_t            fDefaultState;
-
-  AliEveHOMERManager   *fManager;
-  AliEveHOMERSourceMap *fSrcMap;
-
 public:
   AliEveHOMERSourceList(const Text_t* n="HOMER Source List", const Text_t* t="");
   virtual ~AliEveHOMERSourceList();
@@ -52,7 +40,19 @@ public:
   //void SelectAll();   // *MENU*
   //void DeselectAll(); // *MENU*
 
-  ClassDef(AliEveHOMERSourceList, 1);
-}; // endclass AliEveHOMERSourceList
+protected:
+  //SourceMap_t       fByType;
+  //ESourceGrouping_e fView;
+  //Bool_t            fDefaultState;
+
+  AliEveHOMERManager   *fManager;
+  AliEveHOMERSourceMap *fSrcMap;
+
+private:
+  AliEveHOMERSourceList(const AliEveHOMERSourceList&);            // Not implemented
+  AliEveHOMERSourceList& operator=(const AliEveHOMERSourceList&); // Not implemented
+
+  ClassDef(AliEveHOMERSourceList, 0); // Interface to a list of HOMER sourcces.
+};
 
 #endif
index b0bf850fbd857efa17f9a1fe2a2205ce30de532d..4d2573eb46e584eb2859eaa296d552499d6f9ef8 100644 (file)
@@ -19,6 +19,8 @@
 class AliEveHOMERSourceMap : public TNamed
 {
 protected:
+  // --- Inner structs ---
+
   struct iterator_imp_base
   {
     virtual ~iterator_imp_base() {}
@@ -36,6 +38,8 @@ protected:
   };
 
 public:
+  // --- Inner structs ---
+
   struct iterator
   {
     iterator_imp_base* m_imp;
@@ -65,17 +69,11 @@ public:
 
   iterator begin() { return iterator(iterator_imp_begin()); }
   iterator end()   { return iterator(iterator_imp_end()); }
-  
+
   enum ESourceGrouping_e { kSG_ByDet, kSG_ByType };
 
-protected:
-  ESourceGrouping_e fGrouping; // Not used so far ...
+  // --- Interface ---
 
-  virtual iterator_imp_base* iterator_imp_new()   = 0; // Not used so far ...
-  virtual iterator_imp_base* iterator_imp_begin() = 0;
-  virtual iterator_imp_base* iterator_imp_end()   = 0;
-
-public:
   AliEveHOMERSourceMap(ESourceGrouping_e grouping);
   virtual ~AliEveHOMERSourceMap() {}
 
@@ -85,13 +83,27 @@ public:
 
   void PrintXXX();
 
-  ClassDef(AliEveHOMERSourceMap, 0);
+
+protected:
+  ESourceGrouping_e fGrouping; // Not used so far ...
+
+  virtual iterator_imp_base* iterator_imp_new()   = 0; // Not used so far ...
+  virtual iterator_imp_base* iterator_imp_begin() = 0;
+  virtual iterator_imp_base* iterator_imp_end()   = 0;
+
+  ClassDef(AliEveHOMERSourceMap, 0); // A map of HOMER sources.
 };
 
 /******************************************************************************/
 
 class AliEveHOMERSourceMapByDet : public AliEveHOMERSourceMap
 {
+public:
+  AliEveHOMERSourceMapByDet(ESourceGrouping_e grouping);
+  virtual ~AliEveHOMERSourceMapByDet() {}
+
+  virtual void FillMap(TList* handles, Bool_t def_state);
+
 protected:
   typedef std::map<AliEveHOMERSource::SourceId,
                   AliEveHOMERSource::SourceState,
@@ -129,19 +141,20 @@ protected:
   virtual iterator_imp_base* iterator_imp_begin() { return new iterator_imp(fMap.begin()); }
   virtual iterator_imp_base* iterator_imp_end()   { return new iterator_imp(fMap.end());   }
 
-public:
-  AliEveHOMERSourceMapByDet(ESourceGrouping_e grouping);
-  virtual ~AliEveHOMERSourceMapByDet() {}
-
-  virtual void FillMap(TList* handles, Bool_t def_state);
 
-  // ClassDef(AliEveHOMERSourceMapByDet, 1);
+  // ClassDef(AliEveHOMERSourceMapByDet, 0);
 };
 
 /******************************************************************************/
 
 class AliEveHOMERSourceMapByType : public AliEveHOMERSourceMap
 {
+public:
+  AliEveHOMERSourceMapByType(ESourceGrouping_e grouping);
+  virtual ~AliEveHOMERSourceMapByType() {}
+
+  virtual void FillMap(TList* handles, Bool_t def_state);
+
 protected:
   typedef std::map<AliEveHOMERSource::SourceId,
                   AliEveHOMERSource::SourceState,
@@ -179,13 +192,7 @@ protected:
   virtual iterator_imp_base* iterator_imp_begin() { return new iterator_imp(fMap.begin()); }
   virtual iterator_imp_base* iterator_imp_end()   { return new iterator_imp(fMap.end());   }
 
-public:
-  AliEveHOMERSourceMapByType(ESourceGrouping_e grouping);
-  virtual ~AliEveHOMERSourceMapByType() {}
-
-  virtual void FillMap(TList* handles, Bool_t def_state);
-
-  // ClassDef(AliEveHOMERSourceMapByType, 1);
+  // ClassDef(AliEveHOMERSourceMapByType, 0);
 };
 
 #endif