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

Member Typedef Documentation

◆ product_type

Definition at line 60 of file PATUserDataMerger.h.

◆ value_type

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

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

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