CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CALayerPair Struct Reference

#include <CAGraph.h>

Public Member Functions

 CALayerPair (int a, int b)
 
bool operator== (const CALayerPair &otherLayerPair)
 

Public Attributes

std::array< unsigned int, 2 > theFoundCells = {{0, 0}}
 
std::array< int, 2 > theLayers
 

Detailed Description

Definition at line 28 of file CAGraph.h.

Constructor & Destructor Documentation

CALayerPair::CALayerPair ( int  a,
int  b 
)
inline

Definition at line 29 of file CAGraph.h.

References a, and b.

31  {
32  theLayers[0] = a;
33  theLayers[1] = b;
34  }
std::array< int, 2 > theLayers
Definition: CAGraph.h:40
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119

Member Function Documentation

bool CALayerPair::operator== ( const CALayerPair otherLayerPair)
inline

Definition at line 36 of file CAGraph.h.

References theLayers.

36  {
37  return (theLayers[0] == otherLayerPair.theLayers[0]) && (theLayers[1] == otherLayerPair.theLayers[1]);
38  }
std::array< int, 2 > theLayers
Definition: CAGraph.h:40

Member Data Documentation

std::array<unsigned int, 2> CALayerPair::theFoundCells = {{0, 0}}

Definition at line 41 of file CAGraph.h.

std::array<int, 2> CALayerPair::theLayers

Definition at line 40 of file CAGraph.h.

Referenced by operator==().