From e0176e97399c0bd5ad2a58a2fd2b7e2991d344a2 Mon Sep 17 00:00:00 2001 From: schutz Date: Fri, 9 Nov 2007 17:58:44 +0000 Subject: [PATCH] Do firs QA of raw; then Check QA of previous step; then reconstruct; the do QA of reconstructed objects --- STEER/AliReconstruction.cxx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/STEER/AliReconstruction.cxx b/STEER/AliReconstruction.cxx index b757bc05465..073d67c7f9f 100644 --- a/STEER/AliReconstruction.cxx +++ b/STEER/AliReconstruction.cxx @@ -577,6 +577,7 @@ Bool_t AliReconstruction::Run(const char* input) // set the input if (!input) input = fInput.Data(); + TString fileName(input); if (fileName.EndsWith("/")) { fRawReader = new AliRawReaderFile(fileName); @@ -612,6 +613,14 @@ Bool_t AliReconstruction::Run(const char* input) if (!MisalignGeometry(fLoadAlignData)) if (fStopOnError) return kFALSE; AliSysInfo::AddStamp("LoadGeom"); + //QA + AliQADataMakerSteer qas ; + if ( fRunQA && fRawReader) + qas.Run(fRawReader) ; + + // checking the QA of previous steps + CheckQA() ; + // local reconstruction if (!fRunLocalReconstruction.IsNull()) { if (!RunLocalReconstruction(fRunLocalReconstruction)) { @@ -720,9 +729,6 @@ Bool_t AliReconstruction::Run(const char* input) gSystem->GetProcInfo(&ProcInfo); AliInfo(Form("Current memory usage %d %d", ProcInfo.fMemResident, ProcInfo.fMemVirtual)); - // checking the QA of previous steps - CheckQA() ; - for (Int_t iEvent = 0; iEvent < fRunLoader->GetNumberOfEvents(); iEvent++) { if (fRawReader) fRawReader->NextEvent(); if ((iEvent < fFirstEvent) || ((fLastEvent >= 0) && (iEvent > fLastEvent))) { @@ -982,9 +988,6 @@ Bool_t AliReconstruction::Run(const char* input) //QA if ( fRunQA ) { - AliQADataMakerSteer qas ; - if (fRawReader) - qas.Run(AliQA::kRAWS, input) ; qas.Run(AliQA::kRECPOINTS) ; qas.Reset() ; qas.Run(AliQA::kESDS) ; -- 2.39.3