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