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)
 
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 ( const std::string &  layerName,
std::size_t  numberOfHits 
)
inline

Definition at line 10 of file CAGraph.h.

References isOuterHitOfCell.

11  : theName(layerName)
12  {
13  isOuterHitOfCell.resize(numberOfHits);
14  }
std::string theName
Definition: CAGraph.h:36
std::vector< std::vector< unsigned int > > isOuterHitOfCell
Definition: CAGraph.h:31

Member Function Documentation

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

Definition at line 21 of file CAGraph.h.

References theName.

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

22  {
23  return theName;
24  }
std::string theName
Definition: CAGraph.h:36
bool CALayer::operator== ( const std::string &  otherString)
inline

Definition at line 16 of file CAGraph.h.

References theName.

17  {
18  return otherString == theName;
19  }
std::string theName
Definition: CAGraph.h:36

Member Data Documentation

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

Definition at line 31 of file CAGraph.h.

Referenced by CALayer().

std::vector<int> CALayer::theInnerLayerPairs

Definition at line 27 of file CAGraph.h.

std::vector<int> CALayer::theInnerLayers

Definition at line 30 of file CAGraph.h.

std::string CALayer::theName
private

Definition at line 36 of file CAGraph.h.

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

std::vector<int> CALayer::theOuterLayerPairs

Definition at line 26 of file CAGraph.h.

std::vector<int> CALayer::theOuterLayers

Definition at line 29 of file CAGraph.h.