test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Typedefs | Functions
JetTracksAssociation.h File Reference
#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

 fwlite
 
 reco
 fixed size matrix
 
 reco::JetTracksAssociation
 

Typedefs

typedef edm::AssociationVector
< reco::JetRefBaseProd, Values > 
reco::JetTracksAssociation::Container
 
typedef
JetTracksAssociation::Container 
reco::JetTracksAssociationCollection
 typedefs for backward compatibility More...
 
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::JetBaseRefreco::JetTracksAssociation::allJets (const Container &)
 fill list of all jets associated with values. Return # of jets in the list More...
 
const reco::TrackRefVectorreco::JetTracksAssociation::getValue (const Container &, const reco::JetBaseRef &)
 get value for the association. Throw exception if no association found More...
 
const reco::TrackRefVectorreco::JetTracksAssociation::getValue (const Container &, const reco::Jet &)
 get value for the association. Throw exception if no association found More...
 
bool reco::JetTracksAssociation::hasJet (const Container &, const reco::JetBaseRef &)
 check if jet is associated More...
 
bool reco::JetTracksAssociation::hasJet (const Container &, const reco::Jet &)
 check if jet is associated More...
 
bool reco::JetTracksAssociation::setValue (Container &, const reco::JetBaseRef &, reco::TrackRefVector)
 associate jet with value. Returns false and associate nothing if jet is already associated More...
 
bool reco::JetTracksAssociation::setValue (Container *, const reco::JetBaseRef &, reco::TrackRefVector)
 associate jet with value. Returns false and associate nothing if jet is already associated More...
 
int reco::JetTracksAssociation::tracksNumber (const Container &, const reco::JetBaseRef)
 Get number of tracks associated with jet. More...
 
int reco::JetTracksAssociation::tracksNumber (const Container &, const reco::Jet &)
 Get number of tracks associated with jet. More...
 
LorentzVector reco::JetTracksAssociation::tracksP4 (const Container &, const reco::JetBaseRef)
 Get LorentzVector as sum of all tracks associated with jet. More...
 
LorentzVector reco::JetTracksAssociation::tracksP4 (const Container &, const reco::Jet &)
 Get LorentzVector as sum of all tracks associated with jet. More...