CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions
reco::JetFloatAssociation Namespace Reference

Typedefs

typedef edm::AssociationVector
< reco::JetRefBaseProd, Values
Container
 
typedef edm::Ref< ContainerRef
 
typedef edm::RefProd< ContainerRefProd
 
typedef edm::RefVector< ContainerRefVector
 
typedef
Container::transient_vector_type 
transient_vector_type
 
typedef float Value
 
typedef Container::value_type value_type
 
typedef std::vector< ValueValues
 

Functions

std::vector< reco::JetBaseRefallJets (const Container &)
 fill list of all jets associated with values. Return # of jets in the list More...
 
float getValue (const Container &, const reco::JetBaseRef &)
 get value for the association. Throw exception if no association found More...
 
float getValue (const Container &, const reco::Jet &)
 get value for the association. Throw exception if no association found More...
 
bool hasJet (const Container &, const reco::JetBaseRef &)
 check if jet is associated More...
 
bool hasJet (const Container &, const reco::Jet &)
 check if jet is associated More...
 
bool setValue (Container &, const reco::JetBaseRef &, float)
 associate jet with value More...
 
bool setValue (Container *, const reco::JetBaseRef &, float)
 associate jet with value More...
 

Typedef Documentation

Definition at line 26 of file JetFloatAssociation.h.

Definition at line 29 of file JetFloatAssociation.h.

Definition at line 30 of file JetFloatAssociation.h.

Definition at line 31 of file JetFloatAssociation.h.

Definition at line 28 of file JetFloatAssociation.h.

Definition at line 24 of file JetFloatAssociation.h.

Definition at line 27 of file JetFloatAssociation.h.

Definition at line 25 of file JetFloatAssociation.h.

Function Documentation

std::vector< reco::JetBaseRef > reco::JetFloatAssociation::allJets ( const Container &  fContainer)

fill list of all jets associated with values. Return # of jets in the list

Definition at line 21 of file JetFloatAssociation.cc.

References reco::JetExtendedAssociation::allJets().

21  {
22  return JetAssociationTemplate::allJets(fContainer);
23 }
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
float reco::JetFloatAssociation::getValue ( const Container &  fContainer,
const reco::JetBaseRef fJet 
)

get value for the association. Throw exception if no association found

Definition at line 13 of file JetFloatAssociation.cc.

13  {
14  return JetAssociationTemplate::getValue<Container, Value>(fContainer, fJet);
15 }
float reco::JetFloatAssociation::getValue ( const Container &  fContainer,
const reco::Jet fJet 
)

get value for the association. Throw exception if no association found

Definition at line 17 of file JetFloatAssociation.cc.

17  {
18  return JetAssociationTemplate::getValue<Container, Value>(fContainer, fJet);
19 }
bool reco::JetFloatAssociation::hasJet ( const Container &  fContainer,
const reco::JetBaseRef fJet 
)

check if jet is associated

Definition at line 25 of file JetFloatAssociation.cc.

References reco::JetExtendedAssociation::hasJet().

25  {
26  return JetAssociationTemplate::hasJet(fContainer, fJet);
27 }
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
bool reco::JetFloatAssociation::hasJet ( const Container &  fContainer,
const reco::Jet fJet 
)

check if jet is associated

Definition at line 29 of file JetFloatAssociation.cc.

References reco::JetExtendedAssociation::hasJet().

29  {
30  return JetAssociationTemplate::hasJet(fContainer, fJet);
31 }
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
bool reco::JetFloatAssociation::setValue ( Container &  fContainer,
const reco::JetBaseRef fJet,
float  fValue 
)

associate jet with value

Definition at line 9 of file JetFloatAssociation.cc.

References reco::JetExtendedAssociation::setValue().

Referenced by JetChargeProducer::produce().

9  {
10  return JetAssociationTemplate::setValue(fContainer, fJet, fValue);
11 }
bool setValue(Container &, const reco::JetBaseRef &, const JetExtendedData &)
associate jet with value. Returns false and associate nothing if jet is already associated ...
bool reco::JetFloatAssociation::setValue ( Container *  fContainer,
const reco::JetBaseRef fJet,
float  fValue 
)

associate jet with value

Definition at line 5 of file JetFloatAssociation.cc.

References reco::JetExtendedAssociation::setValue().

5  {
6  return JetAssociationTemplate::setValue(fContainer, fJet, fValue);
7 }
bool setValue(Container &, const reco::JetBaseRef &, const JetExtendedData &)
associate jet with value. Returns false and associate nothing if jet is already associated ...