◆ __init__()
def StandaloneBunchgroupHandler.BunchgroupRunData.__init__ |
( |
|
self, |
|
|
|
run |
|
) |
| |
◆ createLookup()
def StandaloneBunchgroupHandler.BunchgroupRunData.createLookup |
( |
|
self, |
|
|
|
lb, |
|
|
|
bcidRange |
|
) |
| |
Definition at line 37 of file StandaloneBunchgroupHandler.py.
37 def createLookup(self,lb,bcidRange):
39 print(
"createLookup called")
40 self.bcidLookupBefore[lb] = []
41 self.bcidLookupAfter[lb] = []
42 for bcid
in range(3564):
45 for offset
in range(1,bcidRange+1):
46 checkBcid = bcid + offset
49 if checkBcid
in self.physicsBunchgroupBcids[lb]:
50 bcidListAfter.append(1)
52 bcidListAfter.append(0)
53 self.bcidLookupAfter[lb].
append(bcidListAfter)
55 for offset
in range(1,bcidRange+1):
56 checkBcid = bcid - offset
59 if checkBcid
in self.physicsBunchgroupBcids[lb]:
60 bcidListBefore.append(1)
62 bcidListBefore.append(0)
63 self.bcidLookupBefore[lb].
append(bcidListBefore)
66 print(
"Bg run data, Run",self.run,
"LB",lb)
67 for bcid
in range(3564):
68 print(
"BCID",bcid,
"before",self.bcidLookupBefore[lb][bcid])
69 print(
"BCID",bcid,
"after",self.bcidLookupAfter[lb][bcid])
◆ bcidLookupAfter
StandaloneBunchgroupHandler.BunchgroupRunData.bcidLookupAfter |
◆ bcidLookupBefore
StandaloneBunchgroupHandler.BunchgroupRunData.bcidLookupBefore |
◆ lbLookup
StandaloneBunchgroupHandler.BunchgroupRunData.lbLookup |
◆ physicsBunchgroupBcids
StandaloneBunchgroupHandler.BunchgroupRunData.physicsBunchgroupBcids |
◆ run
StandaloneBunchgroupHandler.BunchgroupRunData.run |
◆ verbose
StandaloneBunchgroupHandler.BunchgroupRunData.verbose |
The documentation for this class was generated from the following file: