#include "DataFormats/Common/interface/AssociationVector.h"
#include "DataFormats/JetReco/interface/JetCollection.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/Common/interface/RefVector.h"
#include "DataFormats/Math/interface/LorentzVector.h"
Go to the source code of this file.
Namespaces | |
namespace | fwlite |
namespace | reco |
fixed size matrix | |
namespace | reco::JetTracksAssociation |
Typedefs | |
typedef edm::AssociationVector < reco::JetRefBaseProd, Values > | reco::JetTracksAssociation::Container |
typedef JetTracksAssociation::Container | reco::JetTracksAssociationCollection |
typedefs for backward compatibility | |
typedef JetTracksAssociation::Ref | reco::JetTracksAssociationRef |
typedef JetTracksAssociation::RefProd | reco::JetTracksAssociationRefProd |
typedef JetTracksAssociation::RefVector | reco::JetTracksAssociationRefVector |
typedef math::PtEtaPhiELorentzVectorF | reco::JetTracksAssociation::LorentzVector |
typedef edm::Ref< Container > | reco::JetTracksAssociation::Ref |
typedef edm::RefProd< Container > | reco::JetTracksAssociation::RefProd |
typedef edm::RefVector< Container > | reco::JetTracksAssociation::RefVector |
typedef Container::transient_vector_type | reco::JetTracksAssociation::transient_vector_type |
typedef reco::TrackRefVector | reco::JetTracksAssociation::Value |
typedef Container::value_type | reco::JetTracksAssociation::value_type |
typedef std::vector< Value > | reco::JetTracksAssociation::Values |
Functions | |
std::vector< reco::JetBaseRef > | reco::JetTracksAssociation::allJets (const Container &) |
fill list of all jets associated with values. Return # of jets in the list | |
const reco::TrackRefVector & | reco::JetTracksAssociation::getValue (const Container &, const reco::JetBaseRef &) |
get value for the association. Throw exception if no association found | |
const reco::TrackRefVector & | reco::JetTracksAssociation::getValue (const Container &, const reco::Jet &) |
get value for the association. Throw exception if no association found | |
bool | reco::JetTracksAssociation::hasJet (const Container &, const reco::Jet &) |
check if jet is associated | |
bool | reco::JetTracksAssociation::hasJet (const Container &, const reco::JetBaseRef &) |
check if jet is associated | |
bool | reco::JetTracksAssociation::setValue (Container *, const reco::JetBaseRef &, reco::TrackRefVector) |
associate jet with value. Returns false and associate nothing if jet is already associated | |
bool | reco::JetTracksAssociation::setValue (Container &, const reco::JetBaseRef &, reco::TrackRefVector) |
associate jet with value. Returns false and associate nothing if jet is already associated | |
int | reco::JetTracksAssociation::tracksNumber (const Container &, const reco::JetBaseRef) |
Get number of tracks associated with jet. | |
int | reco::JetTracksAssociation::tracksNumber (const Container &, const reco::Jet &) |
Get number of tracks associated with jet. | |
LorentzVector | reco::JetTracksAssociation::tracksP4 (const Container &, const reco::JetBaseRef) |
Get LorentzVector as sum of all tracks associated with jet. | |
LorentzVector | reco::JetTracksAssociation::tracksP4 (const Container &, const reco::Jet &) |
Get LorentzVector as sum of all tracks associated with jet. |