102 const size_t nObjects = newMEtoEDMObject.size();
108 if (nObjects != nOldObjects) {
109 std::cout <<
"WARNING MEtoEDM::mergeProducts(): the lists of histograms to be merged have different sizes: new=" << nObjects <<
", old=" << nOldObjects << std::endl;
112 for (
unsigned int i = 0;
i < nObjects; ++
i) {
123 if (j >= nOldObjects) {
125 #if METOEDMFORMAT_DEBUG
126 std::cout <<
"WARNING MEtoEDM::mergeProducts(): adding new histogram '" << name <<
"'" << std::endl;
129 }
else if (
MEtoEdmObject[j].
object.CanExtendAllAxes() && newMEtoEDMObject[
i].
object.CanExtendAllAxes()) {
131 list.Add((TObject*)&newMEtoEDMObject[
i].
object);
133 std::cout <<
"ERROR MEtoEDM::mergeProducts(): merge failed for '" << name <<
"'" << std::endl;
137 if (
MEtoEdmObject[j].
object.GetNbinsX() == newMEtoEDMObject[
i].
object.GetNbinsX() &&
138 MEtoEdmObject[j].
object.GetXaxis()->GetXmin() == newMEtoEDMObject[
i].
object.GetXaxis()->GetXmin() &&
139 MEtoEdmObject[j].
object.GetXaxis()->GetXmax() == newMEtoEDMObject[
i].
object.GetXaxis()->GetXmax() &&
140 MEtoEdmObject[j].
object.GetNbinsY() == newMEtoEDMObject[
i].
object.GetNbinsY() &&
141 MEtoEdmObject[j].
object.GetYaxis()->GetXmin() == newMEtoEDMObject[
i].
object.GetYaxis()->GetXmin() &&
142 MEtoEdmObject[j].
object.GetYaxis()->GetXmax() == newMEtoEDMObject[
i].
object.GetYaxis()->GetXmax() &&
143 MEtoEdmObject[j].
object.GetNbinsZ() == newMEtoEDMObject[
i].
object.GetNbinsZ() &&
144 MEtoEdmObject[j].
object.GetZaxis()->GetXmin() == newMEtoEDMObject[
i].
object.GetZaxis()->GetXmin() &&
145 MEtoEdmObject[j].
object.GetZaxis()->GetXmax() == newMEtoEDMObject[
i].
object.GetZaxis()->GetXmax() &&
146 CheckBinLabels((TAxis*)
MEtoEdmObject[j].
object.GetXaxis(),(TAxis*)newMEtoEDMObject[
i].
object.GetXaxis()) &&
147 CheckBinLabels((TAxis*)
MEtoEdmObject[j].
object.GetYaxis(),(TAxis*)newMEtoEDMObject[
i].
object.GetYaxis()) &&
148 CheckBinLabels((TAxis*)
MEtoEdmObject[j].
object.GetZaxis(),(TAxis*)newMEtoEDMObject[
i].
object.GetZaxis()) ) {
151 std::cout <<
"ERROR MEtoEDM::mergeProducts(): found histograms with different axis limits or different labels, '" << name <<
"' not merged" << std::endl;
152 #if METOEDMFORMAT_DEBUG
155 std::cout <<
MEtoEdmObject[
j].object.GetXaxis()->GetXmin() <<
" " << newMEtoEDMObject[
i].object.GetXaxis()->GetXmin() << std::endl;
156 std::cout <<
MEtoEdmObject[
j].object.GetXaxis()->GetXmax() <<
" " << newMEtoEDMObject[
i].object.GetXaxis()->GetXmax() << std::endl;
158 std::cout <<
MEtoEdmObject[
j].object.GetYaxis()->GetXmin() <<
" " << newMEtoEDMObject[
i].object.GetYaxis()->GetXmin() << std::endl;
159 std::cout <<
MEtoEdmObject[
j].object.GetYaxis()->GetXmax() <<
" " << newMEtoEDMObject[
i].object.GetYaxis()->GetXmax() << std::endl;
161 std::cout <<
MEtoEdmObject[
j].object.GetZaxis()->GetXmin() <<
" " << newMEtoEDMObject[
i].object.GetZaxis()->GetXmin() << std::endl;
162 std::cout <<
MEtoEdmObject[
j].object.GetZaxis()->GetXmax() <<
" " << newMEtoEDMObject[
i].object.GetZaxis()->GetXmax() << std::endl;
const MEtoEdmObjectVector & getMEtoEdmObject() const
std::vector< MEtoEDMObject > MEtoEdmObjectVector
MEtoEdmObjectVector MEtoEdmObject
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run