CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
JetFloatAssociation.cc
Go to the documentation of this file.
1 #include "JetAssociationTemplate.icc"
2 
4 
5 bool reco::JetFloatAssociation::setValue(Container* fContainer, const reco::JetBaseRef& fJet, float fValue) {
6  return JetAssociationTemplate::setValue(fContainer, fJet, fValue);
7 }
8 
9 bool reco::JetFloatAssociation::setValue(Container& fContainer, const reco::JetBaseRef& fJet, float fValue) {
10  return JetAssociationTemplate::setValue(fContainer, fJet, fValue);
11 }
12 
13 float reco::JetFloatAssociation::getValue(const Container& fContainer, const reco::JetBaseRef& fJet) {
14  return JetAssociationTemplate::getValue<Container, Value>(fContainer, fJet);
15 }
16 
17 float reco::JetFloatAssociation::getValue(const Container& fContainer, const reco::Jet& fJet) {
18  return JetAssociationTemplate::getValue<Container, Value>(fContainer, fJet);
19 }
20 
21 std::vector<reco::JetBaseRef> reco::JetFloatAssociation::allJets(const Container& fContainer) {
22  return JetAssociationTemplate::allJets(fContainer);
23 }
24 
25 bool reco::JetFloatAssociation::hasJet(const Container& fContainer, const reco::JetBaseRef& fJet) {
26  return JetAssociationTemplate::hasJet(fContainer, fJet);
27 }
28 
29 bool reco::JetFloatAssociation::hasJet(const Container& fContainer, const reco::Jet& fJet) {
30  return JetAssociationTemplate::hasJet(fContainer, fJet);
31 }
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