CMS 3D CMS Logo

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

#include <PATUserDataMerger.h>

Public Types

typedef edm::ValueMap< value_typeproduct_type
 
typedef edm::Ptr< UserDatavalue_type
 

Public Member Functions

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

Detailed Description

Definition at line 59 of file PATUserDataMerger.h.

Member Typedef Documentation

◆ product_type

Definition at line 61 of file PATUserDataMerger.h.

◆ value_type

Definition at line 60 of file PATUserDataMerger.h.

Member Function Documentation

◆ addData()

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

Definition at line 63 of file PATUserDataMerger.h.

63  {
64  obj.addUserDataFromPtr(key, val);
65  }

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