CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SelectiveReadoutTask_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 dccSizeBinEdges = []
4 for i in range(11) :
5  dccSizeBinEdges.append(0.608 / 10. * i)
6 for i in range(11, 79) :
7  dccSizeBinEdges.append(0.608 * (i - 10.))
8 
9 ecalSelectiveReadoutTask = cms.untracked.PSet(
10  params = cms.untracked.PSet(
11  DCCZS1stSample = cms.untracked.int32(2),
12  useCondDb = cms.untracked.bool(False),
13  ZSFIRWeights = cms.untracked.vdouble(-0.374, -0.374, -0.3629, 0.2721, 0.4681, 0.3707)
14  ),
15  MEs = cms.untracked.PSet(
16  HighIntOutput = cms.untracked.PSet(
17  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT high interest ZS filter output%(suffix)s'),
18  kind = cms.untracked.string('TH1F'),
19  otype = cms.untracked.string('Ecal3P'),
20  xaxis = cms.untracked.PSet(
21  high = cms.untracked.double(60.0),
22  nbins = cms.untracked.int32(100),
23  low = cms.untracked.double(-60.0),
24  title = cms.untracked.string('ADC counts*4')
25  ),
26  btype = cms.untracked.string('User'),
27  description = cms.untracked.string('Output of the ZS filter for high interest towers.')
28  ),
29  ZS1Map = cms.untracked.PSet(
30  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower ZS1 counter%(suffix)s'),
31  kind = cms.untracked.string('TH2F'),
32  otype = cms.untracked.string('Ecal3P'),
33  btype = cms.untracked.string('SuperCrystal'),
34  description = cms.untracked.string('Tower occupancy with ZS1 flags.')
35  ),
36  FullReadoutMap = cms.untracked.PSet(
37  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower full readout counter%(suffix)s'),
38  kind = cms.untracked.string('TH2F'),
39  otype = cms.untracked.string('Ecal3P'),
40  btype = cms.untracked.string('SuperCrystal'),
41  description = cms.untracked.string('Tower occupancy with FR flags.')
42  ),
43  ZSFullReadout = cms.untracked.PSet(
44  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT ZS Flagged Fully Readout Number%(suffix)s'),
45  kind = cms.untracked.string('TH1F'),
46  otype = cms.untracked.string('Ecal3P'),
47  xaxis = cms.untracked.PSet(
48  high = cms.untracked.double(20.0),
49  nbins = cms.untracked.int32(20),
50  low = cms.untracked.double(0.0),
51  title = cms.untracked.string('number of towers')
52  ),
53  btype = cms.untracked.string('User'),
54  description = cms.untracked.string('Number of ZS flagged but fully read out towers.')
55  ),
56  ZSFullReadoutMap = cms.untracked.PSet(
57  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT ZS flagged full readout counter%(suffix)s'),
58  kind = cms.untracked.string('TH2F'),
59  otype = cms.untracked.string('Ecal3P'),
60  btype = cms.untracked.string('SuperCrystal'),
61  description = cms.untracked.string('Number of ZS flagged but fully read out towers.')
62  ),
63  FRDroppedMap = cms.untracked.PSet(
64  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT FR flagged dropped counter%(suffix)s'),
65  kind = cms.untracked.string('TH2F'),
66  otype = cms.untracked.string('Ecal3P'),
67  btype = cms.untracked.string('SuperCrystal'),
68  description = cms.untracked.string('Number of FR flagged but dropped towers.')
69  ),
70  LowIntOutput = cms.untracked.PSet(
71  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT low interest ZS filter output%(suffix)s'),
72  kind = cms.untracked.string('TH1F'),
73  otype = cms.untracked.string('Ecal3P'),
74  xaxis = cms.untracked.PSet(
75  high = cms.untracked.double(60.0),
76  nbins = cms.untracked.int32(100),
77  low = cms.untracked.double(-60.0),
78  title = cms.untracked.string('ADC counts*4')
79  ),
80  btype = cms.untracked.string('User'),
81  description = cms.untracked.string('Output of the ZS filter for low interest towers.')
82  ),
83  LowIntPayload = cms.untracked.PSet(
84  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT low interest payload%(suffix)s'),
85  kind = cms.untracked.string('TH1F'),
86  otype = cms.untracked.string('Ecal3P'),
87  xaxis = cms.untracked.PSet(
88  high = cms.untracked.double(3.0),
89  nbins = cms.untracked.int32(100),
90  low = cms.untracked.double(0.0),
91  title = cms.untracked.string('event size (kB)')
92  ),
93  btype = cms.untracked.string('User'),
94  description = cms.untracked.string('Total data size from all low interest towers.')
95  ),
96  RUForcedMap = cms.untracked.PSet(
97  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT RU with forced SR counter%(suffix)s'),
98  kind = cms.untracked.string('TH2F'),
99  otype = cms.untracked.string('Ecal3P'),
100  btype = cms.untracked.string('SuperCrystal'),
101  description = cms.untracked.string('Tower occupancy of FORCED flag.')
102  ),
103  DCCSize = cms.untracked.PSet(
104  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT event size vs DCC'),
105  kind = cms.untracked.string('TH2F'),
106  yaxis = cms.untracked.PSet(
107  edges = cms.untracked.vdouble(dccSizeBinEdges),
108  title = cms.untracked.string('event size (kB)')
109  ),
110  otype = cms.untracked.string('Ecal2P'),
111  btype = cms.untracked.string('DCC'),
112  description = cms.untracked.string('Distribution of the per-DCC data size.')
113  ),
114  DCCSizeProf = cms.untracked.PSet(
115  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT DCC event size'),
116  kind = cms.untracked.string('TProfile'),
117  yaxis = cms.untracked.PSet(
118  title = cms.untracked.string('event size (kB)')
119  ),
120  otype = cms.untracked.string('Ecal2P'),
121  btype = cms.untracked.string('DCC'),
122  description = cms.untracked.string('Mean and spread of the per-DCC data size.')
123  ),
124  ZSMap = cms.untracked.PSet(
125  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower ZS1+ZS2 counter%(suffix)s'),
126  kind = cms.untracked.string('TH2F'),
127  otype = cms.untracked.string('Ecal3P'),
128  btype = cms.untracked.string('SuperCrystal'),
129  description = cms.untracked.string('Tower occupancy of ZS1 and ZS2 flags.')
130  ),
131  HighIntPayload = cms.untracked.PSet(
132  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT high interest payload%(suffix)s'),
133  kind = cms.untracked.string('TH1F'),
134  otype = cms.untracked.string('Ecal3P'),
135  xaxis = cms.untracked.PSet(
136  high = cms.untracked.double(3.0),
137  nbins = cms.untracked.int32(100),
138  low = cms.untracked.double(0.0),
139  title = cms.untracked.string('event size (kB)')
140  ),
141  btype = cms.untracked.string('User'),
142  description = cms.untracked.string('Total data size from all high interest towers.')
143  ),
144  FlagCounterMap = cms.untracked.PSet(
145  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/Counters/%(prefix)sSRT tower flag counter%(suffix)s'),
146  kind = cms.untracked.string('TH2F'),
147  otype = cms.untracked.string('Ecal3P'),
148  btype = cms.untracked.string('SuperCrystal'),
149  description = cms.untracked.string('Tower occupancy of any SR flag.')
150  ),
151  FRDropped = cms.untracked.PSet(
152  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT FR Flagged Dropped Readout Number%(suffix)s'),
153  kind = cms.untracked.string('TH1F'),
154  otype = cms.untracked.string('Ecal3P'),
155  xaxis = cms.untracked.PSet(
156  high = cms.untracked.double(20.0),
157  nbins = cms.untracked.int32(20),
158  low = cms.untracked.double(0.0),
159  title = cms.untracked.string('number of towers')
160  ),
161  btype = cms.untracked.string('User'),
162  description = cms.untracked.string('Number of FR flagged but dropped towers.')
163  ),
164  EventSize = cms.untracked.PSet(
165  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT event size%(suffix)s'),
166  kind = cms.untracked.string('TH1F'),
167  otype = cms.untracked.string('Ecal3P'),
168  xaxis = cms.untracked.PSet(
169  high = cms.untracked.double(3.0),
170  nbins = cms.untracked.int32(100),
171  low = cms.untracked.double(0.0),
172  title = cms.untracked.string('event size (kB)')
173  ),
174  btype = cms.untracked.string('User'),
175  description = cms.untracked.string('Distribution of per-DCC data size.')
176  ),
177  FullReadout = cms.untracked.PSet(
178  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT full readout SR Flags Number%(suffix)s'),
179  kind = cms.untracked.string('TH1F'),
180  otype = cms.untracked.string('Ecal3P'),
181  xaxis = cms.untracked.PSet(
182  high = cms.untracked.double(200.0),
183  nbins = cms.untracked.int32(100),
184  low = cms.untracked.double(0.0),
185  title = cms.untracked.string('number of towers')
186  ),
187  btype = cms.untracked.string('User'),
188  description = cms.untracked.string('Number of FR flags per event.')
189  ),
190  TowerSize = cms.untracked.PSet(
191  path = cms.untracked.string('%(subdet)s/%(prefix)sSelectiveReadoutTask/%(prefix)sSRT tower event size%(suffix)s'),
192  kind = cms.untracked.string('TProfile2D'),
193  zaxis = cms.untracked.PSet(
194  title = cms.untracked.string('size (bytes)')
195  ),
196  otype = cms.untracked.string('Ecal3P'),
197  btype = cms.untracked.string('SuperCrystal'),
198  description = cms.untracked.string('2D distribution of the mean data size from each readout unit.')
199  )
200  )
201 )