cosmetics on debug print out
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Mar 2011 13:08:07 +0000 (13:08 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 7 Mar 2011 13:08:07 +0000 (13:08 +0000)
PWG1/TRD/AliTRDinfoGen.cxx

index 3eb74420c58c527c5cb31c502eb144a329e04a83..122f5448deb0b1ef5d1a5c04e0cad6a4b5aa7f48 100644 (file)
@@ -332,8 +332,7 @@ void AliTRDinfoGen::UserExec(Option_t *){
     AliInfo(Form("OCDB :  Loc[%s] Run[%d] TB[%d]", fOCDB.Data(), ocdb->GetRun(), AliTRDtrackerV1::GetNTimeBins()));\r
 \r
     // load reco param list from OCDB\r
-    AliInfo(Form("Initializing TRD reco params for EventSpecie[%d]...",\r
-      fESDev->GetEventSpecie()));\r
+    AliInfo("Initializing TRD reco params ...");\r
     fgReconstructor = new AliTRDReconstructor();\r
     if(!(obj = ocdb->Get(AliCDBPath("TRD", "Calib", "RecoParam")))){\r
       AliError("RECO PARAM failed initialization.");\r
@@ -354,14 +353,14 @@ void AliTRDinfoGen::UserExec(Option_t *){
       Int_t es(reco->GetEventSpecie());\r
       if(!(es&fESDev->GetEventSpecie())) continue;\r
       fgReconstructor->SetRecoParam(reco);\r
-      if(AliLog::GetDebugLevel("PWG1/TRD", "AliTRDinfoGen")>1) reco->Dump();\r
+      if(AliLog::GetDebugLevel("PWG1/TRD", "AliTRDinfoGen")>2) reco->Dump();\r
       TString s;\r
       if(es&AliRecoParam::kLowMult){ s="LowMult"; h->Fill(0);}\r
       else if(es&AliRecoParam::kHighMult){ s="HighMult"; h->Fill(1);}\r
       else if(es&AliRecoParam::kCosmic){ s="Cosmic"; h->Fill(2);}\r
       else if(es&AliRecoParam::kCalib){ s="Calib"; h->Fill(3);}\r
       else s="Unknown";\r
-      AliDebug(2, Form("Using reco param \"%s\" for event %d.", s.Data(), fESDev->GetEventNumberInFile()));\r
+      AliDebug(1, Form("Using reco param \"%s\" for event %d.", s.Data(), fESDev->GetEventNumberInFile()));\r
       break;\r
     }\r
   }\r