CMS 3D CMS Logo

PresampleClient_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.EcalMonitorTasks.PresampleTask_cfi import ecalPresampleTask
4 from DQM.EcalMonitorClient.IntegrityClient_cfi import ecalIntegrityClient
5 
6 minChannelEntries = 6
7 expectedMean = 200.0
8 toleranceLow = 25.0
9 toleranceHigh = 40.0
10 toleranceRMS = 3.0
11 toleranceRMSFwd = 6.0
12 
13 ecalPresampleClient = cms.untracked.PSet(
14  params = cms.untracked.PSet(
15  minChannelEntries = cms.untracked.int32(minChannelEntries),
16  expectedMean = cms.untracked.double(expectedMean),
17  toleranceLow = cms.untracked.double(toleranceLow),
18  toleranceHigh = cms.untracked.double(toleranceHigh),
19  toleranceRMS = cms.untracked.double(toleranceRMS),
20  toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
21  ),
22  sources = cms.untracked.PSet(
23  Pedestal = ecalPresampleTask.MEs.Pedestal,
24  PedestalByLS = ecalPresampleTask.MEs.PedestalByLS,
25  ChStatus = ecalIntegrityClient.MEs.ChStatus
26  ),
27  MEs = cms.untracked.PSet(
28  RMS = cms.untracked.PSet(
29  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
30  kind = cms.untracked.string('TH1F'),
31  otype = cms.untracked.string('SM'),
32  xaxis = cms.untracked.PSet(
33  high = cms.untracked.double(10.0),
34  nbins = cms.untracked.int32(100),
35  low = cms.untracked.double(0.0)
36  ),
37  btype = cms.untracked.string('User'),
38  description = cms.untracked.string('Distribution of the presample RMS of each channel. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
39  ),
40  TrendRMS = cms.untracked.PSet(
41  path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
42  kind = cms.untracked.string('TProfile'),
43  otype = cms.untracked.string('Ecal2P'),
44  btype = cms.untracked.string('Trend'),
45  description = cms.untracked.string('Trend of presample RMS averaged over all channels in EB / EE.')
46  ),
47  RMSMap = cms.untracked.PSet(
48  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
49  kind = cms.untracked.string('TH2F'),
50  zaxis = cms.untracked.PSet(
51  title = cms.untracked.string('RMS')
52  ),
53  otype = cms.untracked.string('SM'),
54  btype = cms.untracked.string('Crystal'),
55  description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
56  ),
57  RMSMapAll = cms.untracked.PSet(
58  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
59  kind = cms.untracked.string('TH2F'),
60  zaxis = cms.untracked.PSet(
61  title = cms.untracked.string('RMS')
62  ),
63  otype = cms.untracked.string('Ecal3P'),
64  btype = cms.untracked.string('SuperCrystal'),
65  description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
66  ),
67  RMSMapAllByLumi = cms.untracked.PSet(
68  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map by lumi'),
69  kind = cms.untracked.string('TH2F'),
70  zaxis = cms.untracked.PSet(
71  title = cms.untracked.string('RMS')
72  ),
73  otype = cms.untracked.string('Ecal3P'),
74  btype = cms.untracked.string('Crystal'),
75  description = cms.untracked.string('2D distribution of the presample RMS in this lumisection. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
76  ),
77  TrendMean = cms.untracked.PSet(
78  path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
79  kind = cms.untracked.string('TProfile'),
80  otype = cms.untracked.string('Ecal2P'),
81  btype = cms.untracked.string('Trend'),
82  description = cms.untracked.string('Trend of presample spread in EB / EE. Y value indicates the difference between maximum and minimum presample mean values within the subdetector.')
83  ),
84  QualitySummary = cms.untracked.PSet(
85  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
86  kind = cms.untracked.string('TH2F'),
87  otype = cms.untracked.string('Ecal3P'),
88  btype = cms.untracked.string('Crystal'),
89  description = cms.untracked.string('Summary of the presample data quality. A channel is red if presample mean is outside the range (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHigh) + '), or RMS is greater than ' + str(toleranceRMS) + '. RMS threshold is ' + str(toleranceRMSFwd) + ' in the forward region (|eta| > 2.1). Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
90  ),
91  Quality = cms.untracked.PSet(
92  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
93  kind = cms.untracked.string('TH2F'),
94  otype = cms.untracked.string('SM'),
95  btype = cms.untracked.string('Crystal'),
96  description = cms.untracked.string('Summary of the presample data quality. A channel is red if presample mean is outside the range (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHigh) + '), or RMS is greater than ' + str(toleranceRMS) + '. RMS threshold is ' + str(toleranceRMSFwd) + ' in the forward region (|eta| > 2.1). Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
97  ),
98  ErrorsSummary = cms.untracked.PSet(
99  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
100  kind = cms.untracked.string('TH1F'),
101  otype = cms.untracked.string('Ecal2P'),
102  btype = cms.untracked.string('DCC'),
103  description = cms.untracked.string('Counter of channels flagged as bad in the quality summary')
104  ),
105  Mean = cms.untracked.PSet(
106  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
107  kind = cms.untracked.string('TH1F'),
108  otype = cms.untracked.string('SM'),
109  xaxis = cms.untracked.PSet(
110  high = cms.untracked.double(230.0),
111  nbins = cms.untracked.int32(120),
112  low = cms.untracked.double(170.0)
113  ),
114  btype = cms.untracked.string('User'),
115  description = cms.untracked.string('1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
116  )
117  )
118 )
str
#define str(s)
Definition: TestProcessor.cc:52