From 01eed601b20d667beaecbb43ebbe3c52fb61736e Mon Sep 17 00:00:00 2001 From: cvetan Date: Sat, 26 Jul 2008 21:46:14 +0000 Subject: [PATCH] Reducing the information printed in the log file. --- STEER/AliCentralTrigger.cxx | 13 +++++++------ STEER/AliTriggerDetector.cxx | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/STEER/AliCentralTrigger.cxx b/STEER/AliCentralTrigger.cxx index 8aa76fd61a2..0d7c9e1e702 100644 --- a/STEER/AliCentralTrigger.cxx +++ b/STEER/AliCentralTrigger.cxx @@ -210,15 +210,16 @@ Bool_t AliCentralTrigger::RunTrigger( AliRunLoader* runLoader, const char *detec TStopwatch stopwatch; stopwatch.Start(); + AliInfo( Form(" Triggering Detectors: %s \n", GetDetectors().Data() ) ); + AliInfo( Form(" Detectors with digits: %s \n", detectors ) ); + // Process each event for( Int_t iEvent = 0; iEvent < runLoader->GetNumberOfEvents(); iEvent++ ) { - AliInfo( Form(" ***** Processing event %d *****\n", iEvent) ); + AliInfo( Form("Processing event %d", iEvent) ); runLoader->GetEvent( iEvent ); // Get detectors involve TString detStr = GetDetectors(); - AliInfo( Form(" Triggering Detectors: %s \n", detStr.Data() ) ); TString detWithDigits = detectors; - AliInfo( Form(" Detectors with digits: %s \n", detWithDigits.Data() ) ); TObjArray* detArray = runLoader->GetAliRun()->Detectors(); // Reset Mask fClassMask = 0; @@ -232,13 +233,13 @@ Bool_t AliCentralTrigger::RunTrigger( AliRunLoader* runLoader, const char *detec if( IsSelected(det->GetName(), detStr) && IsSelected(det->GetName(), detWithDigits) ) { - AliInfo( Form("Triggering from digits for %s", det->GetName() ) ); + AliDebug(1,Form("Triggering from digits for %s", det->GetName() ) ); AliTriggerDetector* trgdet = det->CreateTriggerDetector(); trgdet->CreateInputs(fConfiguration->GetInputs()); TStopwatch stopwatchDet; stopwatchDet.Start(); trgdet->Trigger(); - AliInfo( Form("Execution time for %s: R:%.2fs C:%.2fs", + AliDebug(1, Form("Execution time for %s: R:%.2fs C:%.2fs", det->GetName(), stopwatchDet.RealTime(), stopwatchDet.CpuTime() ) ); trgdetArray.AddLast( trgdet ); @@ -281,7 +282,7 @@ Bool_t AliCentralTrigger::RunTrigger( AliRunLoader* runLoader, const char *detec // Save trigger mask tree->Fill(); - AliInfo( Form("**************** Central Trigger Class Mask:0x%X", fClassMask ) ); + AliInfo( Form("Trigger Class Mask:0x%X", fClassMask ) ); } // end event loop Reset(); diff --git a/STEER/AliTriggerDetector.cxx b/STEER/AliTriggerDetector.cxx index f3cb1b515ac..b1d4be4b916 100644 --- a/STEER/AliTriggerDetector.cxx +++ b/STEER/AliTriggerDetector.cxx @@ -105,7 +105,7 @@ void AliTriggerDetector::CreateInputs(const TObjArray &inputs) delete availInputs->Remove(tempObj); fInputs.AddAt( inp, tempIndex ); inp->Enable(); - AliInfo(Form("Trigger input (%s) is found in the CTP configuration. Therefore it is enabled for trigger detector (%s)", + AliDebug(1,Form("Trigger input (%s) is found in the CTP configuration. Therefore it is enabled for trigger detector (%s)", inp->GetInputName().Data(),name.Data())); } else { @@ -119,7 +119,7 @@ void AliTriggerDetector::CreateInputs(const TObjArray &inputs) if (inp->GetSignature() == -1 && inp->GetMask() == 0) { inp->Enable(); - AliInfo(Form("Trigger input (%s) was not found in the CTP configuration. Therefore it will be run in a stand-alone mode", + AliDebug(1,Form("Trigger input (%s) was not found in the CTP configuration. Therefore it will be run in a stand-alone mode", inp->GetInputName().Data())); } } -- 2.39.3