![]() |
ATLAS Offline Software
|
#include <SiHitIdHelper.h>
Public Member Functions | |
| bool | isPixel (const int &hid) const |
| bool | isSCT (const int &hid) const |
| bool | isHGTD (const int &hid) const |
| bool | isPLR (const int &hid) const |
| int | getBarrelEndcap (const int &hid) const |
| int | getLayerDisk (const int &hid) const |
| int | getEtaModule (const int &hid) const |
| int | getPhiModule (const int &hid) const |
| int | getSide (const int &hid) const |
| int | buildHitId (const int, const int, const int, const int, const int, const int) const |
| int | buildHitIdFromStringITk (int part, const std::string &) const |
| int | buildHitIdFromStringHGTD (int part, const std::string &) const |
Static Public Member Functions | |
| static const SiHitIdHelper * | GetHelper () |
Private Member Functions | |
| SiHitIdHelper () | |
| 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 | |
| bool | m_isITkHGTD {} |
| IdFields | m_IDs |
| int | m_currentStorage |
Definition at line 25 of file SiHitIdHelper.h.
|
private |
Definition at line 15 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::buildHitId | ( | const int | Part, |
| const int | BrlECap, | ||
| const int | LayerDisk, | ||
| const int | etaM, | ||
| const int | phiM, | ||
| const int | side ) const |
Definition at line 118 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::buildHitIdFromStringHGTD | ( | int | part, |
| const std::string & | physVolName ) const |
Definition at line 149 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::buildHitIdFromStringITk | ( | int | part, |
| const std::string & | physVolName ) const |
Definition at line 131 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::getBarrelEndcap | ( | const int & | hid | ) | const |
Definition at line 86 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::getEtaModule | ( | const int & | hid | ) | const |
Definition at line 98 of file SiHitIdHelper.cxx.
Definition at line 47 of file HitIdHelper.cxx.
|
static |
Definition at line 19 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::getLayerDisk | ( | const int & | hid | ) | const |
Definition at line 92 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::getPhiModule | ( | const int & | hid | ) | const |
Definition at line 104 of file SiHitIdHelper.cxx.
| int SiHitIdHelper::getSide | ( | const int & | hid | ) | const |
Definition at line 110 of file SiHitIdHelper.cxx.
|
private |
Definition at line 24 of file SiHitIdHelper.cxx.
|
inherited |
Definition at line 20 of file HitIdHelper.cxx.
|
inherited |
Definition at line 10 of file HitIdHelper.cxx.
| bool SiHitIdHelper::isHGTD | ( | const int & | hid | ) | const |
Definition at line 70 of file SiHitIdHelper.cxx.
| bool SiHitIdHelper::isPixel | ( | const int & | hid | ) | const |
Definition at line 58 of file SiHitIdHelper.cxx.
| bool SiHitIdHelper::isPLR | ( | const int & | hid | ) | const |
Definition at line 76 of file SiHitIdHelper.cxx.
| bool SiHitIdHelper::isSCT | ( | const int & | hid | ) | const |
Definition at line 64 of file SiHitIdHelper.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.
|
private |
Definition at line 69 of file SiHitIdHelper.h.