CMS 3D CMS Logo

Classes | Typedefs | Functions

reco::JetExtendedAssociation Namespace Reference

Classes

class  JetExtendedData

Typedefs

typedef edm::AssociationVector
< reco::JetRefBaseProd, Values
Container
typedef
math::PtEtaPhiELorentzVectorF 
LorentzVector
typedef edm::Ref< ContainerRef
typedef edm::RefProd< ContainerRefProd
typedef edm::RefVector< ContainerRefVector
typedef
Container::transient_vector_type 
transient_vector_type
typedef
reco::JetExtendedAssociation::JetExtendedData 
Value
typedef Container::value_type value_type
typedef std::vector< ValueValues

Functions

std::vector< reco::JetBaseRefallJets (const Container &)
 fill list of all jets associated with values. Return # of jets in the list
const JetExtendedDatagetValue (const Container &, const reco::JetBaseRef &)
 get value for the association. Throw exception if no association found
const JetExtendedDatagetValue (const Container &, const reco::Jet &)
 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::JetBaseRef &)
 Number of tracks associated at calo face.
int tracksAtCaloNumber (const Container &, const reco::Jet &)
 Number of tracks associated at calo face.
const LorentzVectortracksAtCaloP4 (const Container &, const reco::Jet &)
 p4 of tracks associated at calo face
const LorentzVectortracksAtCaloP4 (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 LorentzVectortracksAtVertexP4 (const Container &, const reco::JetBaseRef &)
 p4 of tracks associated in the vertex
const LorentzVectortracksAtVertexP4 (const Container &, const reco::Jet &)

Typedef Documentation

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.

Definition at line 29 of file JetExtendedAssociation.h.


Function Documentation

std::vector< reco::JetBaseRef > reco::JetExtendedAssociation::allJets ( const Container &  fContainer)
const reco::JetExtendedAssociation::JetExtendedData & reco::JetExtendedAssociation::getValue ( const Container &  fContainer,
const reco::JetBaseRef fJet 
)
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.

                                                             {
  return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
}
bool reco::JetExtendedAssociation::hasJet ( const Container &  fContainer,
const reco::Jet fJet 
)

check if jet is associated

Definition at line 71 of file JetExtendedAssociation.cc.

References hasJet().

                                                                {
  return JetAssociationTemplate::hasJet (fContainer, fJet);
}
bool reco::JetExtendedAssociation::hasJet ( const Container &  fContainer,
const reco::JetBaseRef fJet 
)

check if jet is associated

Definition at line 66 of file JetExtendedAssociation.cc.

Referenced by reco::JetFloatAssociation::hasJet(), reco::JetTracksAssociation::hasJet(), and hasJet().

                                                                      {
  return JetAssociationTemplate::hasJet (fContainer, fJet);
}
bool reco::JetExtendedAssociation::setValue ( Container &  fContainer,
const reco::JetBaseRef fJet,
const JetExtendedData &  fValue 
)
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 setValue().

                                                                                                     {
  return JetAssociationTemplate::setValue (fContainer, fJet, fValue);
}
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.

                                                                                                           {
  return getValue (fContainer, fJet).mTracksAtCaloNumber;
}
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.

                                                                                                    {
  return getValue (fContainer, fJet).mTracksAtCaloNumber;
}
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.

                                                                                            {
  return getValue (fContainer, fJet).mTracksAtCaloP4;
}
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.

                                                                                                   {
  return getValue (fContainer, fJet).mTracksAtCaloP4;
}
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.

                                                                                                      {
  return getValue (fContainer, fJet).mTracksAtVertexNumber;
}
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.

                                                                                                             {
  return getValue (fContainer, fJet).mTracksAtVertexNumber;
}
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.

                                                                                                     {
  return getValue (fContainer, fJet).mTracksAtVertexP4;
}
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.

                                                                                              {
  return getValue (fContainer, fJet).mTracksAtVertexP4;
}