2 from RecoLuminosity.LumiDB
import CommonUtil
6 output: [datasource,{lumilsnum:[cmslsnum,instlumi,instlumierror,instlumiquality,beamstatus,beamenergy,numorbit,startorbit,cmsbxindexblob,beamintensityblob_1,beamintensitublob_2,bxlumivalue_occ1,bxlumierror_occ1,bxlumiquality_occ1,bxlumivalue_occ2,bxlumierror_occ2,bxlumiquality_occ2,bxlumivalue_et,bxlumierror_et,bxlumiquality_et]}]
10 for lumilsnum
in range(1,nlumils+1):
17 beamstatus=
'STABLE BEAMS'
20 startorbit=numorbit*lumilsnum
26 cmsbxindex=array.array(
'I')
27 beam1intensity=array.array(
'f')
28 beam2intensity=array.array(
'f')
29 for idx
in range(1,3565):
30 cmsbxindex.append(idx)
31 beam1intensity.append(1.5e09)
32 beam2intensity.append(5.5e09)
36 bxlumivalue=array.array(
'f')
37 bxlumierror=array.array(
'f')
38 bxlumiquality=array.array(
'I')
39 for idx
in range(1,3565):
40 bxlumivalue.append(2.3)
41 bxlumierror.append(0.4)
42 bxlumiquality.append(2)
46 if lumilsnum
not in perlsdata:
47 perlsdata[lumilsnum]=[]
48 perlsdata[lumilsnum].extend([cmslsnum,instlumi,instlumierror,instlumiquality,beamstatus,beamenergy,numorbit,startorbit,cmsbxindexBlob,beam1intensityBlob,beam2intensityBlob,bxlumivalueBlob,bxlumierrorBlob,bxlumiqualityBlob,bxlumivalueBlob,bxlumierrorBlob,bxlumiqualityBlob,bxlumivalueBlob,bxlumierrorBlob,bxlumiqualityBlob])
83 output: [datasource,bitzeroname,bitnameclob,{cmslsnum:[deadtime,bitzerocount,bitzeroprescale,trgcountBlob,trgprescaleBlob]}]
85 o=[
'oracle://cms_orcon_prod/cms_gtmon',
'L1_ZeroBias']
86 bitnameclob=
'L1_ZeroBias,False,L1_SingleHfBitCountsRing1_1,L1_SingleHfBitCountsRing2_1,L1_SingleMu15,L1SingleJet,Jura'
89 for cmslsnum
in range(1,nls+1):
93 trgcounts=array.array(
'I')
94 prescalecounts=array.array(
'I')
95 for i
in range(1,192):
96 trgcounts.append(778899+i)
97 prescalecounts.append(17)
100 if cmslsnum
not in perlsdata:
101 perlsdata[cmslsnum]=[]
102 perlsdata[cmslsnum].extend([deadtime,bitzerocount,bitzeroprescale,trgcountsBlob,prescalecountsBlob])
108 output: [datasource,pathnameclob,{cmslsnum:[inputcountBlob,acceptcountBlob,prescaleBlob]}]
110 o=[
'oracle://cms_orcon_prod/cms_runinfo']
111 pathnameclob=
'HLT_PixelTracks_Multiplicity70,HLT_PixelTracks_Multiplicity85,HLT_PixelTracks_Multiplicity100,HLT_GlobalRunHPDNoise,HLT_TechTrigHCALNoise'
112 o.append(pathnameclob)
114 for cmslsnum
in range(1,nls+1):
115 inputcounts=array.array(
'I')
116 acceptcounts=array.array(
'I')
117 prescalecounts=array.array(
'I')
118 for i
in range(1,201):
119 inputcounts.append(6677889 )
120 acceptcounts.append(3344565)
121 prescalecounts.append(17)
125 if cmslsnum
not in perlsdata:
126 perlsdata[cmslsnum]=[]
127 perlsdata[cmslsnum].extend([inputcountsBlob,acceptcountsBlob,prescalecountsBlob])
133 output:[hltkey,{hltpahtname:l1seed}]
135 o=[
'/cdaq/physics/firstCollisions10/v2.0/HLT_7TeV/V5']
137 hlttrgmap[
'HLT_L1Tech_BSC_halo']=
'4'
138 hlttrgmap[
'HLT_PixelTracks_Multiplicity70']=
'L1_ETT60'
139 hlttrgmap[
'HLT_PixelTracks_Multiplicity85']=
'L1_ETT60'
140 hlttrgmap[
'HLT_PixelTracks_Multiplicity100']=
'L1_ETT100'
141 hlttrgmap[
'HLT_GlobalRunHPDNoise']=
"L1_SingleJet10U_NotBptxOR"
142 hlttrgmap[
'HLT_TechTrigHCALNoise']=
"11 OR 12"
148 output:[l1key,amodetag,egev,hltkey,fillnum,sequence,starttime,stoptime]
150 o=[
'collisioncollision',
'PROTPHYS',3500,
'/cdaq/physics/firstCollisions10/v2.0/HLT_7TeV/V5',1005,
'GLOBAL-RUN']
151 starttime=coral.TimeStamp(2010,11,1,0,0,0,0)
152 stoptime=coral.TimeStamp(2010,11,1,11,0,0,0)
157 if __name__ ==
"__main__":