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 toleranceHighFwd = 100.0
11 toleranceRMS = 6.0
12 toleranceRMSFwd = 6.0
13 
14 ecalPresampleClient = cms.untracked.PSet(
15  params = cms.untracked.PSet(
16  minChannelEntries = cms.untracked.int32(minChannelEntries),
17  expectedMean = cms.untracked.double(expectedMean),
18  toleranceLow = cms.untracked.double(toleranceLow),
19  toleranceHigh = cms.untracked.double(toleranceHigh),
20  toleranceHighFwd = cms.untracked.double(toleranceHighFwd),
21  toleranceRMS = cms.untracked.double(toleranceRMS),
22  toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
23  ),
24  sources = cms.untracked.PSet(
25  Pedestal = ecalPresampleTask.MEs.Pedestal,
26  PedestalByLS = ecalPresampleTask.MEs.PedestalByLS,
27  ChStatus = ecalIntegrityClient.MEs.ChStatus
28  ),
29  MEs = cms.untracked.PSet(
30  RMS = cms.untracked.PSet(
31  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
32  kind = cms.untracked.string('TH1F'),
33  otype = cms.untracked.string('SM'),
34  xaxis = cms.untracked.PSet(
35  high = cms.untracked.double(10.0),
36  nbins = cms.untracked.int32(100),
37  low = cms.untracked.double(0.0)
38  ),
39  btype = cms.untracked.string('User'),
40  description = cms.untracked.string('Distribution of the presample RMS of each channel. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
41  ),
42  TrendRMS = cms.untracked.PSet(
43  path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
44  kind = cms.untracked.string('TProfile'),
45  otype = cms.untracked.string('Ecal2P'),
46  btype = cms.untracked.string('Trend'),
47  description = cms.untracked.string('Trend of presample RMS averaged over all channels in EB / EE.')
48  ),
49  RMSMap = cms.untracked.PSet(
50  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
51  kind = cms.untracked.string('TH2F'),
52  zaxis = cms.untracked.PSet(
53  title = cms.untracked.string('RMS')
54  ),
55  otype = cms.untracked.string('SM'),
56  btype = cms.untracked.string('Crystal'),
57  description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
58  ),
59  RMSMapAll = cms.untracked.PSet(
60  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
61  kind = cms.untracked.string('TH2F'),
62  zaxis = cms.untracked.PSet(
63  title = cms.untracked.string('RMS')
64  ),
65  otype = cms.untracked.string('Ecal3P'),
66  btype = cms.untracked.string('SuperCrystal'),
67  description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
68  ),
69  MeanMapAll = cms.untracked.PSet(
70  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 Mean map'),
71  kind = cms.untracked.string('TH2F'),
72  zaxis = cms.untracked.PSet(
73  title = cms.untracked.string('Mean')
74  ),
75  otype = cms.untracked.string('Ecal3P'),
76  btype = cms.untracked.string('SuperCrystal'),
77  description = cms.untracked.string('2D distribution of the presample Mean. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
78  ),
79  RMSMapAllByLumi = cms.untracked.PSet(
80  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map by lumi'),
81  kind = cms.untracked.string('TH2F'),
82  zaxis = cms.untracked.PSet(
83  title = cms.untracked.string('RMS')
84  ),
85  otype = cms.untracked.string('Ecal3P'),
86  btype = cms.untracked.string('Crystal'),
87  description = cms.untracked.string('2D distribution of the presample RMS in this lumisection. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
88  ),
89  TrendMean = cms.untracked.PSet(
90  path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
91  kind = cms.untracked.string('TProfile'),
92  otype = cms.untracked.string('Ecal2P'),
93  btype = cms.untracked.string('Trend'),
94  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.')
95  ),
96  QualitySummary = cms.untracked.PSet(
97  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
98  kind = cms.untracked.string('TH2F'),
99  otype = cms.untracked.string('Ecal3P'),
100  btype = cms.untracked.string('Crystal'),
101  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 (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHighFwd) + ') for forward region, 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.')
102  ),
103  Quality = cms.untracked.PSet(
104  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
105  kind = cms.untracked.string('TH2F'),
106  otype = cms.untracked.string('SM'),
107  btype = cms.untracked.string('Crystal'),
108  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 (' + str(expectedMean - toleranceLow) + ', ' + str(expectedMean + toleranceHighFwd) + ') for forward region, 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.')
109  ),
110  ErrorsSummary = cms.untracked.PSet(
111  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
112  kind = cms.untracked.string('TH1F'),
113  otype = cms.untracked.string('Ecal2P'),
114  btype = cms.untracked.string('DCC'),
115  description = cms.untracked.string('Counter of channels flagged as bad in the quality summary')
116  ),
117  Mean = cms.untracked.PSet(
118  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
119  kind = cms.untracked.string('TH1F'),
120  otype = cms.untracked.string('SM'),
121  xaxis = cms.untracked.PSet(
122  high = cms.untracked.double(270.0),
123  nbins = cms.untracked.int32(200),
124  low = cms.untracked.double(170.0)
125  ),
126  btype = cms.untracked.string('User'),
127  description = cms.untracked.string('1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
128  )
129  )
130 )
#define str(s)