]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONReconstHit.h
Initialize arrays in constructor (Ivana)
[u/mrichter/AliRoot.git] / MUON / AliMUONReconstHit.h
index ee2100119b63242e560a4cfc4bb14e6ee7bc0578..4749cde7c81f13f8d09ea78c976e54f02a6afc4d 100644 (file)
@@ -5,27 +5,27 @@
  * See cxx source for full Copyright notice                               */
 
 /* $Id$ */
+// Revision of includes 07/05/2004
 
 #include <TObject.h>
 
-class AliMUONReconstHit : public TObject {
-public:
+class AliMUONReconstHit : public TObject 
+{
+  public:
+    AliMUONReconstHit();
+    AliMUONReconstHit(Int_t *idx, Float_t *x, Float_t *y);
+    virtual ~AliMUONReconstHit() {}
+   
+  private:
 
-  // correlation starts from the 1-st cathode  
-  // last number in arrays corresponds to cluster on 1-st cathode
+    // correlation starts from the 1-st cathode  
+    // last number in arrays corresponds to cluster on 1-st cathode
 
-   Int_t       fCorrelIndex[4];  // entry number in TreeR for the associated 
+    Int_t       fCorrelIndex[4];  // entry number in TreeR for the associated 
                                  // cluster candidates on the 2-nd cathode
-   Float_t     fX[4]  ;          // X of clusters on the 2-nd cathode  
-   Float_t     fY[4]  ;          // Y of clusters
+    Float_t     fX[4]  ;          // X of clusters on the 2-nd cathode  
+    Float_t     fY[4]  ;          // Y of clusters
 
-public:
-   AliMUONReconstHit() {
-       fCorrelIndex[0]=fCorrelIndex[1]=fCorrelIndex[2]=fCorrelIndex[3]=0;
-       fX[0]=fX[1]=fX[2]=fX[3]=0; fY[0]=fY[1]=fY[2]=fY[3]=0; 
-   }
-   AliMUONReconstHit(Int_t *idx, Float_t *x, Float_t *y);
-   virtual ~AliMUONReconstHit() {}
-   ClassDef(AliMUONReconstHit,1)  // Reconstructed Hit Object for set:MUON
+  ClassDef(AliMUONReconstHit,1)  // Reconstructed Hit Object for set:MUON
 };
 #endif