1 import FWCore.ParameterSet.Config
as cms
3 from DQM.EcalMonitorTasks.EnergyTask_cfi
import ecalEnergyTask
4 from DQM.EcalMonitorTasks.IntegrityTask_cfi
import ecalIntegrityTask
5 from DQM.EcalMonitorTasks.LaserTask_cfi
import ecalLaserTask
6 from DQM.EcalMonitorTasks.LedTask_cfi
import ecalLedTask
7 from DQM.EcalMonitorTasks.OccupancyTask_cfi
import ecalOccupancyTask
8 from DQM.EcalMonitorTasks.PedestalTask_cfi
import ecalPedestalTask
9 from DQM.EcalMonitorTasks.PresampleTask_cfi
import ecalPresampleTask
10 from DQM.EcalMonitorTasks.PNDiodeTask_cfi
import ecalPnDiodeTask
11 from DQM.EcalMonitorTasks.RawDataTask_cfi
import ecalRawDataTask
12 from DQM.EcalMonitorTasks.TestPulseTask_cfi
import ecalTestPulseTask
13 from DQM.EcalMonitorTasks.TimingTask_cfi
import ecalTimingTask
14 from DQM.EcalMonitorClient.IntegrityClient_cfi
import ecalIntegrityClient
15 from DQM.EcalMonitorClient.LaserClient_cfi
import ecalLaserClient
16 from DQM.EcalMonitorClient.LedClient_cfi
import ecalLedClient
17 from DQM.EcalMonitorClient.PedestalClient_cfi
import ecalPedestalClient
18 from DQM.EcalMonitorClient.PresampleClient_cfi
import ecalPresampleClient
19 from DQM.EcalMonitorClient.PNIntegrityClient_cfi
import ecalPnIntegrityClient
20 from DQM.EcalMonitorClient.TestPulseClient_cfi
import ecalTestPulseClient
21 from DQM.EcalMonitorClient.TimingClient_cfi
import ecalTimingClient
23 energyTask = ecalEnergyTask.MEs
24 integrityTask = ecalIntegrityTask.MEs
25 laserTask = ecalLaserTask.MEs
26 ledTask = ecalLedTask.MEs
27 occupancyTask = ecalOccupancyTask.MEs
28 pedestalTask = ecalPedestalTask.MEs
29 presampleTask = ecalPresampleTask.MEs
30 pnDiodeTask = ecalPnDiodeTask.MEs
31 rawDataTask = ecalRawDataTask.MEs
32 testPulseTask = ecalTestPulseTask.MEs
33 timingTask = ecalTimingTask.MEs
34 integrityClient = ecalIntegrityClient.MEs
35 laserClient = ecalLaserClient.MEs
36 ledClient = ecalLedClient.MEs
37 pedestalClient = ecalPedestalClient.MEs
38 presampleClient = ecalPresampleClient.MEs
39 pnIntegrityClient = ecalPnIntegrityClient.MEs
40 testPulseClient = ecalTestPulseClient.MEs
41 timingClient = ecalTimingClient.MEs
47 testpulse =
"TEST_PULSE"
49 pedestalOffset =
"PEDESTAL-OFFSET"
56 ecalCondDBWriter = cms.EDAnalyzer(
"EcalCondDBWriter",
57 DBName = cms.untracked.string(
""),
58 hostName = cms.untracked.string(
""),
59 hostPort = cms.untracked.int32(0),
60 userName = cms.untracked.string(
""),
61 password = cms.untracked.string(
""),
62 location = cms.untracked.string(
""),
63 runType = cms.untracked.string(
""),
64 runGeneralTag = cms.untracked.string(
""),
65 monRunGeneralTag = cms.untracked.string(
""),
66 inputRootFiles = cms.untracked.vstring(),
67 workerParams = cms.untracked.PSet(
68 Integrity = cms.untracked.PSet(
69 runTypes = cms.untracked.vstring(cosmic, beam, laser, testpulse, pedestal, pedestalOffset, led, physics),
70 source = cms.untracked.PSet(
71 Quality = integrityClient.Quality,
72 Digi = occupancyTask.Digi,
73 Gain = integrityTask.Gain,
74 ChId = integrityTask.ChId,
75 GainSwitch = integrityTask.GainSwitch,
76 TowerId = integrityTask.TowerId,
77 BlockSize = integrityTask.BlockSize,
78 L1AFE = rawDataTask.L1AFE,
79 BXFE = rawDataTask.BXFE,
80 MEMDigi = pnDiodeTask.Occupancy,
81 MEMChId = pnDiodeTask.MEMChId,
82 MEMGain = pnDiodeTask.MEMGain,
83 PNQuality = pnIntegrityClient.QualitySummary,
84 MEMTowerId = pnDiodeTask.MEMTowerId,
85 MEMBlockSize = pnDiodeTask.MEMBlockSize
88 Laser = cms.untracked.PSet(
89 runTypes = cms.untracked.vstring(cosmic, beam, laser, physics),
90 source = cms.untracked.PSet(
91 Amplitude = laserTask.Amplitude,
92 AOverP = laserTask.AOverP,
93 Timing = laserTask.Timing,
94 Quality = laserClient.Quality,
95 PNAmplitude = laserTask.PNAmplitude,
96 PNQuality = laserClient.PNQualitySummary,
97 PNPedestal = pnDiodeTask.Pedestal
100 Pedestal = cms.untracked.PSet(
101 runTypes = cms.untracked.vstring(pedestal),
102 source = cms.untracked.PSet(
103 Pedestal = pedestalTask.Pedestal,
104 Quality = pedestalClient.Quality,
105 PNPedestal = pedestalTask.PNPedestal,
106 PNQuality = pedestalClient.PNQualitySummary
109 Presample = cms.untracked.PSet(
110 runTypes = cms.untracked.vstring(cosmic, beam, laser, testpulse, pedestal, led, physics),
111 source = cms.untracked.PSet(
112 Pedestal = presampleTask.Pedestal,
113 Quality = presampleClient.Quality
116 TestPulse = cms.untracked.PSet(
117 runTypes = cms.untracked.vstring(cosmic, beam, testpulse, physics),
118 source = cms.untracked.PSet(
119 Amplitude = testPulseTask.Amplitude,
120 Shape = testPulseTask.Shape,
121 Quality = testPulseClient.Quality,
122 PNAmplitude = testPulseTask.PNAmplitude,
123 PNPedestal = pnDiodeTask.Pedestal,
124 PNQuality = testPulseClient.PNQualitySummary
127 Timing = cms.untracked.PSet(
128 runTypes = cms.untracked.vstring(beam, physics),
129 source = cms.untracked.PSet(
130 Timing = timingTask.TimeMap,
131 Quality = timingClient.Quality
134 Led = cms.untracked.PSet(
135 runTypes = cms.untracked.vstring(cosmic, beam, led, physics),
136 source = cms.untracked.PSet(
137 Amplitude = ledTask.Amplitude,
138 AOverP = ledTask.AOverP,
139 Timing = ledTask.Timing,
140 Quality = ledClient.Quality
147 Occupancy = cms.untracked.PSet(
148 runTypes = cms.untracked.vstring(cosmic, beam, laser, testpulse, pedestal, pedestalOffset, led, physics),
149 source = cms.untracked.PSet(
150 Occupancy = occupancyTask.Digi,
151 Energy = energyTask.HitMap
154 Summary = cms.untracked.PSet(
155 runTypes = cms.untracked.vstring(cosmic, beam, laser, testpulse, pedestal, pedestalOffset, led, physics, halo)
157 laserWavelengths = cms.untracked.vint32(1, 2, 3, 4),
158 ledWavelengths = cms.untracked.vint32(1, 2),
159 MGPAGains = cms.untracked.vint32(1, 6, 12),
160 MGPAGainsPN = cms.untracked.vint32(1, 16)
162 verbosity = cms.untracked.int32(0)