QA works during reconstruction in and outside the event loop
[u/mrichter/AliRoot.git] / STEER / AliQADataMaker.cxx
index dcd0746222df53c52388b96815940296bfaa332d..80295991569a3648bb1004df77659228b3ac8135 100644 (file)
@@ -91,7 +91,7 @@ void AliQADataMaker::DefaultEndOfDetectorCycle(AliQA::TASKINDEX_t task)
 {
        // this method must be oveloaded by detectors
        // sets the QA result to Fatal
-       AliQA::Instance(AliQA::GetDetName(GetName())) ;
+       AliQA::Instance(AliQA::GetDetIndex(GetName())) ;
        AliQA * qa = AliQA::Instance(task) ;
        qa->Set(AliQA::kFATAL) ; 
        AliQA::GetQAResultFile()->cd() ;