CMS 3D CMS Logo

Public Types | Static Public Member Functions

combiner::helpers::ShallowClonePtr Struct Reference

#include <CandCombiner.h>

List of all members.

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 = "" 
) [inline, static]
static void combiner::helpers::ShallowClonePtr::addDaughter ( reco::CompositeCandidate cmp,
const reco::CandidatePtr c,
const std::string  name = "" 
) [inline, static]

Definition at line 38 of file CandCombiner.h.

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

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