Classes | |
class | JetExtendedData |
Typedefs | |
typedef edm::AssociationVector < reco::JetRefBaseProd, Values > | Container |
typedef math::PtEtaPhiELorentzVectorF | LorentzVector |
typedef edm::Ref< Container > | Ref |
typedef edm::RefProd< Container > | RefProd |
typedef edm::RefVector< Container > | RefVector |
typedef Container::transient_vector_type | transient_vector_type |
typedef reco::JetExtendedAssociation::JetExtendedData | Value |
typedef Container::value_type | value_type |
typedef std::vector< Value > | Values |
Functions | |
std::vector< reco::JetBaseRef > | allJets (const Container &) |
fill list of all jets associated with values. Return # of jets in the list | |
const JetExtendedData & | getValue (const Container &, const reco::Jet &) |
get value for the association. Throw exception if no association found | |
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::Jet &) |
check if jet is associated | |
bool | hasJet (const Container &, const reco::JetBaseRef &) |
check if jet is associated | |
bool | setValue (Container *, const reco::JetBaseRef &, const JetExtendedData &) |
associate jet with value. Returns false and associate nothing if jet is already associated | |
bool | setValue (Container &, const reco::JetBaseRef &, const JetExtendedData &) |
associate jet with value. Returns false and associate nothing if jet is already associated | |
int | tracksAtCaloNumber (const Container &, const reco::Jet &) |
Number of tracks associated at calo face. | |
int | tracksAtCaloNumber (const Container &, const reco::JetBaseRef &) |
Number of tracks associated at calo face. | |
const LorentzVector & | tracksAtCaloP4 (const Container &, const reco::Jet &) |
p4 of tracks associated at calo face | |
const LorentzVector & | tracksAtCaloP4 (const Container &, const reco::JetBaseRef &) |
p4 of tracks associated at calo face | |
int | tracksAtVertexNumber (const Container &, const reco::Jet &) |
Number of tracks associated in the vertex. | |
int | tracksAtVertexNumber (const Container &, const reco::JetBaseRef &) |
Number of tracks associated in the vertex. | |
const LorentzVector & | tracksAtVertexP4 (const Container &, const reco::Jet &) |
const LorentzVector & | tracksAtVertexP4 (const Container &, const reco::JetBaseRef &) |
p4 of tracks associated in the vertex |
typedef edm::AssociationVector<reco::JetRefBaseProd, Values> reco::JetExtendedAssociation::Container |
Definition at line 30 of file JetExtendedAssociation.h.
Definition at line 26 of file JetExtendedAssociation.h.
Definition at line 33 of file JetExtendedAssociation.h.
Definition at line 34 of file JetExtendedAssociation.h.
Definition at line 35 of file JetExtendedAssociation.h.
Definition at line 32 of file JetExtendedAssociation.h.
Definition at line 28 of file JetExtendedAssociation.h.
Definition at line 31 of file JetExtendedAssociation.h.
typedef std::vector<Value> reco::JetExtendedAssociation::Values |
Definition at line 29 of file JetExtendedAssociation.h.
std::vector< reco::JetBaseRef > reco::JetExtendedAssociation::allJets | ( | const Container & | fContainer | ) |
fill list of all jets associated with values. Return # of jets in the list
Definition at line 62 of file JetExtendedAssociation.cc.
References reco::JetTracksAssociation::allJets().
00062 { 00063 return JetAssociationTemplate::allJets (fContainer); 00064 }
const reco::JetExtendedAssociation::JetExtendedData & reco::JetExtendedAssociation::getValue | ( | const Container & | fContainer, | |
const reco::Jet & | fJet | |||
) |
get value for the association. Throw exception if no association found
Definition at line 57 of file JetExtendedAssociation.cc.
const reco::JetExtendedAssociation::JetExtendedData & reco::JetExtendedAssociation::getValue | ( | const Container & | fContainer, | |
const reco::JetBaseRef & | fJet | |||
) |
get value for the association. Throw exception if no association found
Definition at line 51 of file JetExtendedAssociation.cc.
Referenced by tracksAtCaloNumber(), tracksAtCaloP4(), tracksAtVertexNumber(), and tracksAtVertexP4().
check if jet is associated
Definition at line 71 of file JetExtendedAssociation.cc.
References reco::JetTracksAssociation::hasJet().
00072 { 00073 return JetAssociationTemplate::hasJet (fContainer, fJet); 00074 }
bool reco::JetExtendedAssociation::hasJet | ( | const Container & | fContainer, | |
const reco::JetBaseRef & | fJet | |||
) |
check if jet is associated
Definition at line 66 of file JetExtendedAssociation.cc.
References reco::JetTracksAssociation::hasJet().
00067 { 00068 return JetAssociationTemplate::hasJet (fContainer, fJet); 00069 }
bool reco::JetExtendedAssociation::setValue | ( | Container * | fContainer, | |
const reco::JetBaseRef & | fJet, | |||
const JetExtendedData & | fValue | |||
) |
associate jet with value. Returns false and associate nothing if jet is already associated
Definition at line 38 of file JetExtendedAssociation.cc.
References reco::JetTracksAssociation::setValue().
00040 { 00041 return JetAssociationTemplate::setValue (fContainer, fJet, fValue); 00042 }
bool reco::JetExtendedAssociation::setValue | ( | Container & | fContainer, | |
const reco::JetBaseRef & | fJet, | |||
const JetExtendedData & | fValue | |||
) |
associate jet with value. Returns false and associate nothing if jet is already associated
Definition at line 44 of file JetExtendedAssociation.cc.
References reco::JetTracksAssociation::setValue().
Referenced by JetExtender::produce().
00046 { 00047 return JetAssociationTemplate::setValue (fContainer, fJet, fValue); 00048 }
int reco::JetExtendedAssociation::tracksAtCaloNumber | ( | const Container & | fContainer, | |
const reco::Jet & | fJet | |||
) |
Number of tracks associated at calo face.
Definition at line 25 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtCaloNumber.
00025 { 00026 return getValue (fContainer, fJet).mTracksAtCaloNumber; 00027 }
int reco::JetExtendedAssociation::tracksAtCaloNumber | ( | const Container & | fContainer, | |
const reco::JetBaseRef & | fJet | |||
) |
Number of tracks associated at calo face.
Definition at line 22 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtCaloNumber.
00022 { 00023 return getValue (fContainer, fJet).mTracksAtCaloNumber; 00024 }
const reco::JetExtendedAssociation::LorentzVector & reco::JetExtendedAssociation::tracksAtCaloP4 | ( | const Container & | fContainer, | |
const reco::Jet & | fJet | |||
) |
p4 of tracks associated at calo face
Definition at line 34 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtCaloP4.
00034 { 00035 return getValue (fContainer, fJet).mTracksAtCaloP4; 00036 }
const reco::JetExtendedAssociation::LorentzVector & reco::JetExtendedAssociation::tracksAtCaloP4 | ( | const Container & | fContainer, | |
const reco::JetBaseRef & | fJet | |||
) |
p4 of tracks associated at calo face
Definition at line 30 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtCaloP4.
00030 { 00031 return getValue (fContainer, fJet).mTracksAtCaloP4; 00032 }
int reco::JetExtendedAssociation::tracksAtVertexNumber | ( | const Container & | fContainer, | |
const reco::Jet & | fJet | |||
) |
Number of tracks associated in the vertex.
Definition at line 9 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtVertexNumber.
00009 { 00010 return getValue (fContainer, fJet).mTracksAtVertexNumber; 00011 }
int reco::JetExtendedAssociation::tracksAtVertexNumber | ( | const Container & | fContainer, | |
const reco::JetBaseRef & | fJet | |||
) |
Number of tracks associated in the vertex.
Definition at line 6 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtVertexNumber.
00006 { 00007 return getValue (fContainer, fJet).mTracksAtVertexNumber; 00008 }
const reco::JetExtendedAssociation::LorentzVector & reco::JetExtendedAssociation::tracksAtVertexP4 | ( | const Container & | fContainer, | |
const reco::Jet & | fJet | |||
) |
Definition at line 18 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtVertexP4.
00018 { 00019 return getValue (fContainer, fJet).mTracksAtVertexP4; 00020 }
const reco::JetExtendedAssociation::LorentzVector & reco::JetExtendedAssociation::tracksAtVertexP4 | ( | const Container & | fContainer, | |
const reco::JetBaseRef & | fJet | |||
) |
p4 of tracks associated in the vertex
Definition at line 14 of file JetExtendedAssociation.cc.
References getValue(), and reco::JetExtendedAssociation::JetExtendedData::mTracksAtVertexP4.
00014 { 00015 return getValue (fContainer, fJet).mTracksAtVertexP4; 00016 }