CMS 3D CMS Logo

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 38 of file PATObjectUserDataEmbedder.cc.

Member Typedef Documentation

◆ product_type

Definition at line 40 of file PATObjectUserDataEmbedder.cc.

◆ value_type

Definition at line 39 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 42 of file PATObjectUserDataEmbedder.cc.

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

42  {
43  obj.addUserInt(key, val);
44  }