1 #include "JetAssociationTemplate.icc"
8 return getValue (fContainer, fJet).size();
11 return getValue (fContainer, fJet).size();
18 for (
unsigned t = 0;
t < tracks->
size(); ++
t) {
28 for (
unsigned t = 0;
t < tracks->
size(); ++
t) {
50 return JetAssociationTemplate::getValue<Container, reco::TrackRefVector> (fContainer, fJet);
55 return JetAssociationTemplate::getValue<Container, reco::TrackRefVector> (fContainer, fJet);
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
double p() const
momentum vector magnitude
Base class for all types of Jets.
math::PtEtaPhiELorentzVectorF LorentzVector
double px() const
x coordinate of momentum vector
bool setValue(Container &, const reco::JetBaseRef &, const JetExtendedData &)
associate jet with value. Returns false and associate nothing if jet is already associated ...
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
bool setValue(Container &, const reco::JetBaseRef &, reco::TrackRefVector)
associate jet with value. Returns false and associate nothing if jet is already associated ...
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
double pz() const
z coordinate of momentum vector
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
LorentzVector tracksP4(const Container &, const reco::JetBaseRef)
Get LorentzVector as sum of all tracks associated with jet.
int tracksNumber(const Container &, const reco::JetBaseRef)
Get number of tracks associated with jet.
size_type size() const
Size of the RefVector.
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
bool hasJet(const Container &, const reco::JetBaseRef &)
check if jet is associated
double py() const
y coordinate of momentum vector