CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Static Public Member Functions
combiner::helpers::NormalClone Struct Reference

#include <CandCombiner.h>

Public Types

typedef reco::CandidateBaseRef CandPtr
 
typedef reco::CandidateBaseRef CandPtr
 

Static Public Member Functions

template<typename Ptr , typename CMP >
static void addDaughter (CMP &cmp, const Ptr &c, std::string name)
 
template<typename Ptr , typename CMP >
static void addDaughter (CMP &cmp, const Ptr &c, std::string name)
 
template<typename Ref >
static void addDaughter (reco::CompositeCandidate &cmp, const Ref &c, const std::string name="")
 
template<typename Ref >
static void addDaughter (reco::CompositeCandidate &cmp, const Ref &c, const std::string name="")
 

Detailed Description

Definition at line 19 of file CandCombiner.h.

Member Typedef Documentation

Definition at line 20 of file CandCombiner.h.

Definition at line 20 of file CandCombiner.h.

Member Function Documentation

template<typename Ptr , typename CMP >
static void combiner::helpers::NormalClone::addDaughter ( CMP &  cmp,
const Ptr &  c,
std::string  name 
)
inlinestatic

Definition at line 20 of file NamedCandCombiner.h.

20  {
21  cmp.addDaughter(*c, name);
22  }
template<typename Ptr , typename CMP >
static void combiner::helpers::NormalClone::addDaughter ( CMP &  cmp,
const Ptr &  c,
std::string  name 
)
inlinestatic

Definition at line 20 of file NamedCandCombiner.h.

20  {
21  cmp.addDaughter(*c, name);
22  }
template<typename Ref >
static void combiner::helpers::NormalClone::addDaughter ( reco::CompositeCandidate cmp,
const Ref &  c,
const std::string  name = "" 
)
inlinestatic

Definition at line 22 of file CandCombiner.h.

References reco::CompositeCandidate::addDaughter(), and mergeVDriftHistosByStation::name.

22  {
23  cmp.addDaughter(*c, name);
24  }
void addDaughter(const Candidate &, const std::string &s="")
add a clone of the passed candidate as daughter
template<typename Ref >
static void combiner::helpers::NormalClone::addDaughter ( reco::CompositeCandidate cmp,
const Ref &  c,
const std::string  name = "" 
)
inlinestatic

Definition at line 22 of file CandCombiner.h.

References reco::CompositeCandidate::addDaughter(), and mergeVDriftHistosByStation::name.

22  {
23  cmp.addDaughter(*c, name);
24  }
void addDaughter(const Candidate &, const std::string &s="")
add a clone of the passed candidate as daughter