CMS 3D CMS Logo

Typedefs | Functions
edm::path_configuration Namespace Reference

Typedefs

using SchedulingConstructLabelSet = std::unordered_set< std::string, std::hash< std::string >, std::equal_to<> >
 The label is an indicator of a path scheduling construct and not an actual module. More...
 

Functions

std::vector< std::string > configurationToModuleBitPosition (std::vector< std::string >)
 
SchedulingConstructLabelSet const & schedulingConstructLabels ()
 

Typedef Documentation

◆ SchedulingConstructLabelSet

using edm::path_configuration::SchedulingConstructLabelSet = typedef std::unordered_set<std::string, std::hash<std::string>, std::equal_to<> >

The label is an indicator of a path scheduling construct and not an actual module.

Definition at line 32 of file path_configuration.h.

Function Documentation

◆ configurationToModuleBitPosition()

std::vector< std::string > edm::path_configuration::configurationToModuleBitPosition ( std::vector< std::string >  iConfig)

Definition at line 28 of file path_configuration.cc.

References dqmiodumpmetadata::n, and schedulingConstructLabels().

Referenced by HLTConfigData::extract(), and edm::service::TriggerNamesService::TriggerNamesService().

28  {
29  auto const& labelsToRemove = schedulingConstructLabels();
30  iConfig.erase(
31  std::remove_if(iConfig.begin(),
32  iConfig.end(),
33  [&labelsToRemove](auto const& n) { return labelsToRemove.find(n) != labelsToRemove.end(); }),
34  iConfig.end());
35  return iConfig;
36  }
SchedulingConstructLabelSet const & schedulingConstructLabels()

◆ schedulingConstructLabels()

SchedulingConstructLabelSet const & edm::path_configuration::schedulingConstructLabels ( )

Definition at line 21 of file path_configuration.cc.

Referenced by configurationToModuleBitPosition().

21  {
22  static const SchedulingConstructLabelSet s_set({{"@"}, {"#"}});
23  return s_set;
24  }
std::unordered_set< std::string, std::hash< std::string >, std::equal_to<> > SchedulingConstructLabelSet
The label is an indicator of a path scheduling construct and not an actual module.