test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 toleranceMean = 25.0
9 toleranceRMS = 3.0
10 toleranceRMSFwd = 6.0
11 
12 ecalPresampleClient = cms.untracked.PSet(
13  params = cms.untracked.PSet(
14  minChannelEntries = cms.untracked.int32(minChannelEntries),
15  expectedMean = cms.untracked.double(expectedMean),
16  toleranceMean = cms.untracked.double(toleranceMean),
17  toleranceRMS = cms.untracked.double(toleranceRMS),
18  toleranceRMSFwd = cms.untracked.double(toleranceRMSFwd)
19  ),
20  sources = cms.untracked.PSet(
21  Pedestal = ecalPresampleTask.MEs.Pedestal,
22  PedestalByLS = ecalPresampleTask.MEs.PedestalByLS,
23  ChStatus = ecalIntegrityClient.MEs.ChStatus
24  ),
25  MEs = cms.untracked.PSet(
26  RMS = cms.untracked.PSet(
27  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms G12 %(sm)s'),
28  kind = cms.untracked.string('TH1F'),
29  otype = cms.untracked.string('SM'),
30  xaxis = cms.untracked.PSet(
31  high = cms.untracked.double(10.0),
32  nbins = cms.untracked.int32(100),
33  low = cms.untracked.double(0.0)
34  ),
35  btype = cms.untracked.string('User'),
36  description = cms.untracked.string('Distribution of the presample RMS of each channel. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
37  ),
38  TrendRMS = cms.untracked.PSet(
39  path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal rms max'),
40  kind = cms.untracked.string('TProfile'),
41  otype = cms.untracked.string('Ecal2P'),
42  btype = cms.untracked.string('Trend'),
43  description = cms.untracked.string('Trend of presample RMS averaged over all channels in EB / EE.')
44  ),
45  RMSMap = cms.untracked.PSet(
46  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal rms map G12 %(sm)s'),
47  kind = cms.untracked.string('TH2F'),
48  zaxis = cms.untracked.PSet(
49  title = cms.untracked.string('RMS')
50  ),
51  otype = cms.untracked.string('SM'),
52  btype = cms.untracked.string('Crystal'),
53  description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
54  ),
55  RMSMapAll = cms.untracked.PSet(
56  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal G12 RMS map'),
57  kind = cms.untracked.string('TH2F'),
58  zaxis = cms.untracked.PSet(
59  title = cms.untracked.string('RMS')
60  ),
61  otype = cms.untracked.string('Ecal3P'),
62  btype = cms.untracked.string('SuperCrystal'),
63  description = cms.untracked.string('2D distribution of the presample RMS. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
64  ),
65  TrendMean = cms.untracked.PSet(
66  path = cms.untracked.string('Ecal/Trends/PresampleClient %(prefix)s pedestal mean max - min'),
67  kind = cms.untracked.string('TProfile'),
68  otype = cms.untracked.string('Ecal2P'),
69  btype = cms.untracked.string('Trend'),
70  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.')
71  ),
72  QualitySummary = cms.untracked.PSet(
73  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT%(suffix)s pedestal quality summary G12'),
74  kind = cms.untracked.string('TH2F'),
75  otype = cms.untracked.string('Ecal3P'),
76  btype = cms.untracked.string('Crystal'),
77  description = cms.untracked.string('Summary of the presample data quality. A channel is red if presample mean is off by ' + str(toleranceMean) + ' from ' + str(expectedMean) + ' 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.')
78  ),
79  Quality = cms.untracked.PSet(
80  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal quality G12 %(sm)s'),
81  kind = cms.untracked.string('TH2F'),
82  otype = cms.untracked.string('SM'),
83  btype = cms.untracked.string('Crystal'),
84  description = cms.untracked.string('Summary of the presample data quality. A channel is red if presample mean is off by ' + str(toleranceMean) + ' from ' + str(expectedMean) + ' 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.')
85  ),
86  ErrorsSummary = cms.untracked.PSet(
87  path = cms.untracked.string('%(subdet)s/%(prefix)sSummaryClient/%(prefix)sPOT pedestal quality errors summary G12'),
88  kind = cms.untracked.string('TH1F'),
89  otype = cms.untracked.string('Ecal2P'),
90  btype = cms.untracked.string('DCC'),
91  description = cms.untracked.string('Counter of channels flagged as bad in the quality summary')
92  ),
93  Mean = cms.untracked.PSet(
94  path = cms.untracked.string('%(subdet)s/%(prefix)sPedestalOnlineClient/%(prefix)sPOT pedestal mean G12 %(sm)s'),
95  kind = cms.untracked.string('TH1F'),
96  otype = cms.untracked.string('SM'),
97  xaxis = cms.untracked.PSet(
98  high = cms.untracked.double(230.0),
99  nbins = cms.untracked.int32(120),
100  low = cms.untracked.double(170.0)
101  ),
102  btype = cms.untracked.string('User'),
103  description = cms.untracked.string('1D distribution of the mean presample value in each crystal. Channels with entries less than ' + str(minChannelEntries) + ' are not considered.')
104  )
105  )
106 )