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 ( 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:30
std::vector< std::vector< unsigned int > > isOuterHitOfCell
Definition: CAGraph.h:27

Member Function Documentation

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

Definition at line 20 of file CAGraph.h.

References theName.

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

20 { return theName; }
std::string theName
Definition: CAGraph.h:30
bool CALayer::operator== ( const std::string &  otherString)
inline

Definition at line 16 of file CAGraph.h.

References theName.

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

Member Data Documentation

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

Definition at line 27 of file CAGraph.h.

Referenced by CALayer().

std::vector<int> CALayer::theInnerLayerPairs

Definition at line 23 of file CAGraph.h.

std::vector<int> CALayer::theInnerLayers

Definition at line 26 of file CAGraph.h.

std::string CALayer::theName
private

Definition at line 30 of file CAGraph.h.

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

std::vector<int> CALayer::theOuterLayerPairs

Definition at line 22 of file CAGraph.h.

std::vector<int> CALayer::theOuterLayers

Definition at line 25 of file CAGraph.h.