CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Public Attributes
PreprocessParams Struct Reference

Classes

struct  VarInfo
 

Public Member Functions

VarInfo get_info (const std::string &name) const
 

Public Attributes

std::unordered_map< std::string, VarInfovar_info_map
 
unsigned var_length = 0
 
std::vector< std::string > var_names
 

Detailed Description

Definition at line 30 of file BoostedJetMXNetJetTagsProducer.cc.

Member Function Documentation

VarInfo PreprocessParams::get_info ( const std::string &  name) const
inline

Definition at line 42 of file BoostedJetMXNetJetTagsProducer.cc.

References Exception, and dataset::name.

42  {
43  auto item = var_info_map.find(name);
44  if (item != var_info_map.end()) {
45  return item->second;
46  } else {
47  throw cms::Exception("InvalidArgument") << "Cannot find variable info for " << name;
48  }
49  }
std::unordered_map< std::string, VarInfo > var_info_map

Member Data Documentation

std::unordered_map<std::string, VarInfo> PreprocessParams::var_info_map

Definition at line 40 of file BoostedJetMXNetJetTagsProducer.cc.

unsigned PreprocessParams::var_length = 0

Definition at line 38 of file BoostedJetMXNetJetTagsProducer.cc.

std::vector<std::string> PreprocessParams::var_names

Definition at line 39 of file BoostedJetMXNetJetTagsProducer.cc.