CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Attributes
CALayer Struct Reference

#include <CAGraph.h>

Public Member Functions

 CALayer (const std::string &layerName, std::size_t numberOfHits)
 
const std::string & name () const
 
bool operator== (const std::string &otherString)
 

Public Attributes

std::vector< std::vector< unsigned int > > isOuterHitOfCell
 
std::vector< int > theInnerLayerPairs
 
std::vector< int > theInnerLayers
 
std::vector< int > theOuterLayerPairs
 
std::vector< int > theOuterLayers
 

Private Attributes

std::string theName
 

Detailed Description

Definition at line 8 of file CAGraph.h.

Constructor & Destructor Documentation

◆ CALayer()

CALayer::CALayer ( const std::string &  layerName,
std::size_t  numberOfHits 
)
inline

Definition at line 9 of file CAGraph.h.

9  : theName(layerName) {
10  isOuterHitOfCell.resize(numberOfHits);
11  }

References isOuterHitOfCell.

Member Function Documentation

◆ name()

const std::string& CALayer::name ( void  ) const
inline

Definition at line 15 of file CAGraph.h.

15 { return theName; }

References theName.

Referenced by config.CFG::__str__(), and validation.Sample::digest().

◆ operator==()

bool CALayer::operator== ( const std::string &  otherString)
inline

Definition at line 13 of file CAGraph.h.

13 { return otherString == theName; }

References theName.

Member Data Documentation

◆ isOuterHitOfCell

std::vector<std::vector<unsigned int> > CALayer::isOuterHitOfCell

Definition at line 22 of file CAGraph.h.

Referenced by CALayer().

◆ theInnerLayerPairs

std::vector<int> CALayer::theInnerLayerPairs

Definition at line 18 of file CAGraph.h.

◆ theInnerLayers

std::vector<int> CALayer::theInnerLayers

Definition at line 21 of file CAGraph.h.

◆ theName

std::string CALayer::theName
private

Definition at line 25 of file CAGraph.h.

Referenced by name(), and operator==().

◆ theOuterLayerPairs

std::vector<int> CALayer::theOuterLayerPairs

Definition at line 17 of file CAGraph.h.

◆ theOuterLayers

std::vector<int> CALayer::theOuterLayers

Definition at line 20 of file CAGraph.h.

CALayer::theName
std::string theName
Definition: CAGraph.h:25
CALayer::isOuterHitOfCell
std::vector< std::vector< unsigned int > > isOuterHitOfCell
Definition: CAGraph.h:22