Class to hold luminosity calculation result
Definition at line 55 of file LumiCalculator.py.
◆ __init__()
| python.LumiCalculator.lumiResult.__init__ |
( |
| self, |
|
|
| intL, |
|
|
| l1acc, |
|
|
| l2acc, |
|
|
| l3acc, |
|
|
| livetime, |
|
|
| ngood, |
|
|
| nbadstat ) |
Definition at line 57 of file LumiCalculator.py.
57 def __init__(self,intL,l1acc,l2acc,l3acc,livetime,ngood,nbadstat):
58 self.intL=intL
59 self.l1acc=l1acc
60 self.l2acc=l2acc
61 self.l3acc=l3acc
62 self.livetime=livetime
63 self.ngood=ngood
64 self.nbadstat=nbadstat
65
◆ __add__()
| python.LumiCalculator.lumiResult.__add__ |
( |
| self, |
|
|
| other ) |
Definition at line 66 of file LumiCalculator.py.
66 def __add__(self,other):
67 "addition of two lumiResults - accumulate totals"
68 return lumiResult(self.intL+other.intL,self.l1acc+other.l1acc,self.l2acc+other.l2acc,self.l3acc+other.l3acc,self.livetime+other.livetime,self.ngood+other.ngood,self.nbadstat+other.nbadstat)
69
◆ intL
| python.LumiCalculator.lumiResult.intL = intL |
◆ l1acc
| python.LumiCalculator.lumiResult.l1acc = l1acc |
◆ l2acc
| python.LumiCalculator.lumiResult.l2acc = l2acc |
◆ l3acc
| python.LumiCalculator.lumiResult.l3acc = l3acc |
◆ livetime
| python.LumiCalculator.lumiResult.livetime = livetime |
◆ nbadstat
| python.LumiCalculator.lumiResult.nbadstat = nbadstat |
◆ ngood
| python.LumiCalculator.lumiResult.ngood = ngood |
The documentation for this class was generated from the following file: