CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripMonitorDigi_cfi.py
Go to the documentation of this file.
2 
3 # SiStripMonitorDigi
4 SiStripMonitorDigi = cms.EDAnalyzer("SiStripMonitorDigi",
5 
6  # add digi producers same way as Domenico in SiStripClusterizer
7 
8  DigiProducersList = cms.VInputTag(
9  cms.InputTag('siStripDigis','ZeroSuppressed'),
10  cms.InputTag('siStripZeroSuppression','VirginRaw'),
11  cms.InputTag('siStripZeroSuppression','ProcessedRaw'),
12  cms.InputTag('siStripZeroSuppression','ScopeMode')
13  ),
14 
15  TH1NApvShots = cms.PSet(
16  Nbins = cms.int32(201),
17  xmin = cms.double(-0.5),
18  xmax = cms.double(200.5),
19  subdetswitchon = cms.bool(False),
20  globalswitchon = cms.bool(False)
21  ),
22 
23  TH1ChargeMedianApvShots = cms.PSet(
24  Nbins = cms.int32(255),
25  xmin = cms.double(0.5),
26  xmax = cms.double(255.5),
27  subdetswitchon = cms.bool(False),
28  globalswitchon = cms.bool(False)
29  ),
30 
31  TH1NStripsApvShots = cms.PSet(
32  Nbins = cms.int32(64),
33  xmin = cms.double(64.5),
34  xmax = cms.double(128.5),
35  subdetswitchon = cms.bool(False),
36  globalswitchon = cms.bool(False)
37  ),
38 
39  TProfNShotsVsTime = cms.PSet(
40  Nbins = cms.int32(600),
41  xmin = cms.double(0.0),
42  xmax = cms.double(1.0*60*60),
43  ymin = cms.double(0.0),
44  ymax = cms.double(0.0),
45  subdetswitchon = cms.bool(False),
46  globalswitchon = cms.bool(False)
47  ),
48 
49  TH1ApvNumApvShots = cms.PSet(
50  Nbins = cms.int32(6),
51  xmin = cms.double(0.5),
52  xmax = cms.double(6.5),
53  subdetswitchon = cms.bool(False),
54  globalswitchon = cms.bool(False)
55  ),
56 
57  TProfGlobalNShots = cms.PSet(
58  globalswitchon = cms.bool(False)
59  ),
60 
61  TH1ADCsCoolestStrip = cms.PSet(
62  Nbinx = cms.int32(60),
63  xmin = cms.double(-0.5),
64  xmax = cms.double(299.5),
65  layerswitchon = cms.bool(False),
66  moduleswitchon = cms.bool(True)
67  ),
68 
69  TH1ADCsHottestStrip = cms.PSet(
70  Nbinx = cms.int32(60),
71  xmin = cms.double(-0.5),
72  xmax = cms.double(299.5),
73  layerswitchon = cms.bool(False),
74  moduleswitchon = cms.bool(True)
75  ),
76  TH1DigiADCs = cms.PSet(
77  Nbinx = cms.int32(64),
78  xmin = cms.double(-0.5),
79  xmax = cms.double(255.5),
80  layerswitchon = cms.bool(True),
81  moduleswitchon = cms.bool(True)
82  ),
83  TH1NumberOfDigis = cms.PSet(
84  Nbinx = cms.int32(50),
85  xmin = cms.double(-0.5),
86  xmax = cms.double(999.5),
87  layerswitchon = cms.bool(True),
88  moduleswitchon = cms.bool(True)
89  ),
90 
91  TH1NumberOfDigisPerStrip = cms.PSet(
92  Nbinx = cms.int32(768),
93  xmin = cms.double(-0.5),
94  xmax = cms.double(767.5),
95  moduleswitchon = cms.bool(False)
96  ),
97 
98  TH1StripOccupancy = cms.PSet(
99  Nbinx = cms.int32(51),
100  xmin = cms.double(-0.01),
101  xmax = cms.double(1.01),
102  layerswitchon = cms.bool(True),
103  moduleswitchon = cms.bool(True)
104  ),
105 
106  TProfNumberOfDigi = cms.PSet(
107  Nbinx = cms.int32(100),
108  xmin = cms.double(-0.5),
109  xmax = cms.double(499.5),
110  layerswitchon = cms.bool(False),
111  moduleswitchon = cms.bool(False)
112  ),
113 
114  TProfDigiADC = cms.PSet(
115  Nbinx = cms.int32(100),
116  xmin = cms.double(0.0),
117  xmax = cms.double(499.5),
118  layerswitchon = cms.bool(False),
119  moduleswitchon = cms.bool(False)
120  ),
121 
122  TProfTotalNumberOfDigis = cms.PSet(
123  Nbins = cms.int32(360),
124  xmin = cms.double(0.0),
125  xmax = cms.double(1.0*60*60),
126  ymin = cms.double(0.0),
127  ymax = cms.double(0.0),
128  subdetswitchon = cms.bool(False)
129  ),
130 
131  TkHistoMap_On = cms.bool(True),
132  TkHistoMapNApvShots_On = cms.bool(False),
133  TkHistoMapNStripApvShots_On = cms.bool(False),
134  TkHistoMapMedianChargeApvShots_On = cms.bool(False),
135 
136  CreateTrendMEs = cms.bool(False),
137 
138  Trending = cms.PSet(
139  Nbins = cms.int32(600),
140  xmin = cms.double(0.0),
141  xmax = cms.double(1.0*60*60),
142  ymin = cms.double(0.0),
143  ymax = cms.double(10000.0)
144  ),
145 
146 
147  TProfDigiApvCycle = cms.PSet(
148  Nbins = cms.int32(70),
149  xmin = cms.double(-0.5),
150  xmax = cms.double(69.5),
151  Nbinsy = cms.int32(200),
152  ymin = cms.double(0.0),
153  ymax = cms.double(0.0),
154  subdetswitchon = cms.bool(False)
155  ),
156 
157  TH2DigiApvCycle = cms.PSet(
158  Nbins = cms.int32(70),
159  xmin = cms.double(-0.5),
160  xmax = cms.double(69.5),
161  Nbinsy = cms.int32(200),
162  ymin = cms.double(0.0),
163  yfactor = cms.double(0.2),
164  subdetswitchon = cms.bool(False)
165  ),
166 
167  TProfTotalNumberOfDigisVsLS = cms.PSet(
168  subdetswitchon = cms.bool(False)
169  ),
170 
171  TotalNumberOfDigisFailure = cms.PSet(
172  subdetswitchon = cms.bool(False),
173  Nbins = cms.int32(6),
174  xmin = cms.double(0.5),
175  xmax = cms.double(6.5),
176  Nbinsy = cms.int32(1),
177  ymin = cms.double(0.5),
178  ymax = cms.double(1.5)
179  ),
180 
181  xLumiProf = cms.int32(5),
182 
183  Mod_On = cms.bool(True),
184 
185  HistoryProducer = cms.InputTag("consecutiveHEs"),
186  ApvPhaseProducer = cms.InputTag("APVPhases"),
187 
188  UseDCSFiltering = cms.bool(True),
189  topDir = cms.string('SiStrip'),
190 
191  # rest of parameters
192  SelectAllDetectors = cms.bool(False),
193  ShowMechanicalStructureView = cms.bool(True),
194  ShowReadoutView = cms.bool(False),
195  ShowControlView = cms.bool(False),
196  CalculateStripOccupancy = cms.bool(False),
197  ResetMEsEachRun = cms.bool(False),
198  # by default do not write out any file with histograms
199  # can overwrite this in .cfg file with: replace SiStripMonitorDigi.OutputMEsInRootFile = true
200  OutputMEsInRootFile = cms.bool(False),
201  OutputFileName = cms.string('test_digi.root')
202 )