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

Constructor & Destructor Documentation

◆ CALayerPair()

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

Definition at line 35 of file CAGraph.h.

37  {
38  theLayers[0] = a;
39  theLayers[1] = b;
40  }

References a, b, and theLayers.

Member Function Documentation

◆ operator==()

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

Definition at line 42 of file CAGraph.h.

42  {
43  return (theLayers[0] == otherLayerPair.theLayers[0]) && (theLayers[1] == otherLayerPair.theLayers[1]);
44  }

References theLayers.

Member Data Documentation

◆ theFoundCells

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

Definition at line 47 of file CAGraph.h.

◆ theLayers

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

Definition at line 46 of file CAGraph.h.

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

CALayerPair::theLayers
std::array< int, 2 > theLayers
Definition: CAGraph.h:46
b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119