CMS 3D CMS Logo

Public Types | Static Public Member Functions

combiner::helpers::ShallowClone Struct Reference

#include <CandCombiner.h>

List of all members.

Public Types

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

Static Public Member Functions

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

Detailed Description

Definition at line 27 of file CandCombiner.h.


Member Typedef Documentation

Definition at line 28 of file CandCombiner.h.

Definition at line 28 of file CandCombiner.h.


Member Function Documentation

static void combiner::helpers::ShallowClone::addDaughter ( reco::CompositeCandidate cmp,
const reco::CandidateBaseRef c,
const std::string  name = "" 
) [inline, static]
template<typename CMP >
static void combiner::helpers::ShallowClone::addDaughter ( CMP &  cmp,
const reco::CandidatePtr c,
std::string  name 
) [inline, static]

Definition at line 27 of file NamedCandCombiner.h.

                                                                                     {
        if(c->numberOfDaughters()==0)
          cmp.addDaughter(reco::ShallowClonePtrCandidate(c), name);
        else
          cmp.addDaughter(*c, name);
      }
static void combiner::helpers::ShallowClone::addDaughter ( reco::CompositeCandidate cmp,
const reco::CandidateBaseRef c,
const std::string  name = "" 
) [inline, static]

Definition at line 29 of file CandCombiner.h.

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

                                                                                                                       {
        if(c->numberOfDaughters()==0)
          cmp.addDaughter(reco::ShallowCloneCandidate(c), name);
        else
          cmp.addDaughter(*c, name);
      }
template<typename CMP >
static void combiner::helpers::ShallowClone::addDaughter ( CMP &  cmp,
const reco::CandidatePtr c,
std::string  name 
) [inline, static]

Definition at line 27 of file NamedCandCombiner.h.

                                                                                     {
        if(c->numberOfDaughters()==0)
          cmp.addDaughter(reco::ShallowClonePtrCandidate(c), name);
        else
          cmp.addDaughter(*c, name);
      }