X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=TOF%2FAliTOFReconstructor.cxx;h=72473ff31e6a9bc8386b53c0da22698b6ac6ec55;hp=74fed57a157cea25cdf9c6ee435598bf5da6b375;hb=4ab6879608b6572fe1e06a2c438408d50a93c212;hpb=fa7358eb1e13269ffa63bc84fb6267fdb0519568 diff --git a/TOF/AliTOFReconstructor.cxx b/TOF/AliTOFReconstructor.cxx index 74fed57a157..72473ff31e6 100644 --- a/TOF/AliTOFReconstructor.cxx +++ b/TOF/AliTOFReconstructor.cxx @@ -47,13 +47,13 @@ ClassImp(AliTOFReconstructor) { // reconstruct clusters from digits - AliTOFClusterFinder *tofClus = new AliTOFClusterFinder(runLoader); - tofClus->Load(); + AliTOFClusterFinder tofClus(runLoader); + tofClus.Load(); for (Int_t iEvent = 0; iEvent < runLoader->GetNumberOfEvents(); iEvent++) { - tofClus->Digits2RecPoints(iEvent); + tofClus.Digits2RecPoints(iEvent); } - tofClus->UnLoad(); + tofClus.UnLoad(); }