4 return chargeFromVal<reco::Candidate, reco::CandidateCollection>(lv, vec);
8 return chargeFromVal<reco::Track, reco::TrackCollection>(lv, vec);
12 return chargeFromRef<reco::TrackRef, reco::TrackRefVector>(lv, vec);
16 return chargeFromValIterator<reco::Candidate, reco::Candidate::const_iterator>(
24 }
else if (
var ==
"RelPt") {
26 }
else if (
var ==
"RelEta") {
28 }
else if (
var ==
"DeltaR") {
30 }
else if (
var ==
"Unit") {
33 throw cms::Exception(
"Configuration error") <<
"Unknown variable " <<
var.c_str() <<
" for computing jet charge";