![]() |
ATLAS Offline Software
|
#include <TRTHitIdHelper.h>
Public Member Functions | |
| bool | isBarrel (const int &hid) const |
| bool | isEndcap (const int &hid) const |
| bool | isPositive (const int &hid) const |
| bool | isNegative (const int &hid) const |
| int | getRingWheel (const int &hid) const |
| int | getPhiSector (const int &hid) const |
| int | getLayerPlane (const int &hid) const |
| int | getStraw (const int &hid) const |
| int | buildHitId (const int, const int, const int, const int, const int, const int) const |
Static Public Member Functions | |
| static const TRTHitIdHelper * | GetHelper () |
Private Member Functions | |
| TRTHitIdHelper () | |
| void | Initialize () |
| void | InitializeField (const std::string &n, int vmn, int vmx) |
| void | InitializeField (const std::string &n, int nb) |
| void | SetFieldValue (const std::string &name, int n, HitID &targetID) const |
| int | GetFieldValue (const std::string &name, HitID targetID) const |
| void | PrintFields () |
Static Private Member Functions | |
| static void | Print (int id) |
| static void | SetBit (int &i, int bitpos) |
| static void | UnsetBit (int &i, int bitpos) |
| static void | Store (int &id, int value, int first, int field) |
| static int | Retrieve (int id, int first, int field) |
Private Attributes | |
| IdFields | m_IDs |
| int | m_currentStorage |
Definition at line 25 of file TRTHitIdHelper.h.
|
private |
Definition at line 9 of file TRTHitIdHelper.cxx.
| int TRTHitIdHelper::buildHitId | ( | const int | BrlECap, |
| const int | PosNeg, | ||
| const int | RingWheel, | ||
| const int | PhiS, | ||
| const int | LayerPlane, | ||
| const int | Straw ) const |
Definition at line 72 of file TRTHitIdHelper.cxx.
Definition at line 47 of file HitIdHelper.cxx.
|
static |
Definition at line 13 of file TRTHitIdHelper.cxx.
| int TRTHitIdHelper::getLayerPlane | ( | const int & | hid | ) | const |
Definition at line 60 of file TRTHitIdHelper.cxx.
| int TRTHitIdHelper::getPhiSector | ( | const int & | hid | ) | const |
Definition at line 55 of file TRTHitIdHelper.cxx.
| int TRTHitIdHelper::getRingWheel | ( | const int & | hid | ) | const |
Definition at line 50 of file TRTHitIdHelper.cxx.
| int TRTHitIdHelper::getStraw | ( | const int & | hid | ) | const |
Definition at line 65 of file TRTHitIdHelper.cxx.
|
private |
Definition at line 18 of file TRTHitIdHelper.cxx.
|
inherited |
Definition at line 20 of file HitIdHelper.cxx.
|
inherited |
Definition at line 10 of file HitIdHelper.cxx.
| bool TRTHitIdHelper::isBarrel | ( | const int & | hid | ) | const |
Definition at line 29 of file TRTHitIdHelper.cxx.
| bool TRTHitIdHelper::isEndcap | ( | const int & | hid | ) | const |
Definition at line 34 of file TRTHitIdHelper.cxx.
| bool TRTHitIdHelper::isNegative | ( | const int & | hid | ) | const |
Definition at line 44 of file TRTHitIdHelper.cxx.
| bool TRTHitIdHelper::isPositive | ( | const int & | hid | ) | const |
Definition at line 40 of file TRTHitIdHelper.cxx.
|
staticinherited |
Definition at line 72 of file HitIdHelper.cxx.
|
inherited |
|
staticprotectedinherited |
Definition at line 105 of file HitIdHelper.cxx.
|
staticprotectedinherited |
|
inherited |
Definition at line 30 of file HitIdHelper.cxx.
|
staticprotectedinherited |
Definition at line 96 of file HitIdHelper.cxx.
|
staticprotectedinherited |
Definition at line 88 of file HitIdHelper.cxx.
|
protectedinherited |
Definition at line 35 of file HitIdHelper.h.
|
protectedinherited |
Definition at line 34 of file HitIdHelper.h.