17 setRange(0.0, 10e10, -10.0, 10.0, -3.14, 3.14);
78 if (
dR.getParameter<
bool>(
"switchOn")) {
82 dR.getParameter<int32_t>(
"nBin"),
83 dR.getParameter<
double>(
"xMin"),
84 dR.getParameter<
double>(
"xMax"));
88 book2D(
b,
"delta_frac_VS_frac_muon_",
"#DeltaFraction_Vs_Fraction(muon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
90 book2D(
b,
"delta_frac_VS_frac_photon_",
"#DeltaFraction_Vs_Fraction(photon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
92 b,
"delta_frac_VS_frac_electron_",
"#DeltaFraction_Vs_Fraction(electron)", 100, 0.0, 1.0, 100, -1.0, 1.0);
94 "delta_frac_VS_frac_charged_hadron_",
95 "#DeltaFraction_Vs_Fraction(charged hadron)",
103 "delta_frac_VS_frac_neutral_hadron_",
104 "#DeltaFraction_Vs_Fraction(neutral hadron)",
125 book2D(
b,
"delta_frac_VS_frac_muon_",
"#DeltaFraction_Vs_Fraction(muon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
127 book2D(
b,
"delta_frac_VS_frac_photon_",
"#DeltaFraction_Vs_Fraction(photon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
129 b,
"delta_frac_VS_frac_electron_",
"#DeltaFraction_Vs_Fraction(electron)", 100, 0.0, 1.0, 100, -1.0, 1.0);
131 "delta_frac_VS_frac_charged_hadron_",
132 "#DeltaFraction_Vs_Fraction(charged hadron)",
140 "delta_frac_VS_frac_neutral_hadron_",
141 "#DeltaFraction_Vs_Fraction(neutral hadron)",
168 const reco::PFJet *pfJet = dynamic_cast<const reco::PFJet *>(&
jet);
169 const reco::PFJet *pfMatchedJet = dynamic_cast<const reco::PFJet *>(&matchedJet);
171 float del_frac_muon = -99.9;
172 float del_frac_elec = -99.9;
173 float del_frac_phot = -99.9;
174 float del_frac_ch_had = -99.9;
175 float del_frac_neu_had = -99.9;
191 if (mult_neu_had > 0)