]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Do firs QA of raw; then Check QA of previous step; then reconstruct; the do QA of...
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Nov 2007 17:58:44 +0000 (17:58 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Nov 2007 17:58:44 +0000 (17:58 +0000)
STEER/AliReconstruction.cxx

index b757bc054651275483118d119d81666ef90af15b..073d67c7f9f3a2fd89d6d6d9f39840a110bbe828 100644 (file)
@@ -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) ;