Go to the documentation of this file. 1 #ifndef JetReco_JetTracksAssociation_h
2 #define JetReco_JetTracksAssociation_h
edm::AssociationVector< reco::JetRefBaseProd, Values > Container
edm::Ref< Container > Ref
Base class for all types of Jets.
JetTracksAssociation::RefProd JetTracksAssociationRefProd
std::vector< Value > Values
edm::RefProd< Container > RefProd
LorentzVector tracksP4(const Container &, const reco::JetBaseRef)
Get LorentzVector as sum of all tracks associated with jet.
JetTracksAssociation::Ref JetTracksAssociationRef
Association between jets and float value.
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
JetTracksAssociation::RefVector JetTracksAssociationRefVector
bool setValue(Container &, const reco::JetBaseRef &, reco::TrackRefVector)
associate jet with value. Returns false and associate nothing if jet is already associated
edm::RefVector< Container > RefVector
std::vector< value_type > transient_vector_type
JetTracksAssociation::Container JetTracksAssociationCollection
typedefs for backward compatibility
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
const reco::TrackRefVector & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
reco::TrackRefVector Value
Container::transient_vector_type transient_vector_type
math::PtEtaPhiELorentzVectorF LorentzVector
Container::value_type value_type
std::pair< KeyRef, typename CVal::value_type > value_type
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiE4D< float > > PtEtaPhiELorentzVectorF
Lorentz vector with cartesian internal representation.
int tracksNumber(const Container &, const reco::JetBaseRef)
Get number of tracks associated with jet.