CMS 3D CMS Logo

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

◆ getLayerId()

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  }
std::vector< CALayer > theLayers
Definition: CAGraph.h:59

Member Data Documentation

◆ theLayerPairs

std::vector<CALayerPair> CAGraph::theLayerPairs

◆ theLayers

std::vector<CALayer> CAGraph::theLayers

◆ theRootLayers

std::vector<int> CAGraph::theRootLayers