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 9 of file CAGraph.h.

References isOuterHitOfCell.

9  : theName(layerName) {
10  isOuterHitOfCell.resize(numberOfHits);
11  }
std::string theName
Definition: CAGraph.h:25
std::vector< std::vector< unsigned int > > isOuterHitOfCell
Definition: CAGraph.h:22

Member Function Documentation

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

Definition at line 15 of file CAGraph.h.

References theName.

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

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

Definition at line 13 of file CAGraph.h.

References theName.

13 { return otherString == theName; }
std::string theName
Definition: CAGraph.h:25

Member Data Documentation

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

Definition at line 22 of file CAGraph.h.

Referenced by CALayer().

std::vector<int> CALayer::theInnerLayerPairs

Definition at line 18 of file CAGraph.h.

std::vector<int> CALayer::theInnerLayers

Definition at line 21 of file CAGraph.h.

std::string CALayer::theName
private

Definition at line 25 of file CAGraph.h.

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

std::vector<int> CALayer::theOuterLayerPairs

Definition at line 17 of file CAGraph.h.

std::vector<int> CALayer::theOuterLayers

Definition at line 20 of file CAGraph.h.