CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
mtd_digitizer::MTDCellId Struct Reference

#include <MTDDigitizerTypes.h>

Public Member Functions

 MTDCellId ()
 
 MTDCellId (const DetId &id)
 
 MTDCellId (const DetId &id, uint8_t row, uint8_t col)
 
bool operator== (const MTDCellId &eq) const
 

Public Attributes

const uint8_t column_
 
const uint32_t detid_
 
const uint8_t row_
 

Detailed Description

Definition at line 22 of file MTDDigitizerTypes.h.

Constructor & Destructor Documentation

mtd_digitizer::MTDCellId::MTDCellId ( )
inline

Definition at line 23 of file MTDDigitizerTypes.h.

23 : detid_(0), row_(0), column_(0) {}
mtd_digitizer::MTDCellId::MTDCellId ( const DetId id)
inline

Definition at line 26 of file MTDDigitizerTypes.h.

26 : detid_(id.rawId()), row_(0), column_(0) {}
mtd_digitizer::MTDCellId::MTDCellId ( const DetId id,
uint8_t  row,
uint8_t  col 
)
inline

Definition at line 27 of file MTDDigitizerTypes.h.

27 : detid_(id.rawId()), row_(row), column_(col) {}
col
Definition: cuy.py:1010

Member Function Documentation

bool mtd_digitizer::MTDCellId::operator== ( const MTDCellId eq) const
inline

Definition at line 28 of file MTDDigitizerTypes.h.

References column_, detid_, and row_.

28  {
29  return (detid_ == eq.detid_) && (row_ == eq.row_) && (column_ == eq.column_);
30  }

Member Data Documentation

const uint8_t mtd_digitizer::MTDCellId::column_

Definition at line 25 of file MTDDigitizerTypes.h.

Referenced by operator==().

const uint32_t mtd_digitizer::MTDCellId::detid_

Definition at line 24 of file MTDDigitizerTypes.h.

Referenced by operator==().

const uint8_t mtd_digitizer::MTDCellId::row_

Definition at line 25 of file MTDDigitizerTypes.h.

Referenced by operator==().