CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
JetExtendedAssociation.cc
Go to the documentation of this file.
1 #include "JetAssociationTemplate.icc"
2 
4 
7  return getValue (fContainer, fJet).mTracksAtVertexNumber;
8 }
10  return getValue (fContainer, fJet).mTracksAtVertexNumber;
11 }
15  return getValue (fContainer, fJet).mTracksAtVertexP4;
16 }
19  return getValue (fContainer, fJet).mTracksAtVertexP4;
20 }
23  return getValue (fContainer, fJet).mTracksAtCaloNumber;
24 }
26  return getValue (fContainer, fJet).mTracksAtCaloNumber;
27 }
31  return getValue (fContainer, fJet).mTracksAtCaloP4;
32 }
35  return getValue (fContainer, fJet).mTracksAtCaloP4;
36 }
37 
39  const reco::JetBaseRef& fJet,
41  return JetAssociationTemplate::setValue (fContainer, fJet, fValue);
42 }
43 
45  const reco::JetBaseRef& fJet,
47  return JetAssociationTemplate::setValue (fContainer, fJet, fValue);
48 }
49 
52  const reco::JetBaseRef& fJet) {
53  return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
54 }
55 
58  const reco::Jet& fJet) {
59  return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
60 }
61 
62 std::vector<reco::JetBaseRef > reco::JetExtendedAssociation::allJets (const Container& fContainer) {
63  return JetAssociationTemplate::allJets (fContainer);
64 }
65 
67  const reco::JetBaseRef& fJet) {
68  return JetAssociationTemplate::hasJet (fContainer, fJet);
69 }
70 
72  const reco::Jet& fJet) {
73  return JetAssociationTemplate::hasJet (fContainer, fJet);
74 }
75 
77  : mTracksAtVertexNumber (0),
78  mTracksAtVertexP4 (0, 0, 0, 0),
79  mTracksAtCaloNumber (0),
80  mTracksAtCaloP4 (0, 0, 0, 0)
81 {}
std::vector< reco::JetBaseRef > allJets(const Container &)
fill list of all jets associated with values. Return # of jets in the list
Base class for all types of Jets.
Definition: Jet.h:21
const LorentzVector & tracksAtCaloP4(const Container &, const reco::JetBaseRef &)
p4 of tracks associated at calo face
const LorentzVector & tracksAtVertexP4(const Container &, const reco::JetBaseRef &)
p4 of tracks associated in the vertex
int tracksAtVertexNumber(const Container &, const reco::JetBaseRef &)
Number of tracks associated in the vertex.
bool setValue(Container &, const reco::JetBaseRef &, const JetExtendedData &)
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
int tracksAtCaloNumber(const Container &, const reco::JetBaseRef &)
Number of tracks associated at calo face.
const JetExtendedData & getValue(const Container &, const reco::JetBaseRef &)
get value for the association. Throw exception if no association found
math::PtEtaPhiELorentzVectorF LorentzVector