CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
CAGraph Struct Reference

#include <CAGraph.h>

Public Member Functions

int getLayerId (const std::string &layerName)
 

Public Attributes

std::vector< CALayerPairtheLayerPairs
 
std::vector< CALayertheLayers
 
std::vector< int > theRootLayers
 

Detailed Description

Definition at line 50 of file CAGraph.h.

Member Function Documentation

int CAGraph::getLayerId ( const std::string &  layerName)
inline

Definition at line 51 of file CAGraph.h.

References theLayers.

Referenced by CACut::setCutValuesByLayerIds().

51  {
52  for (const auto &thisLayer : theLayers) {
53  if (thisLayer == layerName)
54  return thisLayer.seqNum();
55  }
56  return -1;
57  }
constexpr char const * layerName[numberOfLayers]
std::vector< CALayer > theLayers
Definition: CAGraph.h:59

Member Data Documentation

std::vector<CALayerPair> CAGraph::theLayerPairs
std::vector<CALayer> CAGraph::theLayers
std::vector<int> CAGraph::theRootLayers