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 31 of file DeepBoostedJetTagsProducer.cc.

Member Function Documentation

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

Definition at line 44 of file DeepBoostedJetTagsProducer.cc.

References Exception, and dataset::name.

44  {
45  auto item = var_info_map.find(name);
46  if (item != var_info_map.end()){
47  return item->second;
48  } else {
49  throw cms::Exception("InvalidArgument") << "Cannot find variable info for " << name;
50  }
51  }
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 42 of file DeepBoostedJetTagsProducer.cc.

unsigned PreprocessParams::var_length = 0

Definition at line 40 of file DeepBoostedJetTagsProducer.cc.

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

Definition at line 41 of file DeepBoostedJetTagsProducer.cc.