ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
checkRpcDigits.RpcSDO Class Reference
Inheritance diagram for checkRpcDigits.RpcSDO:
Collaboration diagram for checkRpcDigits.RpcSDO:

Public Member Functions

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)
 

Private Attributes

 __barcode
 
 __id
 
 __globPos
 
 __locPos
 
 __time
 

Detailed Description

Definition at line 50 of file checkRpcDigits.py.

Constructor & Destructor Documentation

◆ __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)
62 
63  self.__barcode = barcode

Member Function Documentation

◆ __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
48 

◆ __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()),
69  time = self.time(),
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)

Definition at line 64 of file checkRpcDigits.py.

64  def barcode (self):
65  return self.__barcode
66 

◆ globalPosition()

def checkRpcDigits.RpcDigit.globalPosition (   self)
inherited

Definition at line 28 of file checkRpcDigits.py.

28  def globalPosition(self):
29  return self.__globPos
30 

◆ identify()

def checkRpcDigits.RpcDigit.identify (   self)
inherited

Definition at line 25 of file checkRpcDigits.py.

25  def identify(self):
26  return self.__id
27 

◆ localPosition()

def checkRpcDigits.RpcDigit.localPosition (   self)
inherited

Definition at line 31 of file checkRpcDigits.py.

31  def localPosition(self):
32  return self.__locPos
33 

◆ time()

def checkRpcDigits.RpcDigit.time (   self)
inherited

Definition at line 34 of file checkRpcDigits.py.

34  def time(self):
35  return self.__time
36 

Member Data Documentation

◆ __barcode

checkRpcDigits.RpcSDO.__barcode
private

Definition at line 58 of file checkRpcDigits.py.

◆ __globPos

checkRpcDigits.RpcDigit.__globPos
privateinherited

Definition at line 14 of file checkRpcDigits.py.

◆ __id

checkRpcDigits.RpcDigit.__id
privateinherited

Definition at line 10 of file checkRpcDigits.py.

◆ __locPos

checkRpcDigits.RpcDigit.__locPos
privateinherited

Definition at line 15 of file checkRpcDigits.py.

◆ __time

checkRpcDigits.RpcDigit.__time
privateinherited

Definition at line 16 of file checkRpcDigits.py.


The documentation for this class was generated from the following file:
xAOD::identify
const Identifier & identify(const UncalibratedMeasurement *meas)
Returns the associated identifier from the muon measurement.
Definition: MuonSpectrometer/MuonPhaseII/Event/xAOD/xAODMuonPrepData/Root/UtilFunctions.cxx:61
vtune_athena.format
format
Definition: vtune_athena.py:14
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
HepMC::barcode
int barcode(const T *p)
Definition: Barcode.h:16
Monitored::Y
@ Y
Definition: HistogramFillerUtils.h:24
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
str
Definition: BTagTrackIpAccessor.cxx:11