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.

51  {
52  for (const auto &thisLayer : theLayers) {
53  if (thisLayer == layerName)
54  return thisLayer.seqNum();
55  }
56  return -1;
57  }

References phase1PixelTopology::layerName, and theLayers.

Referenced by CACut::setCutValuesByLayerIds().

Member Data Documentation

◆ theLayerPairs

std::vector<CALayerPair> CAGraph::theLayerPairs

◆ theLayers

std::vector<CALayer> CAGraph::theLayers

◆ theRootLayers

std::vector<int> CAGraph::theRootLayers
CAGraph::theLayers
std::vector< CALayer > theLayers
Definition: CAGraph.h:59
phase1PixelTopology::layerName
constexpr char const * layerName[numberOfLayers]
Definition: phase1PixelTopology.h:37