CMS 3D CMS Logo

reco::JetFloatAssociation Namespace Reference


Typedefs

typedef edm::AssociationVector
< reco::JetRefBaseProd, Values
Container
typedef edm::Ref< ContainerRef
typedef edm::RefProd< ContainerRefProd
typedef edm::RefVector< ContainerRefVector
typedef
Container::transient_vector_type 
transient_vector_type
typedef float 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
float getValue (const Container &, const reco::Jet &)
 get value for the association. Throw exception if no association found
float 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 &, float)
 associate jet with value
bool setValue (Container &, const reco::JetBaseRef &, float)
 associate jet with value


Typedef Documentation

typedef edm::AssociationVector<reco::JetRefBaseProd, Values> reco::JetFloatAssociation::Container

Definition at line 27 of file JetFloatAssociation.h.

typedef edm::Ref<Container> reco::JetFloatAssociation::Ref

Definition at line 30 of file JetFloatAssociation.h.

typedef edm::RefProd<Container> reco::JetFloatAssociation::RefProd

Definition at line 31 of file JetFloatAssociation.h.

typedef edm::RefVector<Container> reco::JetFloatAssociation::RefVector

Definition at line 32 of file JetFloatAssociation.h.

typedef Container::transient_vector_type reco::JetFloatAssociation::transient_vector_type

Definition at line 29 of file JetFloatAssociation.h.

typedef float reco::JetFloatAssociation::Value

Definition at line 25 of file JetFloatAssociation.h.

typedef Container::value_type reco::JetFloatAssociation::value_type

Definition at line 28 of file JetFloatAssociation.h.

typedef std::vector<Value> reco::JetFloatAssociation::Values

Definition at line 26 of file JetFloatAssociation.h.


Function Documentation

std::vector< reco::JetBaseRef > reco::JetFloatAssociation::allJets ( const Container &  fContainer  ) 

fill list of all jets associated with values. Return # of jets in the list

Definition at line 28 of file JetFloatAssociation.cc.

References reco::JetTracksAssociation::allJets().

Referenced by JetTagCountFilter::filter().

00028                                                                                         {
00029   return JetAssociationTemplate::allJets (fContainer);
00030 }

float reco::JetFloatAssociation::getValue ( const Container &  fContainer,
const reco::Jet fJet 
)

get value for the association. Throw exception if no association found

Definition at line 23 of file JetFloatAssociation.cc.

00024                                                                   {
00025   return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
00026 }

float reco::JetFloatAssociation::getValue ( const Container &  fContainer,
const reco::JetBaseRef fJet 
)

get value for the association. Throw exception if no association found

Definition at line 18 of file JetFloatAssociation.cc.

Referenced by JetTagCountFilter::filter().

00019                                                                          {
00020   return JetAssociationTemplate::getValue<Container, Value> (fContainer, fJet);
00021 }

bool reco::JetFloatAssociation::hasJet ( const Container &  fContainer,
const reco::Jet fJet 
)

check if jet is associated

Definition at line 37 of file JetFloatAssociation.cc.

References reco::JetTracksAssociation::hasJet().

00038                                                              {
00039   return JetAssociationTemplate::hasJet (fContainer, fJet);
00040 }

bool reco::JetFloatAssociation::hasJet ( const Container &  fContainer,
const reco::JetBaseRef fJet 
)

check if jet is associated

Definition at line 32 of file JetFloatAssociation.cc.

References reco::JetTracksAssociation::hasJet().

00033                                                                     {
00034   return JetAssociationTemplate::hasJet (fContainer, fJet);
00035 }

bool reco::JetFloatAssociation::setValue ( Container *  fContainer,
const reco::JetBaseRef fJet,
float  fValue 
)

associate jet with value

Definition at line 6 of file JetFloatAssociation.cc.

References reco::JetTracksAssociation::setValue().

00008                                                           {
00009   return JetAssociationTemplate::setValue (fContainer, fJet, fValue);
00010 }

bool reco::JetFloatAssociation::setValue ( Container &  fContainer,
const reco::JetBaseRef fJet,
float  fValue 
)

associate jet with value

Definition at line 12 of file JetFloatAssociation.cc.

References reco::JetTracksAssociation::setValue().

Referenced by JetChargeProducer::produce().

00014                                                           {
00015   return JetAssociationTemplate::setValue (fContainer, fJet, fValue);
00016 }


Generated on Tue Jun 9 18:52:08 2009 for CMSSW by  doxygen 1.5.4