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 40 of file SiPixelCluster.h.

Constructor & Destructor Documentation

◆ Shift() [1/2]

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

Definition at line 42 of file SiPixelCluster.h.

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

◆ Shift() [2/2]

constexpr SiPixelCluster::Shift::Shift ( )
inlineconstexpr

Definition at line 43 of file SiPixelCluster.h.

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

Member Function Documentation

◆ dx()

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

Definition at line 44 of file SiPixelCluster.h.

44 { return dx_; }

References dx_.

◆ dy()

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

Definition at line 45 of file SiPixelCluster.h.

45 { return dy_; }

References dy_.

Member Data Documentation

◆ dx_

int SiPixelCluster::Shift::dx_
private

Definition at line 48 of file SiPixelCluster.h.

Referenced by dx().

◆ dy_

int SiPixelCluster::Shift::dy_
private

Definition at line 49 of file SiPixelCluster.h.

Referenced by dy().

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