]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Change debug print-out
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Mar 2004 08:05:45 +0000 (08:05 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 22 Mar 2004 08:05:45 +0000 (08:05 +0000)
PHOS/AliPHOS.cxx
PHOS/AliPHOSPIDv1.cxx
PHOS/AliPHOSTrackSegmentMakerv1.cxx

index 9d6a0885af44eb769fad9bee1bb1823e77bf0703..2577290383de31b97e48b2cb2d3cc07a59eac3e8 100644 (file)
@@ -395,7 +395,7 @@ void AliPHOS::FillESD(AliESD* esd) const
       (dynamic_cast<AliPHOSTrackSegmentMaker *> (task))->SetESD(esd) ; 
   }
   rec->SetEventRange(0, -1) ; // do all the events
-  rec->ExecuteTask("deb all") ; 
+  rec->ExecuteTask("deb") ; 
 
   // Creates AliESDtrack from AliPHOSRecParticles 
   AliPHOSGetter *gime = AliPHOSGetter::Instance( (fLoader->GetRunLoader()->GetFileName()).Data() ) ;
@@ -404,6 +404,7 @@ void AliPHOS::FillESD(AliESD* esd) const
   Int_t nOfRecParticles = recParticles->GetEntries();
   for (Int_t recpart = 0 ; recpart < nOfRecParticles ; recpart++) {
     AliPHOSRecParticle * rp = dynamic_cast<AliPHOSRecParticle*>(recParticles->At(recpart));
+    rp->Print();
     AliESDtrack * et = new AliESDtrack() ; 
     // fills the ESDtrack
     Double_t xyz[3];
@@ -480,7 +481,7 @@ void AliPHOS::Reconstruct() const
       task->SetActive(kFALSE) ; 
   }
   rec->SetEventRange(0, -1) ; // do all the events
-  rec->ExecuteTask() ; 
+  rec->ExecuteTask("deb") ; 
 }
 
 //____________________________________________________________________________
index 0d78494af885453e2346ad74367dc2eddce6d038..1a254054e8e5b4751d9ed033ec9f6e48744f6b74 100644 (file)
@@ -215,6 +215,8 @@ void  AliPHOSPIDv1::Exec(Option_t *option)
       fRecParticlesInRun += gime->RecParticles()->GetEntriesFast() ; 
     }
   }
+  if(strstr(option,"deb"))
+      PrintRecParticles(option);
   if(strstr(option,"tim")){
     gBenchmark->Stop("PHOSPID");
     Info("Exec", "took %f seconds for PID %f seconds per event", 
index 7e1b00fc0299fcb9af6ced97ced3bd68ec905c66..f58bf5e7a8c16eacb64c632fe2d2c5b5e6f3212f 100644 (file)
@@ -145,7 +145,6 @@ Float_t  AliPHOSTrackSegmentMakerv1::GetDistanceInPHOSPlane(AliPHOSEmcRecPoint *
   toofar = kTRUE ;
   if(emcClu->GetPHOSMod() == cpvClu->GetPHOSMod()){ 
 
-    Info("GetDistanceInPHOSPlane","%z",fESD);
     if (fESD != 0x0) {
       // Extrapolate the global track direction if any to CPV and find the closest track
       Int_t nTracks = fESD->GetNumberOfTracks();