1 #ifndef JetReco_JetFloatAssociation_h
2 #define JetReco_JetFloatAssociation_h
edm::RefProd< Container > RefProd
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.
std::vector< value_type > transient_vector_type
edm::AssociationVector< reco::JetRefBaseProd, Values > Container
Association between jets and float value.
Container::value_type value_type
std::pair< KeyRef, typename CVal::value_type > value_type
Container::transient_vector_type transient_vector_type
bool setValue(Container &, const reco::JetBaseRef &, float)
associate jet with value
edm::Ref< Container > Ref
edm::RefVector< Container > RefVector
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
std::vector< Value > Values
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list