CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Functions
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

 reco
 fixed size matrix
 
 reco::componenthelper
 

Macros

#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 >
T reco::get (const Candidate &c, size_t i)
 
template<typename T , typename Tag >
T reco::get (const Candidate &c, size_t i)
 
template<typename T >
size_t reco::numberOf (const Candidate &c)
 
template<typename T , typename Tag >
size_t reco::numberOf (const Candidate &c)
 

Macro Definition 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; \
}
type
Definition: HCALResponse.h:21

Definition at line 86 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; \
}
type
Definition: HCALResponse.h:21

Definition at line 98 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; \
}
type
Definition: HCALResponse.h:21

Definition at line 92 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; \
}
type
Definition: HCALResponse.h:21

Definition at line 104 of file component.h.