CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiPixelCluster::Shift Class Reference

#include <SiPixelCluster.h>

Public Member Functions

constexpr int dx () const
 
constexpr int dy () const
 
constexpr Shift ()
 
constexpr Shift (int dx, int dy)
 

Private Attributes

int dx_
 
int dy_
 

Detailed Description

Definition at line 39 of file SiPixelCluster.h.

Constructor & Destructor Documentation

◆ Shift() [1/2]

constexpr SiPixelCluster::Shift::Shift ( int  dx,
int  dy 
)
inlineconstexpr

Definition at line 41 of file SiPixelCluster.h.

41 : dx_(dx), dy_(dy) {}

◆ Shift() [2/2]

constexpr SiPixelCluster::Shift::Shift ( )
inlineconstexpr

Definition at line 42 of file SiPixelCluster.h.

42 : dx_(0), dy_(0) {}

Member Function Documentation

◆ dx()

constexpr int SiPixelCluster::Shift::dx ( ) const
inlineconstexpr

Definition at line 43 of file SiPixelCluster.h.

43 { return dx_; }

References dx_.

◆ dy()

constexpr int SiPixelCluster::Shift::dy ( ) const
inlineconstexpr

Definition at line 44 of file SiPixelCluster.h.

44 { return dy_; }

References dy_.

Member Data Documentation

◆ dx_

int SiPixelCluster::Shift::dx_
private

Definition at line 47 of file SiPixelCluster.h.

Referenced by dx().

◆ dy_

int SiPixelCluster::Shift::dy_
private

Definition at line 48 of file SiPixelCluster.h.

Referenced by dy().

SiPixelCluster::Shift::dx
constexpr int dx() const
Definition: SiPixelCluster.h:43
SiPixelCluster::Shift::dy
constexpr int dy() const
Definition: SiPixelCluster.h:44
SiPixelCluster::Shift::dy_
int dy_
Definition: SiPixelCluster.h:48
SiPixelCluster::Shift::dx_
int dx_
Definition: SiPixelCluster.h:47