CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
pat::helper::AddUserCand Struct Reference

#include <PATUserDataMerger.h>

Public Types

typedef edm::ValueMap< value_typeproduct_type
 
typedef reco::CandidatePtr value_type
 

Public Member Functions

template<typename ObjectType >
void addData (ObjectType &obj, const std::string &key, const value_type &val)
 

Detailed Description

Definition at line 66 of file PATUserDataMerger.h.

Member Typedef Documentation

◆ product_type

Definition at line 68 of file PATUserDataMerger.h.

◆ value_type

Definition at line 67 of file PATUserDataMerger.h.

Member Function Documentation

◆ addData()

template<typename ObjectType >
void pat::helper::AddUserCand::addData ( ObjectType &  obj,
const std::string &  key,
const value_type val 
)
inline

Definition at line 70 of file PATUserDataMerger.h.

References crabWrapper::key, getGTfromDQMFile::obj, and heppy_batch::val.

70  {
71  obj.addUserCand(key, val);
72  }