CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
cms::DDSpecParRegistry Struct Reference

#include <DDSpecParRegistry.h>

Public Member Functions

void filter (DDSpecParRefs &, std::string_view, std::string_view) const
 

Public Attributes

DDSpecParMap specpars
 

Detailed Description

Definition at line 27 of file DDSpecParRegistry.h.

Member Function Documentation

void DDSpecParRegistry::filter ( DDSpecParRefs ,
std::string_view  ,
std::string_view   
) const

Definition at line 36 of file DDSpecparRegistry.cc.

References begin, end, runEdmFileComparison::found, gen::k, and checklumidiff::l.

Referenced by DDTestSpecParsFilter::analyze(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), DTGeometryESProducer::setupGeometry(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().

37  {
38 
39  bool found(false);
40  for_each(begin(specpars), end(specpars), [&refs, &attribute,
41  &value, &found](const auto& k) {
42  found = false;
43  for_each(begin(k.second.spars), end(k.second.spars), [&](const auto& l) {
44  if(l.first == attribute) {
45  for_each(begin(l.second), end(l.second), [&](const auto& m) {
46  if(m == value)
47  found = true;
48  });
49  }
50  });
51  if(found) {
52  refs.emplace_back(&k.second);
53  }
54  });
55 }
#define end
Definition: vmac.h:39
Definition: value.py:1
int k[5][pyjets_maxn]
#define begin
Definition: vmac.h:32

Member Data Documentation

DDSpecParMap cms::DDSpecParRegistry::specpars