ATLAS Offline Software
Functions | Variables
python.BunchCrossingCondAlgTest Namespace Reference

Functions

def createBCMask1 ()
 
def createBCMask2 ()
 

Variables

string copycmd = 'AtlCoolCopy "COOLONL_TDAQ/CONDBR2" "sqlite://;schema=test.db;dbname=CONDBR2" -c -f /TDAQ/OLC/LHC/FILLPARAMS -ts 1500867637 -tu 1500867638 -a -nts 0 -ntu 2'
 
 stat
 
 out
 
 db
 
 folder
 
def d1 = createBCMask1()
 
def d2 = createBCMask2()
 
int onesec = 1000000000
 
 iovMin
 
 iovMax
 
 flags = initConfigFlags()
 
 Files
 
 isMC
 
 BunchStructureSource
 
 DatabaseInstance
 
 GlobalTag
 
 AtlasVersion
 
 result = MainServicesCfg(flags)
 
 Folders
 
 OutputLevel
 
 BunchCrossingCondTest = CompFactory.BunchCrossingCondTest
 

Function Documentation

◆ createBCMask1()

def python.BunchCrossingCondAlgTest.createBCMask1 ( )

Definition at line 12 of file BunchCrossingCondAlgTest.py.

12 def createBCMask1():
13  mask=[]
14  #pre-fill with zero
15  for i in range(0,3564):
16  mask.append(0x0)
17 
18  #A train across the wrap-around:
19  for i in range (0,25):
20  mask[i]=0x3
21 
22  for i in range (3550,3564):
23  mask[i]=0x3
24 
25  #A short sequence of bunches that doesn't qualify as train
26  for i in range (1000,1030):
27 
28  mask[i]=0x3
29  return mask
30 
31 

◆ createBCMask2()

def python.BunchCrossingCondAlgTest.createBCMask2 ( )

Definition at line 32 of file BunchCrossingCondAlgTest.py.

32 def createBCMask2():
33  mask=[]
34  #pre-fill with zero
35  for i in range(0,3564):
36  mask.append(0x0)
37 
38  t8b4e=[0x3,0x3,0x3,0x3, 0x3,0x3,0x3,0x3, 0x0,0x0,0x0,0x0]
39 
40  for i in range(0,20):
41  #create a train of 20 8be4 groups start
42  mask[100+i*12:100+(i+1)*12]=t8b4e
43 
44  return mask
45 
46 
47 #First, create a dummy database to work with:
48 
49 #Delete any previous instance, if there is any:
50 try:
51  os.remove("test.db")

Variable Documentation

◆ AtlasVersion

python.BunchCrossingCondAlgTest.AtlasVersion

Definition at line 87 of file BunchCrossingCondAlgTest.py.

◆ BunchCrossingCondTest

python.BunchCrossingCondAlgTest.BunchCrossingCondTest = CompFactory.BunchCrossingCondTest

Definition at line 110 of file BunchCrossingCondAlgTest.py.

◆ BunchStructureSource

python.BunchCrossingCondAlgTest.BunchStructureSource

Definition at line 83 of file BunchCrossingCondAlgTest.py.

◆ copycmd

string python.BunchCrossingCondAlgTest.copycmd = 'AtlCoolCopy "COOLONL_TDAQ/CONDBR2" "sqlite://;schema=test.db;dbname=CONDBR2" -c -f /TDAQ/OLC/LHC/FILLPARAMS -ts 1500867637 -tu 1500867638 -a -nts 0 -ntu 2'

Definition at line 56 of file BunchCrossingCondAlgTest.py.

◆ d1

python.BunchCrossingCondAlgTest.d1 = createBCMask1()

Definition at line 67 of file BunchCrossingCondAlgTest.py.

◆ d2

def python.BunchCrossingCondAlgTest.d2 = createBCMask2()

Definition at line 68 of file BunchCrossingCondAlgTest.py.

◆ DatabaseInstance

python.BunchCrossingCondAlgTest.DatabaseInstance

Definition at line 84 of file BunchCrossingCondAlgTest.py.

◆ db

python.BunchCrossingCondAlgTest.db

Definition at line 65 of file BunchCrossingCondAlgTest.py.

◆ Files

python.BunchCrossingCondAlgTest.Files

Definition at line 81 of file BunchCrossingCondAlgTest.py.

◆ flags

python.BunchCrossingCondAlgTest.flags = initConfigFlags()

Definition at line 80 of file BunchCrossingCondAlgTest.py.

◆ folder

python.BunchCrossingCondAlgTest.folder

Definition at line 65 of file BunchCrossingCondAlgTest.py.

◆ Folders

python.BunchCrossingCondAlgTest.Folders

Definition at line 107 of file BunchCrossingCondAlgTest.py.

◆ GlobalTag

python.BunchCrossingCondAlgTest.GlobalTag

Definition at line 85 of file BunchCrossingCondAlgTest.py.

◆ iovMax

python.BunchCrossingCondAlgTest.iovMax

Definition at line 73 of file BunchCrossingCondAlgTest.py.

◆ iovMin

python.BunchCrossingCondAlgTest.iovMin

Definition at line 73 of file BunchCrossingCondAlgTest.py.

◆ isMC

python.BunchCrossingCondAlgTest.isMC

Definition at line 82 of file BunchCrossingCondAlgTest.py.

◆ onesec

python.BunchCrossingCondAlgTest.onesec = 1000000000

Definition at line 70 of file BunchCrossingCondAlgTest.py.

◆ out

python.BunchCrossingCondAlgTest.out

Definition at line 59 of file BunchCrossingCondAlgTest.py.

◆ OutputLevel

python.BunchCrossingCondAlgTest.OutputLevel

Definition at line 108 of file BunchCrossingCondAlgTest.py.

◆ result

python.BunchCrossingCondAlgTest.result = MainServicesCfg(flags)

Definition at line 90 of file BunchCrossingCondAlgTest.py.

◆ stat

python.BunchCrossingCondAlgTest.stat

Definition at line 59 of file BunchCrossingCondAlgTest.py.

python.BunchCrossingCondAlgTest.createBCMask1
def createBCMask1()
Definition: BunchCrossingCondAlgTest.py:12
python.BunchCrossingCondAlgTest.createBCMask2
def createBCMask2()
Definition: BunchCrossingCondAlgTest.py:32
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195