bit definitions to decode TRT straws in endcap
More...
#include <TRT_EndcapCode.h>
bit definitions to decode TRT straws in endcap
Definition at line 26 of file TRT_EndcapCode.h.
◆ TRT_EndcapCode() [1/3]
| InDetDD::TRT_EndcapCode::TRT_EndcapCode |
( |
| ) |
|
◆ TRT_EndcapCode() [2/3]
| InDetDD::TRT_EndcapCode::TRT_EndcapCode |
( |
unsigned int | isPositive, |
|
|
unsigned int | wheelIndex, |
|
|
unsigned int | strawLayerIndex, |
|
|
unsigned int | phiIndex ) |
◆ TRT_EndcapCode() [3/3]
| InDetDD::TRT_EndcapCode::TRT_EndcapCode |
( |
const TRT_EndcapCode & | right | ) |
|
◆ ~TRT_EndcapCode()
| InDetDD::TRT_EndcapCode::~TRT_EndcapCode |
( |
| ) |
|
|
default |
◆ getKey()
| unsigned int InDetDD::TRT_EndcapCode::getKey |
( |
| ) |
const |
|
inline |
◆ getName()
| std::string InDetDD::TRT_EndcapCode::getName |
( |
| ) |
const |
◆ getPhiIndex()
| unsigned int InDetDD::TRT_EndcapCode::getPhiIndex |
( |
| ) |
const |
|
inline |
Definition at line 95 of file TRT_EndcapCode.h.
95 {
96 unsigned int ret =
m_key;
98 }
static const int PHIPOS_SHIFT
static const int PHIPOS_MASK
◆ getStrawLayerIndex()
| unsigned int InDetDD::TRT_EndcapCode::getStrawLayerIndex |
( |
| ) |
const |
|
inline |
Definition at line 90 of file TRT_EndcapCode.h.
90 {
91 unsigned int ret =
m_key;
93 }
static const int STRAWLAYER_MASK
static const int STRAWLAYER_SHIFT
◆ getWheelIndex()
| unsigned int InDetDD::TRT_EndcapCode::getWheelIndex |
( |
| ) |
const |
|
inline |
Definition at line 84 of file TRT_EndcapCode.h.
84 {
85 unsigned int ret =
m_key;
87 }
static const int WHEEL_MASK
static const int WHEEL_SHIFT
◆ isPosZ()
| unsigned int InDetDD::TRT_EndcapCode::isPosZ |
( |
| ) |
const |
|
inline |
◆ operator!=()
| bool InDetDD::TRT_EndcapCode::operator!= |
( |
const TRT_EndcapCode & | right | ) |
const |
|
inline |
Definition at line 110 of file TRT_EndcapCode.h.
111 {
112 return (
getKey() != right.getKey());
113 }
unsigned int getKey() const
◆ operator<()
| bool InDetDD::TRT_EndcapCode::operator< |
( |
const TRT_EndcapCode & | right | ) |
const |
|
inline |
◆ operator=()
Definition at line 52 of file TRT_EndcapCode.cxx.
53{
54 if (this != &right){
55 m_key = right.getKey();
56 }
57 return *this;
58}
◆ operator==()
| bool InDetDD::TRT_EndcapCode::operator== |
( |
const TRT_EndcapCode & | right | ) |
const |
|
inline |
◆ operator>()
| bool InDetDD::TRT_EndcapCode::operator> |
( |
const TRT_EndcapCode & | right | ) |
const |
|
inline |
◆ m_key
| unsigned short int InDetDD::TRT_EndcapCode::m_key |
|
private |
◆ PHIPOS_MASK
| const int InDetDD::TRT_EndcapCode::PHIPOS_MASK = 0x0000001F |
|
staticprivate |
◆ PHIPOS_SHIFT
| const int InDetDD::TRT_EndcapCode::PHIPOS_SHIFT = 11 |
|
staticprivate |
◆ STRAWLAYER_MASK
| const int InDetDD::TRT_EndcapCode::STRAWLAYER_MASK = 0x0000001F |
|
staticprivate |
◆ STRAWLAYER_SHIFT
| const int InDetDD::TRT_EndcapCode::STRAWLAYER_SHIFT = 6 |
|
staticprivate |
◆ WHEEL_MASK
| const int InDetDD::TRT_EndcapCode::WHEEL_MASK = 0x0000001F |
|
staticprivate |
◆ WHEEL_SHIFT
| const int InDetDD::TRT_EndcapCode::WHEEL_SHIFT = 1 |
|
staticprivate |
◆ Z_MASK
| const int InDetDD::TRT_EndcapCode::Z_MASK = 0x00000001 |
|
staticprivate |
◆ Z_SHIFT
| const int InDetDD::TRT_EndcapCode::Z_SHIFT = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: