propagate modifications from time container to the tracklet debug stream
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Oct 2008 13:08:30 +0000 (13:08 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 29 Oct 2008 13:08:30 +0000 (13:08 +0000)
TRD/AliTRDseedV1.cxx

index 43792bc..60d4dc8 100644 (file)
@@ -368,9 +368,10 @@ Bool_t     AliTRDseedV1::AttachClustersIter(AliTRDtrackingChamber *chamber, Float_t
 
   AliTRDchamberTimeBin *layer = 0x0;
   if(fReconstructor->GetStreamLevel(AliTRDReconstructor::kTracker)>=7){
-    AliTRDtrackingChamber *ch = new AliTRDtrackingChamber(*chamber); 
+    AliTRDtrackingChamber ch(*chamber);
+    ch.SetOwner(); 
     (*AliTRDtrackerV1::DebugStreamer()) << "AttachClustersIter"
-      << "chamber.="   << ch
+      << "chamber.="   << &ch
       << "tracklet.="  << this
       << "\n"; 
   }