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(256),
25  xmin = cms.double(0.5),
26  xmax = cms.double(256.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 
77  TH1DigiADCs = cms.PSet(
78  Nbinx = cms.int32(64),
79  xmin = cms.double(-0.5),
80  xmax = cms.double(255.5),
81  layerswitchon = cms.bool(True),
82  moduleswitchon = cms.bool(True)
83  ),
84  TH1NumberOfDigis = cms.PSet(
85  Nbinx = cms.int32(50),
86  xmin = cms.double(-0.5),
87  xmax = cms.double(999.5),
88  layerswitchon = cms.bool(True),
89  moduleswitchon = cms.bool(True)
90  ),
91 
92  TH1NumberOfDigisPerStrip = cms.PSet(
93  Nbinx = cms.int32(768),
94  xmin = cms.double(-0.5),
95  xmax = cms.double(767.5),
96  moduleswitchon = cms.bool(False)
97  ),
98 
99  TH1StripOccupancy = cms.PSet(
100  Nbinx = cms.int32(51),
101  xmin = cms.double(-0.01),
102  xmax = cms.double(1.01),
103  layerswitchon = cms.bool(True),
104  moduleswitchon = cms.bool(True)
105  ),
106 
107  TProfNumberOfDigi = cms.PSet(
108  Nbinx = cms.int32(100),
109  xmin = cms.double(-0.5),
110  xmax = cms.double(499.5),
111  layerswitchon = cms.bool(False),
112  moduleswitchon = cms.bool(False)
113  ),
114 
115  TProfDigiADC = cms.PSet(
116  Nbinx = cms.int32(100),
117  xmin = cms.double(0.0),
118  xmax = cms.double(499.5),
119  layerswitchon = cms.bool(False),
120  moduleswitchon = cms.bool(False)
121  ),
122 
123  TProfTotalNumberOfDigis = cms.PSet(
124  Nbins = cms.int32(360),
125  xmin = cms.double(0.0),
126  xmax = cms.double(1.0*60*60),
127  ymin = cms.double(0.0),
128  ymax = cms.double(0.0),
129  subdetswitchon = cms.bool(False)
130  ),
131 
132  TkHistoMap_On = cms.bool(True),
133  TkHistoMapNApvShots_On = cms.bool(False),
134  TkHistoMapNStripApvShots_On = cms.bool(False),
135  TkHistoMapMedianChargeApvShots_On = cms.bool(False),
136 
137  CreateTrendMEs = cms.bool(False),
138 
139  Trending = cms.PSet(
140  Nbins = cms.int32(600),
141  xmin = cms.double(0.0),
142  xmax = cms.double(1.0*60*60),
143  ymin = cms.double(0.0),
144  ymax = cms.double(10000.0)
145  ),
146 
147 
148  TProfDigiApvCycle = cms.PSet(
149  Nbins = cms.int32(70),
150  xmin = cms.double(-0.5),
151  xmax = cms.double(69.5),
152  Nbinsy = cms.int32(200),
153  ymin = cms.double(0.0),
154  ymax = cms.double(0.0),
155  subdetswitchon = cms.bool(False)
156  ),
157 
158  TH2DigiApvCycle = cms.PSet(
159  Nbins = cms.int32(70),
160  xmin = cms.double(-0.5),
161  xmax = cms.double(69.5),
162  Nbinsy = cms.int32(200),
163  ymin = cms.double(0.0),
164  yfactor = cms.double(0.2),
165  subdetswitchon = cms.bool(False)
166  ),
167 
168  TProfTotalNumberOfDigisVsLS = cms.PSet(
169  subdetswitchon = cms.bool(False)
170  ),
171 
172  TotalNumberOfDigisFailure = cms.PSet(
173  Nbins = cms.int32(2000),
174  subdetswitchon = cms.bool(False)
175  ),
176 
177  xLumiProf = cms.int32(5),
178 
179  Mod_On = cms.bool(True),
180 
181  HistoryProducer = cms.InputTag("consecutiveHEs"),
182  ApvPhaseProducer = cms.InputTag("APVPhases"),
183 
184  UseDCSFiltering = cms.bool(True),
185  topDir = cms.string('SiStrip'),
186 
187  # rest of parameters
188  SelectAllDetectors = cms.bool(False),
189  ShowMechanicalStructureView = cms.bool(True),
190  ShowReadoutView = cms.bool(False),
191  ShowControlView = cms.bool(False),
192  CalculateStripOccupancy = cms.bool(False),
193  ResetMEsEachRun = cms.bool(False),
194  # by default do not write out any file with histograms
195  # can overwrite this in .cfg file with: replace SiStripMonitorDigi.OutputMEsInRootFile = true
196  OutputMEsInRootFile = cms.bool(False),
197  OutputFileName = cms.string('test_digi.root')
198 )