Bug in AliMUONDigitizerv1::Exec clear list of hits for each track
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Mar 2003 16:11:23 +0000 (16:11 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 7 Mar 2003 16:11:23 +0000 (16:11 +0000)
MUON/AliMUONDigitizerv1.cxx

index 194150a8f1666e019b0d2afb5b0591c7e0b1d141..e0dd5a16328a87d8c634b7858ed3b2c7b2ad7b85 100644 (file)
@@ -228,7 +228,7 @@ void AliMUONDigitizerv1::Exec(Option_t* option)
       Int_t ntracks = (Int_t) treeH->GetEntries();
       for (itrack = 0; itrack < ntracks; itrack++) {
        if (GetDebug()>2) cerr<<"AliMUONDigitizerv1::Exec itrack = "<<itrack<<endl;
-       fHits->Delete();
+       fHits->Clear();
        branchHits->GetEntry(itrack);
        //
        //  Loop over hits