#include "FWCore/Utilities/interface/Exception.h"
Go to the source code of this file.
Namespaces | |
namespace | reco |
namespace | reco::componenthelper |
Classes | |
class | reco::component< T, M, Tag > |
Generic accessor to components of a Candidate. More... | |
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 |
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, size_t i) |
template<typename T> | |
T | reco::get (const Candidate &c) |
template<typename T> | |
size_t | reco::numberOf (const Candidate &c) |
#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.