Fix effc++ warnings.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Oct 2008 12:57:12 +0000 (12:57 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Oct 2008 12:57:12 +0000 (12:57 +0000)
EVE/EveBase/AliEveMacroExecutorWindow.cxx
EVE/EveBase/AliEveTrackCounter.cxx
EVE/EveDet/AliEveEMCALSModuleData.cxx
EVE/EveHLT/AliEveHOMERXMLHandler.cxx

index 8f2d33a..c3bb19c 100644 (file)
@@ -51,6 +51,10 @@ public:
 protected:
   static TGGC    *gfGC;
   static TGFont  *gfFont;
+
+private:
+  AliEveMEWListBox(const AliEveMEWListBox&);            // Not implemented
+  AliEveMEWListBox& operator=(const AliEveMEWListBox&); // Not implemented
 };
 
 TGGC   *AliEveMEWListBox::gfGC   = 0;
@@ -59,9 +63,6 @@ TGFont *AliEveMEWListBox::gfFont = 0;
 
 class AliEveMEWEditor : public TGedEditor
 {
-protected:
-  AliEveMacroExecutorWindow* fMEW;
-
 public:
   AliEveMEWEditor(AliEveMacroExecutorWindow* w) : TGedEditor(0), fMEW(w) {}
   virtual ~AliEveMEWEditor() {}
@@ -74,6 +75,11 @@ public:
   {
     SetModel(fPad, fModel, kButton1Down);
   }
+protected:
+  AliEveMacroExecutorWindow* fMEW;
+private:
+  AliEveMEWEditor(const AliEveMEWEditor&);            // Not implemented
+  AliEveMEWEditor& operator=(const AliEveMEWEditor&); // Not implemented
 };
 
 //______________________________________________________________________________
@@ -86,7 +92,8 @@ ClassImp(AliEveMacroExecutorWindow)
 AliEveMacroExecutorWindow::AliEveMacroExecutorWindow(AliEveMacroExecutor* master) :
   TGMainFrame(gClient->GetRoot()), fM(master),
   fMainFrame(0), fCtrlFrame(0), fListBox(0), fEditor(0),
-  fSelectTags(0)
+  fSelectTags(0),
+  fBoxContents()
 {
   // Constructor.
 
index 4578eaf..8c1ab02 100644 (file)
@@ -40,6 +40,7 @@ AliEveTrackCounter::AliEveTrackCounter(const Text_t* name, const Text_t* title)
 
    fBadLineStyle (6),
    fClickAction  (kCA_ToggleTrack),
+   fEventId      (-1),
    fAllTracks    (0),
    fGoodTracks   (0),
    fTrackLists   ()
index e2e3a76..28c3a36 100644 (file)
@@ -46,6 +46,7 @@ AliEveEMCALSModuleData::AliEveEMCALSModuleData(Int_t sm,AliEMCALGeometry* geom,
   fNDigits(0),
   fNClusters(0),
   fNHits(0),
+  fPhiTileSize(0), fEtaTileSize(0),
   fHitArray(0),
   fDigitArray(0),
   fClusterArray(0),
@@ -72,6 +73,7 @@ AliEveEMCALSModuleData::AliEveEMCALSModuleData(Int_t sm,AliEMCALGeometry* geom,
   fNDigits(esmdata.fNDigits),
   fNClusters(esmdata.fNClusters),
   fNHits(esmdata.fNHits),
+  fPhiTileSize(esmdata.fPhiTileSize), fEtaTileSize(esmdata.fEtaTileSize),
   fHitArray(esmdata.fHitArray),
   fDigitArray(esmdata.fDigitArray),
   fClusterArray(esmdata.fClusterArray),
index e4b4751..6ba7d55 100644 (file)
@@ -312,7 +312,8 @@ TString AliEveHOMERXMLHandler::GetNodename( TString xmlHostname ) {
   TXMLNode * node = NULL;
   TXMLNode * prevNode = fRootNode->GetChildren();
 
-  while ( node = prevNode->GetNextNode() ) {
+  while ((node = prevNode->GetNextNode()) != 0)
+  {
     prevNode = node;
 
     // -- Find only "Node" nodes, otherwise continue