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 67 of file PATUserDataMerger.h.

Member Typedef Documentation

◆ product_type

Definition at line 69 of file PATUserDataMerger.h.

◆ value_type

Definition at line 68 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 71 of file PATUserDataMerger.h.

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

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

getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
heppy_batch.val
val
Definition: heppy_batch.py:351
crabWrapper.key
key
Definition: crabWrapper.py:19