manager->error(TString::Format("transferred histograms are inconsistent, skipping!\n\tnom\t%s\n\tlow\t%s\n\thigh\t%s",TQStringUtils::getDetails(nomHist).Data(),TQStringUtils::getDetails(lowHist).Data(),TQStringUtils::getDetails(highHist).Data()));
deletecopy;
continue;
}
}
++j;
sample->addFolder(copy);
}
if(verbose&&j==0){
manager->warn(TString::Format("\tno systematics of type %s found in '%s' matching '%s' except '%s'!",systType.Data(),source->GetName(),TQStringUtils::concat(targetSystematics,",").Data(),TQStringUtils::concat(exceptSystematics,",").Data()));
}
i+=j;
}
}
}
}
}
}
return(i>0);
if(i>0)returntrue;
manager->error("no targets found for sample transfer!");
manager->error(TString::Format("transferred histograms are inconsistent, skipping!\n\tnom\t%s\n\tlow\t%s\n\thigh\t%s",TQStringUtils::getDetails(nomHist).Data(),TQStringUtils::getDetails(lowHist).Data(),TQStringUtils::getDetails(highHist).Data()));
deletecopy;
continue;
}
}
++j;
sample->addFolder(copy);
}
if(verbose&&j==0){
manager->warn(TString::Format("\tno systematics of type %s found in '%s' matching '%s' except '%s'!",systType.Data(),source->GetName(),TQStringUtils::concat(targetSystematics,",").Data(),TQStringUtils::concat(exceptSystematics,",").Data()));
}
i+=j;
}
}
}
}
}
}
return(i>0);
if(i>0)returntrue;
manager->error("no targets found for channel transfer!");
returnfalse;
}
//no valid mode was selected
manager->error("Failed to perform, no valid mode was selected!");