CMS 3D CMS Logo

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

#include <FTLCluster.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 45 of file FTLCluster.h.

Constructor & Destructor Documentation

◆ Shift() [1/2]

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

Definition at line 47 of file FTLCluster.h.

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

◆ Shift() [2/2]

constexpr FTLCluster::Shift::Shift ( )
inlineconstexpr

Definition at line 48 of file FTLCluster.h.

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

Member Function Documentation

◆ dx()

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

Definition at line 49 of file FTLCluster.h.

49 { return dx_; }

References dx_.

◆ dy()

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

Definition at line 50 of file FTLCluster.h.

50 { return dy_; }

References dy_.

Member Data Documentation

◆ dx_

int FTLCluster::Shift::dx_
private

Definition at line 53 of file FTLCluster.h.

Referenced by dx().

◆ dy_

int FTLCluster::Shift::dy_
private

Definition at line 54 of file FTLCluster.h.

Referenced by dy().

FTLCluster::Shift::dy_
int dy_
Definition: FTLCluster.h:54
FTLCluster::Shift::dx
constexpr int dx() const
Definition: FTLCluster.h:49
FTLCluster::Shift::dx_
int dx_
Definition: FTLCluster.h:53
FTLCluster::Shift::dy
constexpr int dy() const
Definition: FTLCluster.h:50