21 , m_massDef(CompMassDef::UNKNOWN)
23 , m_largeRJetTruthLabelName(
"")
32 , m_massDef(component.massDef)
33 , m_labels(component.LargeRJetTruthLabelsForSF)
34 , m_largeRJetTruthLabelName(component.LargeRJetTruthLabelName)
35 , m_region(component.RegionForSF)
36 , m_result_name(component.ResultName)
43 , m_massDef(toCopy.m_massDef)
44 , m_labels(toCopy.m_labels)
45 , m_largeRJetTruthLabelName(toCopy.m_largeRJetTruthLabelName)
46 , m_region(toCopy.m_region)
47 , m_result_name(toCopy.m_result_name)
76 int jetFlavorLabelInt=accLabel(
jet);
79 float mOverPt=
jet.m()/
jet.pt();
82 const double WtoZmassShift = 10803;
83 mOverPt=(
jet.m()-WtoZmassShift)/
jet.pt();
84 if ( mOverPt < 0. ) mOverPt=1
e-5;
116 bool isValidLabel=
false;
129 if (!isValidLabel)
return 0.0;