test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetFloatAssociation.cc
Go to the documentation of this file.
1 #include "JetAssociationTemplate.icc"
2 
4 
5 
7  const reco::JetBaseRef& fJet,
8  float fValue) {
9  return JetAssociationTemplate::setValue (fContainer, fJet, fValue);
10 }
11 
13  const reco::JetBaseRef& fJet,
14  float fValue) {
15  return JetAssociationTemplate::setValue (fContainer, fJet, fValue);
16 }
17 
19  const reco::JetBaseRef& fJet) {
20  return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
21 }
22 
24  const reco::Jet& fJet) {
25  return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
26 }
27 
28 std::vector<reco::JetBaseRef > reco::JetFloatAssociation::allJets (const Container& fContainer) {
29  return JetAssociationTemplate::allJets (fContainer);
30 }
31 
33  const reco::JetBaseRef& fJet) {
34  return JetAssociationTemplate::hasJet (fContainer, fJet);
35 }
36 
38  const reco::Jet& fJet) {
39  return JetAssociationTemplate::hasJet (fContainer, fJet);
40 }
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
float getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
Base class for all types of Jets.
Definition: Jet.h:20
bool setValue(Container &, const reco::JetBaseRef &, const JetExtendedData &)
associate jet with value. Returns false and associate nothing if jet is already associated ...
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
bool setValue(Container &, const reco::JetBaseRef &, float)
associate jet with value
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list