Coming back to splitting. Adding copy constructor to AliMUONTrack (Christian Finck)
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Dec 2003 17:13:35 +0000 (17:13 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Dec 2003 17:13:35 +0000 (17:13 +0000)
MUON/AliMUONData.cxx
MUON/AliMUONTrack.cxx

index 77c59fd..1d494de 100644 (file)
@@ -318,7 +318,7 @@ void AliMUONData::MakeBranch(Option_t* option)
       Info("MakeBranch","Branch %s is already in tree.",GetName());
       return ;
     }
-    branch = TreeH()->Branch(branchname,&fHits,kBufferSize,fSplitLevel);
+    branch = TreeH()->Branch(branchname,&fHits,kBufferSize);
     Info("MakeBranch","Making Branch %s for hits \n",branchname);
   }  
   
@@ -377,7 +377,7 @@ void AliMUONData::MakeBranch(Option_t* option)
        Info("MakeBranch","Branch %s is already in tree.",GetName());
        return;
       }
-      branch = TreeR()->Branch(branchname, &((*fRawClusters)[i]),kBufferSize,fSplitLevel);
+      branch = TreeR()->Branch(branchname, &((*fRawClusters)[i]),kBufferSize);
       Info("MakeBranch","Making Branch %s for rawcluster in detection plane %d\n",branchname,i+1);
     }
   }
@@ -390,7 +390,7 @@ void AliMUONData::MakeBranch(Option_t* option)
     branch = 0x0;
     
     if (fGlobalTrigger == 0x0) {
-      fGlobalTrigger = new TClonesArray("AliMUONGlobalTrigger",fSplitLevel); 
+      fGlobalTrigger = new TClonesArray("AliMUONGlobalTrigger"); 
       fNglobaltrigger = 0;
     }
     branch = TreeR()->GetBranch(branchname);
@@ -398,7 +398,7 @@ void AliMUONData::MakeBranch(Option_t* option)
       Info("MakeBranch","Branch %s is already in tree.",GetName());
       return ;
     }
-    branch = TreeR()->Branch(branchname, &fGlobalTrigger, kBufferSize,fSplitLevel);
+    branch = TreeR()->Branch(branchname, &fGlobalTrigger, kBufferSize);
     Info("MakeBranch", "Making Branch %s for Global Trigger\n",branchname);
     
     //
@@ -416,7 +416,7 @@ void AliMUONData::MakeBranch(Option_t* option)
       Info("MakeBranch","Branch %s is already in tree.",GetName());
       return;
     }
-    branch = TreeR()->Branch(branchname, &fLocalTrigger, kBufferSize,fSplitLevel);
+    branch = TreeR()->Branch(branchname, &fLocalTrigger, kBufferSize);
     Info("MakeBranch", "Making Branch %s for Global Trigger\n",branchname);  
   }
   
index 251b428..866467f 100644 (file)
@@ -105,7 +105,13 @@ AliMUONTrack::~AliMUONTrack()
   //__________________________________________________________________________
 AliMUONTrack::AliMUONTrack (const AliMUONTrack& MUONTrack):TObject(MUONTrack)
 {
-// Dummy copy constructor
+  fEventReconstructor =  MUONTrack.fEventReconstructor;
+  fTrackHitsPtr =  MUONTrack.fTrackHitsPtr;
+  fTrackParamAtVertex = MUONTrack.fTrackParamAtVertex;
+  fNTrackHits =  MUONTrack.fNTrackHits;
+  fFitMCS     =  MUONTrack.fFitMCS;
+  fFitNParam  =  MUONTrack.fFitNParam;
+  fFitFMin    =  MUONTrack.fFitFMin;
 }
 
   //__________________________________________________________________________