]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONTriggerChamberEfficiency.cxx
Macro to display the output of SDD task in QA-train
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerChamberEfficiency.cxx
index 08c38a3282bee4aea7b49e493dfa9cdb3676c3e8..34f3cfd6918c46232716d54bca1ae6b65c3f9dc9 100755 (executable)
@@ -248,7 +248,7 @@ AliMUONTriggerChamberEfficiency::FillFromList(Bool_t useMeanValues)
        debugString += Form(" index %i",index);
        AliDebug(5,debugString.Data());
 
-       if ( useMeanValues ){
+       if ( useMeanValues && rebuildEfficiency ){
          Int_t currChamber = ich + AliMpConstants::NofTrackingChambers();
          histoName = fEfficiencyMap->GetHistoName(AliMUONTriggerEfficiencyCells::kHboardCount, hType, ich);
          TH1F* auxHistoNum = (TH1F*)fEfficiencyMap->GetHistoList()->FindObject(histoName.Data())->Clone("tempHistoNum");