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
 
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

◆ get_info() [1/2]

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

Definition at line 38 of file DeepBoostedJetONNXJetTagsProducer.cc.

38  {
39  auto item = var_info_map.find(name);
40  if (item != var_info_map.end()) {
41  return item->second;
42  } else {
43  throw cms::Exception("InvalidArgument") << "Cannot find variable info for " << name;
44  }
45  }

References Exception, B2GTnPMonitor_cfi::item, and Skims_PA_cff::name.

◆ get_info() [2/2]

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

Definition at line 42 of file BoostedJetMXNetJetTagsProducer.cc.

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  }

References Exception, B2GTnPMonitor_cfi::item, Skims_PA_cff::name, and var_info_map.

Member Data Documentation

◆ var_info_map

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

Definition at line 40 of file BoostedJetMXNetJetTagsProducer.cc.

Referenced by get_info().

◆ var_length

unsigned PreprocessParams::var_length = 0

Definition at line 38 of file BoostedJetMXNetJetTagsProducer.cc.

◆ var_names

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

Definition at line 39 of file BoostedJetMXNetJetTagsProducer.cc.

B2GTnPMonitor_cfi.item
item
Definition: B2GTnPMonitor_cfi.py:147
Exception
Definition: hltDiff.cc:246
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
PreprocessParams::var_info_map
std::unordered_map< std::string, VarInfo > var_info_map
Definition: BoostedJetMXNetJetTagsProducer.cc:40