CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Types | Public Member Functions
pat::helper::AddUserIntFromBool Struct Reference

Public Types

typedef edm::ValueMap< value_typeproduct_type
 
typedef bool 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 20 of file PATObjectUserDataEmbedder.cc.

Member Typedef Documentation

◆ product_type

Definition at line 22 of file PATObjectUserDataEmbedder.cc.

◆ value_type

Definition at line 21 of file PATObjectUserDataEmbedder.cc.

Member Function Documentation

◆ addData()

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

Definition at line 24 of file PATObjectUserDataEmbedder.cc.

24  {
25  obj.addUserInt(key, val);
26  }

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