You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (nevents != 0){
TH1D cutflow;
cutflow.SetName("cutflow");
cutflow.SetTitle("cutflow");
// iterate through the cutflow vector and fill the histogram with the
// .GetPass() values
for (auto cut = cutReports[scope_counter].begin();
cut != cutReports[scope_counter].end(); cut++) {
cutflow.SetBinContent(
std::distance(cutReports[scope_counter].begin(), cut) + 1,
cut->GetPass());
cutflow.GetXaxis()->SetBinLabel(
std::distance(cutReports[scope_counter].begin(), cut) + 1,
cut->GetName().c_str());
}
// store it in the output file
cutflow.Write();
}
Here, by scope_counter++ to loop, but the corresponding cutReport will be random in config.cxx
The text was updated successfully, but these errors were encountered:
if (nevents != 0){
TH1D cutflow;
cutflow.SetName("cutflow");
cutflow.SetTitle("cutflow");
// iterate through the cutflow vector and fill the histogram with the
// .GetPass() values
for (auto cut = cutReports[scope_counter].begin();
cut != cutReports[scope_counter].end(); cut++) {
cutflow.SetBinContent(
std::distance(cutReports[scope_counter].begin(), cut) + 1,
cut->GetPass());
cutflow.GetXaxis()->SetBinLabel(
std::distance(cutReports[scope_counter].begin(), cut) + 1,
cut->GetName().c_str());
}
// store it in the output file
cutflow.Write();
}
Here, by scope_counter++ to loop, but the corresponding cutReport will be random in config.cxx
The text was updated successfully, but these errors were encountered: