CMS 3D CMS Logo

Static Public Member Functions

edm::helper::CandMasterKeyReference Struct Reference

#include <CandAssociation.h>

List of all members.

Static Public Member Functions

template<typename CandRef >
static const CandRef & get (const CandRef &t, edm::ProductID id)

Detailed Description

Definition at line 13 of file CandAssociation.h.


Member Function Documentation

template<typename CandRef >
static const CandRef& edm::helper::CandMasterKeyReference::get ( const CandRef &  t,
edm::ProductID  id 
) [inline, static]

Definition at line 15 of file CandAssociation.h.

References lumiQTWidget::t.

                                                                       { 
        if ( id == t.id() ) return t;
        else return t->masterClone().template castTo<CandRef>(); 
      }