|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef TRT_EndcapCode_h
12 #define TRT_EndcapCode_h 1
33 unsigned int wheelIndex,
34 unsigned int strawLayerIndex,
47 unsigned int isPosZ()
const;
51 unsigned int getKey()
const;
80 unsigned int ret =
m_key;
85 unsigned int ret =
m_key;
91 unsigned int ret =
m_key;
96 unsigned int ret =
m_key;
129 if (
code.isPosZ())
os <<
'+';
132 unsigned int wheel =
code.getWheelIndex();
135 os <<
code.getStrawLayerIndex()<<
"/";
unsigned int getStrawLayerIndex() const
static const int PHIPOS_MASK
bool operator==(const TRT_EndcapCode &right) const
static const int WHEEL_MASK
TRT_EndcapCode & operator=(const TRT_EndcapCode &right)
static const int PHIPOS_SHIFT
bool operator>(const TRT_EndcapCode &right) const
unsigned int getWheelIndex() const
std::string getName() const
~TRT_EndcapCode()=default
unsigned int isPosZ() const
static const int STRAWLAYER_SHIFT
std::ostream & operator<<(std::ostream &os, const InDetDD::TRT_EndcapCode &code)
TRT_EndcapCode(unsigned int isPositive, unsigned int wheelIndex, unsigned int strawLayerIndex, unsigned int phiIndex)
unsigned int getPhiIndex() const
static const int WHEEL_SHIFT
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
bool operator<(const TRT_EndcapCode &right) const
bool operator!=(const TRT_EndcapCode &right) const
unsigned int getKey() const
static const int STRAWLAYER_MASK