Typedefs | |
typedef edm::AssociationVector < reco::JetRefBaseProd, Values > | Container |
typedef edm::Ref< Container > | Ref |
typedef edm::RefProd< Container > | RefProd |
typedef edm::RefVector< Container > | RefVector |
typedef Container::transient_vector_type | transient_vector_type |
typedef float | Value |
typedef Container::value_type | value_type |
typedef std::vector< Value > | Values |
Functions | |
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 | |
float | getValue (const Container &, const reco::Jet &) |
get value for the association. Throw exception if no association found | |
bool | hasJet (const Container &, const reco::Jet &) |
check if jet is 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 | setValue (Container &, const reco::JetBaseRef &, float) |
associate jet with value |
Definition at line 27 of file JetFloatAssociation.h.
Definition at line 30 of file JetFloatAssociation.h.
Definition at line 31 of file JetFloatAssociation.h.
Definition at line 32 of file JetFloatAssociation.h.
Definition at line 29 of file JetFloatAssociation.h.
typedef float reco::JetFloatAssociation::Value |
Definition at line 25 of file JetFloatAssociation.h.
Definition at line 28 of file JetFloatAssociation.h.
typedef std::vector<Value> reco::JetFloatAssociation::Values |
Definition at line 26 of file JetFloatAssociation.h.
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 28 of file JetFloatAssociation.cc.
References reco::JetExtendedAssociation::allJets().
{ return JetAssociationTemplate::allJets (fContainer); }
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 18 of file JetFloatAssociation.cc.
Referenced by JetTagCountFilter::filter().
{
return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
}
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 23 of file JetFloatAssociation.cc.
{
return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
}
bool reco::JetFloatAssociation::hasJet | ( | const Container & | fContainer, |
const reco::Jet & | fJet | ||
) |
check if jet is associated
Definition at line 37 of file JetFloatAssociation.cc.
References reco::JetExtendedAssociation::hasJet().
{ return JetAssociationTemplate::hasJet (fContainer, fJet); }
bool reco::JetFloatAssociation::hasJet | ( | const Container & | fContainer, |
const reco::JetBaseRef & | fJet | ||
) |
check if jet is associated
Definition at line 32 of file JetFloatAssociation.cc.
References reco::JetExtendedAssociation::hasJet().
{ return JetAssociationTemplate::hasJet (fContainer, fJet); }
bool reco::JetFloatAssociation::setValue | ( | Container * | fContainer, |
const reco::JetBaseRef & | fJet, | ||
float | fValue | ||
) |
associate jet with value
Definition at line 6 of file JetFloatAssociation.cc.
References reco::JetExtendedAssociation::setValue().
{ return JetAssociationTemplate::setValue (fContainer, fJet, fValue); }
bool reco::JetFloatAssociation::setValue | ( | Container & | fContainer, |
const reco::JetBaseRef & | fJet, | ||
float | fValue | ||
) |
associate jet with value
Definition at line 12 of file JetFloatAssociation.cc.
References reco::JetExtendedAssociation::setValue().
{ return JetAssociationTemplate::setValue (fContainer, fJet, fValue); }