|
def | __init__ (self, eta=0, phi=0, phimin=0, phimax=0, etamin=0, etamax=0, etacode=0, phicode=0, roiid=0) |
|
def | fromROIelement (cls, roi) |
|
def | asXML (self, depth) |
|
def | getStats (self, stats) |
|
Definition at line 15 of file ReadRPCRun2DataFile.py.
◆ __init__()
def ReadRPCRun2DataFile.ROI.__init__ |
( |
|
self, |
|
|
|
eta = 0 , |
|
|
|
phi = 0 , |
|
|
|
phimin = 0 , |
|
|
|
phimax = 0 , |
|
|
|
etamin = 0 , |
|
|
|
etamax = 0 , |
|
|
|
etacode = 0 , |
|
|
|
phicode = 0 , |
|
|
|
roiid = 0 |
|
) |
| |
Definition at line 16 of file ReadRPCRun2DataFile.py.
16 def __init__( self, eta=0, phi=0, phimin=0, phimax=0, etamin=0, etamax=0,
17 etacode=0, phicode=0, roiid=0 ):
24 self.etacode = etacode
25 self.phicode = phicode
◆ asXML()
def ReadRPCRun2DataFile.ROI.asXML |
( |
|
self, |
|
|
|
depth |
|
) |
| |
Definition at line 33 of file ReadRPCRun2DataFile.py.
33 def asXML(self,depth):
34 s =
' ' * depth +
'<ROI eta="%f" phi="%f" etacode="0x%s" phicode="0x%s" etamin="%f" etamax="%f" phimin="%f" phimax="%f" roiid="%i"/>\n' % (self.eta, self.phi, self.etacode, self.phicode, self.etamin, self.etamax, self.phimin, self.phimax, self.roiid )
◆ fromROIelement()
def ReadRPCRun2DataFile.ROI.fromROIelement |
( |
|
cls, |
|
|
|
roi |
|
) |
| |
Definition at line 29 of file ReadRPCRun2DataFile.py.
29 def fromROIelement(cls,roi):
30 newroi =
cls( eta=
float(roi[
'eta']), phi=
float(roi[
'phi']), phimin=
float(roi[
'phimin']), phimax=
float(roi[
'phimax']), etamin=
float(roi[
'etamin']), etamax=
float(roi[
'etamax']),
31 etacode=
int(roi[
'etacode'],16), phicode=
int(roi[
'phicode'],16), roiid=
int(roi[
'roiid']))
◆ getStats()
def ReadRPCRun2DataFile.ROI.getStats |
( |
|
self, |
|
|
|
stats |
|
) |
| |
◆ eta
ReadRPCRun2DataFile.ROI.eta |
◆ etacode
ReadRPCRun2DataFile.ROI.etacode |
◆ etamax
ReadRPCRun2DataFile.ROI.etamax |
◆ etamin
ReadRPCRun2DataFile.ROI.etamin |
◆ phi
ReadRPCRun2DataFile.ROI.phi |
◆ phicode
ReadRPCRun2DataFile.ROI.phicode |
◆ phimax
ReadRPCRun2DataFile.ROI.phimax |
◆ phimin
ReadRPCRun2DataFile.ROI.phimin |
◆ roiid
ReadRPCRun2DataFile.ROI.roiid |
The documentation for this class was generated from the following file: