CMS 3D CMS Logo

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(), dataset::name, and ALCARECOPromptCalibProdSiPixelAli0T_cff::Selector.

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(), dataset::name, and ALCARECOPromptCalibProdSiPixelAli0T_cff::Selector.

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