]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed forward declarations.
authorjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Oct 2000 15:51:59 +0000 (15:51 +0000)
committerjbarbosa <jbarbosa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Oct 2000 15:51:59 +0000 (15:51 +0000)
Moved constructor into implementation file.

RICH/AliRICHRawCluster.cxx
RICH/AliRICHRawCluster.h

index 270424b6deed718198af23e75ca20171100e86cd..402070fd5ff51023d385227307bc0bda7c05682b 100644 (file)
 
 /*
   $Log$
+  Revision 1.1  2000/06/12 15:27:26  jbarbosa
+  Cleaned up version.
+
 */
 
 
 #include "AliRICHRawCluster.h"
 
+#include <TMath.h>
+#include <TArrayF.h>
+
 
 ClassImp(AliRICHRawCluster)
+
+AliRICHRawCluster :: AliRICHRawCluster() 
+{
+  fTracks[0]=fTracks[1]=fTracks[2]=-1; 
+  fQ=0; fX=fY=0; fMultiplicity=0;
+  for (int k=0;k<50;k++) {
+    fIndexMap[k]=-1;
+    fOffsetMap[k]=0;
+    fContMap[k]=0;
+    fPhysicsMap[k]=-1;
+    fCtype=-1;
+  }
+  fNcluster[0]=fNcluster[1]=-1;
+}
+
 Int_t AliRICHRawCluster::Compare(TObject *obj)
 {
 
index bf25987748e004263422eb5fa01066995d7903a3..907abd577a5c4220e8b2462633f0a040d5e4c767 100644 (file)
@@ -27,18 +27,8 @@ public:
     Int_t       fClusterType;    //??
     Int_t       fCtype;          //CL0, CL1, etc...
  public:
-    AliRICHRawCluster() {
-       fTracks[0]=fTracks[1]=fTracks[2]=-1; 
-       fQ=0; fX=fY=0; fMultiplicity=0;
-       for (int k=0;k<50;k++) {
-           fIndexMap[k]=-1;
-           fOffsetMap[k]=0;
-           fContMap[k]=0;
-           fPhysicsMap[k]=-1;
-           fCtype=-1;
-       }
-       fNcluster[0]=fNcluster[1]=-1;
-    }
+    
+    AliRICHRawCluster();
     virtual ~AliRICHRawCluster() {}
     
     Float_t GetRadius() {return TMath::Sqrt(fX*fX+fY*fY);}