|
None | __init__ (self, stationIndex=-1, stationEta=-1, stationPhi=-1, doubletR=-1, doubletPhi=-1, doubletZ=-1, gasGap=-1, measuresPhi=False, strip=-1, globPosX=-1, globPosY=-1, globPosZ=-1, locPosX=-1, locPosY=-1, time=-1, barcode=-1) |
|
def | barcode (self) |
|
str | __str__ (self) |
|
def | identify (self) |
|
def | globalPosition (self) |
|
def | localPosition (self) |
|
def | time (self) |
|
bool | __eq__ (self, other) |
|
Definition at line 50 of file checkRpcDigits.py.
◆ __init__()
None checkRpcDigits.RpcSDO.__init__ |
( |
|
self, |
|
|
|
stationIndex = -1 , |
|
|
|
stationEta = -1 , |
|
|
|
stationPhi = -1 , |
|
|
|
doubletR = -1 , |
|
|
|
doubletPhi = -1 , |
|
|
|
doubletZ = -1 , |
|
|
|
gasGap = -1 , |
|
|
|
measuresPhi = False , |
|
|
|
strip = -1 , |
|
|
|
globPosX = -1 , |
|
|
|
globPosY = -1 , |
|
|
|
globPosZ = -1 , |
|
|
|
locPosX = -1 , |
|
|
|
locPosY = -1 , |
|
|
|
time = -1 , |
|
|
|
barcode = -1 |
|
) |
| |
Definition at line 51 of file checkRpcDigits.py.
51 def __init__(self, stationIndex=-1, stationEta=-1, stationPhi=-1,
52 doubletR=-1, doubletPhi=-1, doubletZ=-1, gasGap=-1,
53 measuresPhi=False, strip=-1,
54 globPosX=-1, globPosY=-1, globPosZ=-1,
55 locPosX=-1, locPosY=-1,
56 time=-1, barcode = -1) -> None:
57 super().
__init__(stationIndex, stationEta, stationPhi,
58 doubletR, doubletPhi, doubletZ,
59 gasGap, measuresPhi, strip,
60 globPosX, globPosY, globPosZ,
61 locPosX, locPosY, time)
63 self.__barcode = barcode
◆ __eq__()
bool checkRpcDigits.RpcDigit.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
|
inherited |
Definition at line 45 of file checkRpcDigits.py.
45 def __eq__(self, other) -> bool:
46 return self.identify() == other.identify()
and \
47 (self.localPosition() - other.localPosition()).Mod() < 0.01
◆ __str__()
str checkRpcDigits.RpcSDO.__str__ |
( |
|
self | ) |
|
Reimplemented from checkRpcDigits.RpcDigit.
Definition at line 67 of file checkRpcDigits.py.
67 def __str__(self) -> str:
68 return "Rpc SDO {id}, time {time:.2f}, localPos ({locX:.2f}, {locY:.2f}), globalPos ({globX:.2f}, {globY:.2f}, {globZ:.2f}), barcode {barcode}".
format(id =
str(self.identify()),
70 locX = self.localPosition().
X(),
71 locY = self.localPosition().
Y(),
72 globX = self.globalPosition().
X(),
73 globY = self.globalPosition().
Y(),
74 globZ = self.globalPosition().Z(),
75 barcode = self.barcode())
◆ barcode()
def checkRpcDigits.RpcSDO.barcode |
( |
|
self | ) |
|
◆ globalPosition()
def checkRpcDigits.RpcDigit.globalPosition |
( |
|
self | ) |
|
|
inherited |
◆ identify()
def checkRpcDigits.RpcDigit.identify |
( |
|
self | ) |
|
|
inherited |
◆ localPosition()
def checkRpcDigits.RpcDigit.localPosition |
( |
|
self | ) |
|
|
inherited |
◆ time()
def checkRpcDigits.RpcDigit.time |
( |
|
self | ) |
|
|
inherited |
◆ __barcode
checkRpcDigits.RpcSDO.__barcode |
|
private |
◆ __globPos
checkRpcDigits.RpcDigit.__globPos |
|
privateinherited |
◆ __id
checkRpcDigits.RpcDigit.__id |
|
privateinherited |
◆ __locPos
checkRpcDigits.RpcDigit.__locPos |
|
privateinherited |
◆ __time
checkRpcDigits.RpcDigit.__time |
|
privateinherited |
The documentation for this class was generated from the following file: