34 bool matchBbar =
false;
35 bool matchLeptPos =
false;
36 bool matchLeptNeg =
false;
59 int id =
genEvent->singleLepton()->pdgId();
63 matchLeptNeg = ((((solution.
getWmDecay() ==
"electron") && (
id == 11)) ||
64 ((solution.
getWmDecay() ==
"muon") && (
id == 13))) &&
68 matchLeptPos = ((((solution.
getWpDecay() ==
"electron") && (
id == -11)) ||
69 ((solution.
getWpDecay() ==
"muon") && (
id == -13))) &&
83 matchB1 = ((dr1 < 0.4) || (dr2 < 0.4));
87 matchB = ((dr1 < 0.4));
101 matchBbar = ((dr2 < 0.4));
102 matchB2 = ((dr1 < 0.4) || (dr2 < 0.4));
163 matchB && matchLeptPos,
164 matchBbar && matchLeptNeg,
177 std::vector<pat::Jet> jet3;
180 jet3.push_back((*
jets)[
i]);
183 double jet1Ratio = 0., jet2Ratio = 0.;
185 jet1Ratio = jet3[0].et() / solution.
getJetB().
et();
201 std::vector<IntDblPair> &varList,
204 std::vector<IntBoolPair> &matchList) {
207 varList.push_back(
IntDblPair(obsNbr + 1, v2));
209 matchList.push_back(
IntBoolPair(obsNbr + 1, match2));
213 varList.push_back(
IntDblPair(obsNbr + 1, v1));
215 matchList.push_back(
IntBoolPair(obsNbr + 1, match1));