|
def | __init__ (self, run, start, runtype, daqconfig, detmask, filetag, rec, datasource) |
|
def | addEORInfo (self, stop, totaltime, cleanstop, maxlb) |
|
def | updateEORInfo (self, daqconfig) |
|
def | addSFOStat (self, partname, recevents, storedevents) |
|
def | addEventCounters (self, partname, l1events, l2events, efevents, storedevents) |
|
def | patchEndTime (self, stop) |
|
def | setErr (self, bit, msg="") |
|
def | addMsg (self, msg) |
|
def | decodeErr (self) |
|
class to hold information from the Params folders
Definition at line 65 of file RunLister.py.
◆ __init__()
def python.RunLister.RunParams.__init__ |
( |
|
self, |
|
|
|
run, |
|
|
|
start, |
|
|
|
runtype, |
|
|
|
daqconfig, |
|
|
|
detmask, |
|
|
|
filetag, |
|
|
|
rec, |
|
|
|
datasource |
|
) |
| |
Definition at line 67 of file RunLister.py.
67 def __init__(self,run,start,runtype,daqconfig,detmask,filetag,rec,datasource):
70 self.runtype=
str(runtype)
71 self.daqconfig=
str(daqconfig)
72 self.detmask=
int(detmask)
73 self.filetag=
str(filetag)
75 self.rec=
bool(
not rec)
76 self.datasource=
str(datasource)
86 self.storedevents=
None
◆ addEORInfo()
def python.RunLister.RunParams.addEORInfo |
( |
|
self, |
|
|
|
stop, |
|
|
|
totaltime, |
|
|
|
cleanstop, |
|
|
|
maxlb |
|
) |
| |
Definition at line 95 of file RunLister.py.
95 def addEORInfo(self,stop,totaltime,cleanstop,maxlb):
97 self.totaltime=totaltime
98 self.cleanstop=cleanstop
◆ addEventCounters()
def python.RunLister.RunParams.addEventCounters |
( |
|
self, |
|
|
|
partname, |
|
|
|
l1events, |
|
|
|
l2events, |
|
|
|
efevents, |
|
|
|
storedevents |
|
) |
| |
Definition at line 115 of file RunLister.py.
115 def addEventCounters(self,partname,l1events,l2events,efevents,storedevents):
116 self.partname=partname
117 self.l1events=l1events
118 self.l2events=l2events
119 self.efevents=efevents
120 if (self.storedevents
is None or self.storedevents==0):
121 self.storedevents=
int(storedevents)
◆ addMsg()
def python.RunLister.RunParams.addMsg |
( |
|
self, |
|
|
|
msg |
|
) |
| |
◆ addSFOStat()
def python.RunLister.RunParams.addSFOStat |
( |
|
self, |
|
|
|
partname, |
|
|
|
recevents, |
|
|
|
storedevents |
|
) |
| |
Definition at line 110 of file RunLister.py.
110 def addSFOStat(self,partname,recevents,storedevents):
111 self.partname=partname
112 self.recevents=
int(recevents)
113 self.storedevents=
int(storedevents)
◆ decodeErr()
def python.RunLister.RunParams.decodeErr |
( |
|
self | ) |
|
Definition at line 137 of file RunLister.py.
138 "Decode the errors for the run into a string representation"
146 errtxt=[
'NoEOR',
'BadEOR',
'NoLBParams',
'BadLBParams',
148 errstr=
'Run %i errcode %i : ' % (self.run,self.errcode)
149 for i
in range(0,len(errtxt)):
150 if (self.errcode & (1 << i)): errstr+=errtxt[i]+
' '
◆ patchEndTime()
def python.RunLister.RunParams.patchEndTime |
( |
|
self, |
|
|
|
stop |
|
) |
| |
Definition at line 123 of file RunLister.py.
123 def patchEndTime(self,stop):
124 "Patch end of run time from Trigger info when missing EOR record"
126 self.totaltime=
int((stop-self.start)/1.E9)
◆ setErr()
def python.RunLister.RunParams.setErr |
( |
|
self, |
|
|
|
bit, |
|
|
|
msg = "" |
|
) |
| |
Definition at line 129 of file RunLister.py.
129 def setErr(self,bit,msg=""):
130 "Set errorcode for bit x"
131 self.errcode=self.errcode | (1 << bit)
132 if (msg!=
""): self.errlist+=[msg]
◆ updateEORInfo()
def python.RunLister.RunParams.updateEORInfo |
( |
|
self, |
|
|
|
daqconfig |
|
) |
| |
Definition at line 102 of file RunLister.py.
102 def updateEORInfo(self,daqconfig):
103 if (self.daqconfig==
"unknown"):
104 self.daqconfig=daqconfig
106 if (self.daqconfig!=daqconfig):
107 if (self.loglevel>1):
108 self.addMsg(
"EOR updates DAQConfig")
◆ cleanstop
python.RunLister.RunParams.cleanstop |
◆ daqconfig
python.RunLister.RunParams.daqconfig |
◆ datasource
python.RunLister.RunParams.datasource |
◆ detmask
python.RunLister.RunParams.detmask |
◆ efevents
python.RunLister.RunParams.efevents |
◆ errcode
python.RunLister.RunParams.errcode |
◆ errlist
python.RunLister.RunParams.errlist |
◆ filetag
python.RunLister.RunParams.filetag |
◆ l1events
python.RunLister.RunParams.l1events |
◆ l2events
python.RunLister.RunParams.l2events |
◆ maxlb
python.RunLister.RunParams.maxlb |
◆ partname
python.RunLister.RunParams.partname |
◆ rec
python.RunLister.RunParams.rec |
◆ recevents
python.RunLister.RunParams.recevents |
◆ run
python.RunLister.RunParams.run |
◆ runtype
python.RunLister.RunParams.runtype |
◆ start
python.RunLister.RunParams.start |
◆ stop
python.RunLister.RunParams.stop |
◆ storedevents
python.RunLister.RunParams.storedevents |
◆ totaltime
python.RunLister.RunParams.totaltime |
The documentation for this class was generated from the following file: