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, const int seqNum, std::size_t numberOfHits)
 
const std::string & name () const
 
bool operator== (const std::string &otherString) const
 
bool operator== (const int otherSeqNum) const
 
const int seqNum () const
 

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
 
int theSeqNum
 

Detailed Description

Definition at line 8 of file CAGraph.h.

Constructor & Destructor Documentation

◆ CALayer()

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

Definition at line 9 of file CAGraph.h.

References isOuterHitOfCell.

11  isOuterHitOfCell.resize(numberOfHits);
12  }
constexpr char const * layerName[numberOfLayers]
std::string theName
Definition: CAGraph.h:30
const int seqNum() const
Definition: CAGraph.h:20
int theSeqNum
Definition: CAGraph.h:31
std::vector< std::vector< unsigned int > > isOuterHitOfCell
Definition: CAGraph.h:27

Member Function Documentation

◆ name()

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

Definition at line 18 of file CAGraph.h.

References theName.

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

18 { return theName; }
std::string theName
Definition: CAGraph.h:30

◆ operator==() [1/2]

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

Definition at line 14 of file CAGraph.h.

References theName.

14 { return otherString == theName; }
std::string theName
Definition: CAGraph.h:30

◆ operator==() [2/2]

bool CALayer::operator== ( const int  otherSeqNum) const
inline

Definition at line 16 of file CAGraph.h.

References theSeqNum.

16 { return otherSeqNum == theSeqNum; }
int theSeqNum
Definition: CAGraph.h:31

◆ seqNum()

const int CALayer::seqNum ( ) const
inline

Definition at line 20 of file CAGraph.h.

References theSeqNum.

20 { return theSeqNum; }
int theSeqNum
Definition: CAGraph.h:31

Member Data Documentation

◆ isOuterHitOfCell

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

Definition at line 27 of file CAGraph.h.

Referenced by CALayer().

◆ theInnerLayerPairs

std::vector<int> CALayer::theInnerLayerPairs

Definition at line 23 of file CAGraph.h.

◆ theInnerLayers

std::vector<int> CALayer::theInnerLayers

Definition at line 26 of file CAGraph.h.

◆ theName

std::string CALayer::theName
private

Definition at line 30 of file CAGraph.h.

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

◆ theOuterLayerPairs

std::vector<int> CALayer::theOuterLayerPairs

Definition at line 22 of file CAGraph.h.

◆ theOuterLayers

std::vector<int> CALayer::theOuterLayers

Definition at line 25 of file CAGraph.h.

◆ theSeqNum

int CALayer::theSeqNum
private

Definition at line 31 of file CAGraph.h.

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