histoName.ReplaceAll("Count","Eff");
effGraph->SetName(histoName.Data());
fEfficiencyObjects->AddAt(effGraph, index);
- AliDebug(5,Form("Adding object %s (%s/%s) at index %i",effGraph->GetName(),histoNum->GetName(),histoDen->GetName(),index));
- if ( useMeanValues ){
+ TString debugString = Form("Adding object %s",effGraph->GetName());
+ if ( histoDen ) debugString += Form(" (%s/%s)",histoNum->GetName(),histoDen->GetName());
+ debugString += Form(" index %i",index);
+ AliDebug(5,debugString.Data());
+
+ 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");
//
TGraphAsymmErrors* auxGraph = 0x0;
- if ( histoDen ) auxGraph = new TGraphAsymmErrors(histoNum,histoDen);
+ if ( histoDen ) auxGraph = new TGraphAsymmErrors(histoNum,histoDen,"cp");
else auxGraph = new TGraphAsymmErrors(histoNum);
Int_t npoints = histoNum->GetNbinsX();