]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removal of useless dependencies via forward declarations
authoregangler <egangler@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Oct 2000 13:51:57 +0000 (13:51 +0000)
committeregangler <egangler@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 3 Oct 2000 13:51:57 +0000 (13:51 +0000)
MUON/AliMUONClusterFinderVS.cxx
MUON/AliMUONClusterFinderVS.h
MUON/AliMUONPoints.cxx
MUON/AliMUONPoints.h
MUON/AliMUONSegmentationV0.h
MUON/AliMUONSegmentationV01.h
MUON/AliMUONTrack.h
MUON/AliMUONTriggerLut.h
MUON/Makefile

index d5173d6d13a6509d77234c04ea49f4d7082ba549..fcf1af6aa6f7fafb9ca5852f67a836f027182386 100644 (file)
  **************************************************************************/
 /*
 $Log$
+Revision 1.9  2000/10/02 16:58:29  egangler
+Cleaning of the code :
+-> coding conventions
+-> void Streamers
+-> some useless includes removed or replaced by "class" statement
+
 Revision 1.8  2000/07/03 11:54:57  morsch
 AliMUONSegmentation and AliMUONHitMap have been replaced by AliSegmentation and AliHitMap in STEER
 The methods GetPadIxy and GetPadXxy of AliMUONSegmentation have changed name to GetPadI and GetPadC.
@@ -73,6 +79,7 @@ Revised and extended SplitByLocalMaxima method (Isabelle Chevrot):
 #include "AliMUONRawCluster.h"
 #include "AliSegmentation.h"
 #include "AliMUONResponse.h"
+#include "AliMUONClusterInput.h"
 #include "AliMUONHitMapA1.h"
 #include "AliRun.h"
 #include "AliMUON.h"
index 12b6271876613695ccee1c4795065ba44d480e2c..e0b73cdf24684800c58514d580af748a1499f33e 100644 (file)
@@ -8,10 +8,11 @@
 ////////////////////////////////////////////////
 //  MUON Cluster Finder Class                 //
 ////////////////////////////////////////////////
+
 #include <TObject.h>
-#include "AliMUONHitMapA1.h"
-#include "AliMUONClusterInput.h"
 
+class AliMUONClusterInput;
+class AliMUONHitMapA1;
 class AliMUONResponse;
 class AliSegmentation;
 class TClonesArray;
index 2a6a6ac090de7ec4dc04cb88d23755b2c40f386e..25a764f0248b1777a3c5a9626dfbf055ed49f8f1 100644 (file)
@@ -14,6 +14,9 @@
  **************************************************************************/
 /*
 $Log$
+Revision 1.5  2000/10/02 21:28:09  fca
+Removal of useless dependecies via forward declarations
+
 Revision 1.4  2000/07/03 11:54:57  morsch
 AliMUONSegmentation and AliMUONHitMap have been replaced by AliSegmentation and AliHitMap in STEER
 The methods GetPadIxy and GetPadXxy of AliMUONSegmentation have changed name to GetPadI and GetPadC.
@@ -69,7 +72,7 @@ Log messages included
 #include <TPaveText.h>
 #include <TView.h>
 #include <TMath.h>
-
+#include <TMarker3DBox.h>
  
 ClassImp(AliMUONPoints)
 
index 1c552d29281ef707a5e7371636234d9a6b1c996e..5862d7d5bac6cdedd7184239f292bc186f617255 100644 (file)
@@ -10,8 +10,8 @@ class AliMUONDigit;
 class AliMUONHit;
 
 class TMatrix;
+class TMarker3DBox;
 
-#include <TMarker3DBox.h> // needed for Cint compilation of Streamer
 #include "AliPoints.h"
 
 class AliMUONPoints : public AliPoints {
index 8e1ac07a11cea4c1cb503a17b3b77202f844cb5c..17c4ee167b5f2caca4c793e7c71f7d104e4e01bd 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "AliSegmentation.h"
 
-#include "TF1.h"
+class TF1;
 
 //----------------------------------------------
 //
index 9f039be9dddac735aa5f8677c9bc6da5ce5389cb..f9a4a7680bbf79d69ee624a8aa74fdf28ab07637 100644 (file)
 //  Segmentation and Response classes version 01   //
 /////////////////////////////////////////////////////
 class AliMUON;
-class TArrayF;
-class TArrayI;
 class TObjArray;
 
-
-
 #include "AliMUONSegmentationV0.h"
-#include "TArrayI.h"
-#include "TArrayF.h"
+#include "TArrayI.h" // because the object, and not the pointer,
+#include "TArrayF.h" // belongs to the class
+
 
 class AliMUONSegmentationV01 :
 public AliMUONSegmentationV0 {
index f16d4f34c16d5dc7d01f82444d3b9192e0afbc1a..287345d1170305f65b11fef77e85200ac90e070b 100644 (file)
@@ -5,10 +5,9 @@
 
 /*$Id$*/
 
-#include <TROOT.h>
-#include <TObjArray.h>
-#include "AliMUONTrackParam.h"
+#include "AliMUONTrackParam.h" // object belongs to the class
 
+class TObjArray;
 class TClonesArray;
 class TVirtualFitter;
 class AliMUONEventReconstructor;
index ba232e63eee411643c0b5e509fe11a7618436c38..09537bb95e48346469d279deefa1c92c18db65ae 100644 (file)
@@ -2,7 +2,7 @@
 #define ALIMUONTRIGGERLUT_H
 
 #include "TNamed.h"
-#include "TH3.h" // needed by Streamer
+class TH3S;
 
 //----------------------------------------------
 class AliMUONTriggerLut : 
index 8449ee32a5ed6f5585f2c2f2ccaf312a562d74f2..4b6ac56bdd81be516fd2d22e848d353bffbca915 100644 (file)
@@ -36,8 +36,13 @@ SRCS         = AliMUONChamber.cxx AliMUONChamberTrigger.cxx \
 
 # C++ Headers
 
-HDRS          = $(SRCS:.cxx=.h) $(ROOTSYS)/include/TTree.h \
-               $(ROOTSYS)/include/TMatrix.h MUONLinkDef.h
+HDRS          = $(SRCS:.cxx=.h) \
+               $(ROOTSYS)/include/TF1.h \
+               $(ROOTSYS)/include/TH3.h \
+               $(ROOTSYS)/include/TMarker3DBox.h \
+               $(ROOTSYS)/include/TMatrix.h \
+               $(ROOTSYS)/include/TTree.h \
+               MUONLinkDef.h
 
 # Library dictionary