CMS 3D CMS Logo

Classes | Namespaces | Defines | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/Candidate/interface/component.h File Reference

#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Classes

class  reco::component< T, M, Tag >
struct  reco::DefaultComponentTag
struct  reco::componenthelper::MultipleComponents< C, T, F, S >
struct  reco::componenthelper::MultipleComponentsTag
struct  reco::componenthelper::SingleComponent< C, T, F >
struct  reco::componenthelper::SingleComponentTag

Namespaces

namespace  reco
 

fixed size matrix


namespace  reco::componenthelper

Defines

#define GET_CANDIDATE_COMPONENT(CAND, TYPE, FUN, TAG)
#define GET_CANDIDATE_MULTIPLECOMPONENTS(CAND, TYPE, FUN, SIZE, TAG)
#define GET_DEFAULT_CANDIDATE_COMPONENT(CAND, TYPE, FUN)
#define GET_DEFAULT_CANDIDATE_MULTIPLECOMPONENTS(CAND, TYPE, FUN, SIZE)

Functions

template<typename T >
T reco::get (const Candidate &c)
template<typename T , typename Tag >
T reco::get (const Candidate &c)
template<typename T , typename Tag >
T reco::get (const Candidate &c, size_t i)
template<typename T >
T reco::get (const Candidate &c, size_t i)
template<typename T , typename Tag >
size_t reco::numberOf (const Candidate &c)
template<typename T >
size_t reco::numberOf (const Candidate &c)

Define Documentation

#define GET_CANDIDATE_COMPONENT (   CAND,
  TYPE,
  FUN,
  TAG 
)
Value:
template<> \
  struct  component<TYPE, componenthelper::SingleComponentTag, TAG> { \
    typedef componenthelper::SingleComponent<CAND, TYPE, & CAND::FUN> type; \
  }

Definition at line 87 of file component.h.

#define GET_CANDIDATE_MULTIPLECOMPONENTS (   CAND,
  TYPE,
  FUN,
  SIZE,
  TAG 
)
Value:
template<> \
  struct  component<TYPE, componenthelper::MultipleComponentsTag, TAG> { \
    typedef componenthelper::MultipleComponents<CAND, TYPE, & CAND::FUN, & CAND::SIZE> type; \
  }

Definition at line 99 of file component.h.

#define GET_DEFAULT_CANDIDATE_COMPONENT (   CAND,
  TYPE,
  FUN 
)
Value:
template<> \
  struct  component<TYPE, componenthelper::SingleComponentTag, DefaultComponentTag> { \
    typedef componenthelper::SingleComponent<CAND, TYPE, & CAND::FUN> type; \
  }

Definition at line 93 of file component.h.

#define GET_DEFAULT_CANDIDATE_MULTIPLECOMPONENTS (   CAND,
  TYPE,
  FUN,
  SIZE 
)
Value:
template<> \
  struct  component<TYPE, componenthelper::MultipleComponentsTag, DefaultComponentTag> { \
    typedef componenthelper::MultipleComponents<CAND, TYPE, & CAND::FUN, & CAND::SIZE> type; \
  }

Definition at line 105 of file component.h.