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::ShallowClonePtr Struct Reference

#include <CandCombiner.h>

Public Types

typedef reco::CandidatePtr CandPtr
 
typedef reco::CandidatePtr CandPtr
 

Static Public Member Functions

static void addDaughter (reco::CompositeCandidate &cmp, const reco::CandidatePtr &c, const std::string name="")
 
static void addDaughter (reco::CompositeCandidate &cmp, const reco::CandidatePtr &c, const std::string name="")
 

Detailed Description

Definition at line 33 of file CandCombiner.h.

Member Typedef Documentation

Definition at line 34 of file CandCombiner.h.

Definition at line 37 of file CandCombiner.h.

Member Function Documentation

static void combiner::helpers::ShallowClonePtr::addDaughter ( reco::CompositeCandidate cmp,
const reco::CandidatePtr c,
const std::string  name = "" 
)
inlinestatic

Definition at line 35 of file CandCombiner.h.

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

35  {
37  }
void addDaughter(const Candidate &, const std::string &s="")
add a clone of the passed candidate as daughter
static void combiner::helpers::ShallowClonePtr::addDaughter ( reco::CompositeCandidate cmp,
const reco::CandidatePtr c,
const std::string  name = "" 
)
inlinestatic

Definition at line 38 of file CandCombiner.h.

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

38  {
39  if(c->numberOfDaughters()==0)
41  else
42  cmp.addDaughter(*c, name);
43  }
void addDaughter(const Candidate &, const std::string &s="")
add a clone of the passed candidate as daughter