CMS 3D CMS Logo

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

#include <FTLCluster.h>

Public Member Functions

constexpr int col () const
 
constexpr FTLHitPos ()
 
constexpr FTLHitPos (int row, int col)
 
constexpr FTLHitPos operator+ (const Shift &shift) const
 
constexpr int row () const
 

Private Attributes

int col_
 
int row_
 

Detailed Description

Definition at line 57 of file FTLCluster.h.

Constructor & Destructor Documentation

constexpr FTLCluster::FTLHitPos::FTLHitPos ( )
inline

Definition at line 59 of file FTLCluster.h.

constexpr FTLCluster::FTLHitPos::FTLHitPos ( int  row,
int  col 
)
inline

Definition at line 60 of file FTLCluster.h.

60 : row_(row) , col_(col) {}
constexpr int row() const
Definition: FTLCluster.h:61
constexpr int col() const
Definition: FTLCluster.h:62

Member Function Documentation

constexpr int FTLCluster::FTLHitPos::col ( ) const
inline
constexpr FTLHitPos FTLCluster::FTLHitPos::operator+ ( const Shift shift) const
inline

Definition at line 63 of file FTLCluster.h.

References cuy::col, FTLCluster::Shift::dx(), and FTLCluster::Shift::dy().

63  {
64  return FTLHitPos( row() + shift.dx(), col() + shift.dy());
65  }
constexpr int row() const
Definition: FTLCluster.h:61
constexpr FTLHitPos()
Definition: FTLCluster.h:59
static unsigned int const shift
constexpr int col() const
Definition: FTLCluster.h:62
constexpr int FTLCluster::FTLHitPos::row ( ) const
inline

Member Data Documentation

int FTLCluster::FTLHitPos::col_
private

Definition at line 68 of file FTLCluster.h.

int FTLCluster::FTLHitPos::row_
private

Definition at line 67 of file FTLCluster.h.