Definition at line 83 of file GetLBInfoFromCOOL.py.
◆ __init__()
def GetLBInfoFromCOOL.Run.__init__ |
( |
|
self, |
|
|
|
run_number, |
|
|
|
lbs |
|
) |
| |
Definition at line 84 of file GetLBInfoFromCOOL.py.
85 self.run_number = run_number
91 self.peak_inst_lumi = 0.0
94 self.peak_inst_lumi =
max([self.peak_inst_lumi, lb.GetInstLumi()])
96 self.int_lumi += lb.GetIntLumi()
98 if self.lb_first
is None:
102 if lb.lb < self.lb_first.lb: self.lb_first = lb
103 if lb.lb > self.lb_last.lb: self.lb_last = lb
◆ AsStr()
def GetLBInfoFromCOOL.Run.AsStr |
( |
|
self | ) |
|
Definition at line 117 of file GetLBInfoFromCOOL.py.
118 ip = (
'%.0f' ,(self.GetPeakInstLumi())).rjust(5)
119 il = (
'%.3f' ,(self.GetIntLumiInvPB())).rjust(8)
121 s =
'Run %s peak lumi=%s int lumi=%s' ,(self.run_number, ip, il)
◆ GetIntLumiInvPB()
def GetLBInfoFromCOOL.Run.GetIntLumiInvPB |
( |
|
self | ) |
|
Definition at line 111 of file GetLBInfoFromCOOL.py.
111 def GetIntLumiInvPB(self):
112 return self.int_lumi*1.0e-6
◆ GetPeakInstLumi()
def GetLBInfoFromCOOL.Run.GetPeakInstLumi |
( |
|
self | ) |
|
◆ GetRunEndTime()
def GetLBInfoFromCOOL.Run.GetRunEndTime |
( |
|
self | ) |
|
◆ GetRunStartTime()
def GetLBInfoFromCOOL.Run.GetRunStartTime |
( |
|
self | ) |
|
Definition at line 105 of file GetLBInfoFromCOOL.py.
105 def GetRunStartTime(self):
106 return self.lb_first.start_time
◆ int_lumi
GetLBInfoFromCOOL.Run.int_lumi |
◆ lb_first
GetLBInfoFromCOOL.Run.lb_first |
◆ lb_last
GetLBInfoFromCOOL.Run.lb_last |
◆ lbs
GetLBInfoFromCOOL.Run.lbs |
◆ peak_inst_lumi
GetLBInfoFromCOOL.Run.peak_inst_lumi |
◆ run_number
GetLBInfoFromCOOL.Run.run_number |
The documentation for this class was generated from the following file: