if (!fTrackHist[region])
return;
-
+
THnSparse* grid = fTrackHist[region]->GetGrid(step1)->GetGrid();
THnSparse* target = fTrackHist[region]->GetGrid(step2)->GetGrid();
target->SetBinContent(bins, value);
target->SetBinError(bins, error);
}
+
+ Printf("AliUEHist::CorrectTracks: Corrected from %f to %f entries. Correction histogram: %f entries (integral: %f)", grid->GetEntries(), target->GetEntries(), (trackCorrection) ? trackCorrection->GetEntries() : -1.0, (trackCorrection) ? trackCorrection->Integral() : -1.0);
}
//____________________________________________________________________
}
}
}
+
+ Printf("AliUEHist::CorrectEvents: Corrected from %f to %f entries. Correction histogram: %f entries (integral: %f)", grid->GetEntries(), target->GetEntries(), (eventCorrection) ? eventCorrection->GetEntries() : -1.0, (eventCorrection) ? eventCorrection->Integral() : -1.0);
}
//____________________________________________________________________