CMS 3D CMS Logo

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 }
reco::JetExtendedAssociation::setValue
bool setValue(Container &, const reco::JetBaseRef &, const JetExtendedData &)
associate jet with value. Returns false and associate nothing if jet is already associated
Definition: JetExtendedAssociation.cc:44
reco::JetFloatAssociation::allJets
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
Definition: JetFloatAssociation.cc:21
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
reco::JetExtendedAssociation::hasJet
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
Definition: JetExtendedAssociation.cc:64
JetFloatAssociation.h
reco::JetFloatAssociation::hasJet
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
Definition: JetFloatAssociation.cc:25
edm::AssociationVector
Definition: AssociationVector.h:67
reco::JetFloatAssociation::setValue
bool setValue(Container &, const reco::JetBaseRef &, float)
associate jet with value
Definition: JetFloatAssociation.cc:9
reco::JetFloatAssociation::getValue
float getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
Definition: JetFloatAssociation.cc:13
reco::JetExtendedAssociation::allJets
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
Definition: JetExtendedAssociation.cc:60
edm::RefToBase< Jet >