CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 26 of file MTDDigitizerTypes.h.

Constructor & Destructor Documentation

mtd_digitizer::MTDCellId::MTDCellId ( )
inline

Definition at line 27 of file MTDDigitizerTypes.h.

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

Definition at line 30 of file MTDDigitizerTypes.h.

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

Definition at line 31 of file MTDDigitizerTypes.h.

31 : detid_(id.rawId()), row_(row), column_(col) {}
int col
Definition: cuy.py:1009

Member Function Documentation

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

Definition at line 32 of file MTDDigitizerTypes.h.

References column_, detid_, and row_.

32  {
33  return (detid_ == eq.detid_) && (row_ == eq.row_) && (column_ == eq.column_);
34  }

Member Data Documentation

const uint8_t mtd_digitizer::MTDCellId::column_

Definition at line 29 of file MTDDigitizerTypes.h.

Referenced by operator==().

const uint32_t mtd_digitizer::MTDCellId::detid_

Definition at line 28 of file MTDDigitizerTypes.h.

Referenced by operator==().

const uint8_t mtd_digitizer::MTDCellId::row_

Definition at line 29 of file MTDDigitizerTypes.h.

Referenced by operator==().