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

Constructor & Destructor Documentation

◆ Shift() [1/2]

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

Definition at line 44 of file SiPixelCluster.h.

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

◆ Shift() [2/2]

constexpr SiPixelCluster::Shift::Shift ( )
inlineconstexpr

Definition at line 45 of file SiPixelCluster.h.

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

Member Function Documentation

◆ dx()

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

Definition at line 46 of file SiPixelCluster.h.

46 { return dx_; }

References dx_.

◆ dy()

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

Definition at line 47 of file SiPixelCluster.h.

47 { return dy_; }

References dy_.

Member Data Documentation

◆ dx_

int SiPixelCluster::Shift::dx_
private

Definition at line 50 of file SiPixelCluster.h.

Referenced by dx().

◆ dy_

int SiPixelCluster::Shift::dy_
private

Definition at line 51 of file SiPixelCluster.h.

Referenced by dy().

SiPixelCluster::Shift::dx
constexpr int dx() const
Definition: SiPixelCluster.h:46
SiPixelCluster::Shift::dy
constexpr int dy() const
Definition: SiPixelCluster.h:47
SiPixelCluster::Shift::dy_
int dy_
Definition: SiPixelCluster.h:51
SiPixelCluster::Shift::dx_
int dx_
Definition: SiPixelCluster.h:50