CMS 3D CMS Logo

HcalMonitorModule_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 from copy import deepcopy
00003 
00004 hcalMonitor = cms.EDFilter("HcalMonitorModule",
00005 
00006                            # GLOBAL VARIABLES
00007                            debug = cms.untracked.int32(0), # make debug an int so that different values can trigger different levels of messaging
00008 
00009                            # eta runs from -43->+43  (-41 -> +41 for HCAL, plus ZDC, which we put at |eta|=43.
00010                            # add one empty bin beyond that for histogramming prettiness 
00011                            MaxEta = cms.untracked.double(44.5),
00012                            MinEta = cms.untracked.double(-44.5),
00013                            # likewise, phi runs from 1-72.  Add some buffering bins around that region 
00014                            MaxPhi = cms.untracked.double(73.5),
00015                            MinPhi = cms.untracked.double(-0.5),
00016 
00017                            # Determine whether or not to check individual subdetectors
00018                            checkHF = cms.untracked.bool(True),
00019                            checkHE = cms.untracked.bool(True),
00020                            checkHB = cms.untracked.bool(True),
00021                            checkHO = cms.untracked.bool(True),
00022 
00023                            MonitorDaemon = cms.untracked.bool(True),
00024                            HcalAnalysis = cms.untracked.bool(False),
00025                            HotCells = cms.untracked.vstring(),
00026                            checkNevents = cms.untracked.int32(1000),
00027 
00028                            FEDRawDataCollection = cms.untracked.InputTag("source"),
00029                            
00030                            #minimum Error Rate that will cause problem histograms to be filled.  Should normally be 0, or close to it?
00031                            minErrorFlag = cms.untracked.double(0.05), 
00032 
00033                            # Turn on/off timing diagnostic info
00034                             diagnosticPrescaleLS = cms.untracked.int32(-1),
00035                            diagnosticPrescaleEvt = cms.untracked.int32(-1),
00036                            diagnosticPrescaleTime = cms.untracked.int32(-1),
00037                            diagnosticPrescaleUpdate = cms.untracked.int32(-1),
00038 
00039                            showTiming          = cms.untracked.bool(False), # shows time taken by each process
00040                            dump2database       = cms.untracked.bool(False), # dumps channel status to text file
00041                            # Make expert-level diagnostic plots (enabling this may drastically slow code!)
00042                            makeDiagnosticPlots = cms.untracked.bool(False),
00043 
00044                            # Specify whether or not to fill the unphysical iphi bins
00045                            fillUnphysicalIphi = cms.untracked.bool(True),
00046                            
00047                            # Specify Pedestal Units
00048                            pedestalsInFC                               = cms.untracked.bool(True),
00049                            # Specify Digis
00050                            digiLabel = cms.InputTag("hcalDigis"),
00051                            #Specify RecHits
00052                            hbheRecHitLabel = cms.InputTag("hbhereco"),
00053                            hoRecHitLabel = cms.InputTag("horeco"),
00054                            hfRecHitLabel = cms.InputTag("hfreco"),
00055                            zdcRecHitLabel = cms.InputTag("zdcreco"),                           
00056                            hcalLaserLabel = cms.InputTag("hcalLaserReco"),                       
00057 
00058                            # PEDESTAL MONITOR
00059                            PedestalMonitor                              = cms.untracked.bool(True),
00060                            # Add in a make diagnostic plot variable here somewhere?  Peds don't currently have diagnostic plots
00061                            PedestalMonitor_pedestalsPerChannel          = cms.untracked.bool(True), # not used
00062                            PedestalMonitor_pedestalsInFC                = cms.untracked.bool(True),
00063                            PedestalMonitor_nominalPedMeanInADC          = cms.untracked.double(3.),
00064                            PedestalMonitor_nominalPedWidthInADC         = cms.untracked.double(1.),
00065                            PedestalMonitor_maxPedMeanDiffADC            = cms.untracked.double(1.),
00066                            PedestalMonitor_maxPedWidthDiffADC           = cms.untracked.double(1.),
00067                            PedestalMonitor_startingTimeSlice            = cms.untracked.int32(0),
00068                            PedestalMonitor_endingTimeSlice              = cms.untracked.int32(1),
00069                            PedestalMonitor_minErrorFlag                 = cms.untracked.double(0.05),
00070                            PedestalMonitor_checkNevents                 = cms.untracked.int32(1000),
00071                            PedestalMonitor_minEntriesPerPed = cms.untracked.uint32(10),
00072 
00073                            # DEAD CELL MONITOR
00074                            DeadCellMonitor                              = cms.untracked.bool(True),
00075                            DeadCellMonitor_pedestalsInFC                = cms.untracked.bool(True),
00076                            DeadCellMonitor_makeDiagnosticPlots          = cms.untracked.bool(False),
00077                            DeadCellMonitor_test_occupancy               = cms.untracked.bool(True),
00078                            DeadCellMonitor_test_rechit_occupancy        = cms.untracked.bool(True),
00079                            DeadCellMonitor_test_neighbor                = cms.untracked.bool(False), # doesn't give much useful info
00080                            DeadCellMonitor_test_pedestal                = cms.untracked.bool(True),
00081                            DeadCellMonitor_test_energy                  = cms.untracked.bool(True),
00082                            DeadCellMonitor_checkNevents                 = cms.untracked.int32(1000),
00083                            DeadCellMonitor_checkNevents_occupancy       = cms.untracked.int32(1000),
00084                            DeadCellMonitor_checkNevents_rechit_occupancy= cms.untracked.int32(1000),
00085                            DeadCellMonitor_checkNevents_pedestal        = cms.untracked.int32(1000),
00086                            DeadCellMonitor_checkNevents_neighbor        = cms.untracked.int32(1000),
00087                            DeadCellMonitor_checkNevents_energy          = cms.untracked.int32(1000),
00088                            #checking for cells consistently below (ped + Nsigma*width)
00089                            DeadCellMonitor_pedestal_Nsigma              = cms.untracked.double(0.),
00090                            DeadCellMonitor_pedestal_HB_Nsigma           = cms.untracked.double(0.),
00091                            DeadCellMonitor_pedestal_HE_Nsigma           = cms.untracked.double(0.),
00092                            DeadCellMonitor_pedestal_HO_Nsigma           = cms.untracked.double(0.),
00093                            DeadCellMonitor_pedestal_HF_Nsigma           = cms.untracked.double(0.),
00094                            DeadCellMonitor_pedestal_ZDC_Nsigma          = cms.untracked.double(0.),
00095                            # Checking for cells consistently below energy threshold
00096                            DeadCellMonitor_energyThreshold              = cms.untracked.double(-1.),
00097                            DeadCellMonitor_HB_energyThreshold           = cms.untracked.double(-1.),
00098                            DeadCellMonitor_HE_energyThreshold           = cms.untracked.double(-1.), 
00099                            DeadCellMonitor_HO_energyThreshold           = cms.untracked.double(-1.),
00100                            DeadCellMonitor_HF_energyThreshold           = cms.untracked.double(-1.),
00101                            DeadCellMonitor_ZDC_energyThreshold          = cms.untracked.double(-999.), # not yet implemented
00102                            # Check for cells below their neighbors
00103                            DeadCellMonitor_neighbor_deltaIeta           = cms.untracked.int32(1),
00104                            DeadCellMonitor_neighbor_deltaIphi           = cms.untracked.int32(1),
00105                            DeadCellMonitor_neighbor_deltaDepth          = cms.untracked.int32(4),
00106                            DeadCellMonitor_neighbor_maxCellEnergy       = cms.untracked.double(3.),
00107                            DeadCellMonitor_neighbor_minNeighborEnergy   = cms.untracked.double(1.),
00108                            DeadCellMonitor_neighbor_minGoodNeighborFrac = cms.untracked.double(.7),
00109                            DeadCellMonitor_neighbor_maxEnergyFrac       = cms.untracked.double(.2),
00110                            # HB neighbor flags
00111                            DeadCellMonitor_HB_neighbor_deltaIeta           = cms.untracked.int32(1),
00112                            DeadCellMonitor_HB_neighbor_deltaIphi           = cms.untracked.int32(1),
00113                            DeadCellMonitor_HB_neighbor_deltaDepth          = cms.untracked.int32(4),
00114                            DeadCellMonitor_HB_neighbor_maxCellEnergy       = cms.untracked.double(3.),
00115                            DeadCellMonitor_HB_neighbor_minNeighborEnergy   = cms.untracked.double(1.),
00116                            DeadCellMonitor_HB_neighbor_minGoodNeighborFrac = cms.untracked.double(.7),
00117                            DeadCellMonitor_HB_neighbor_maxEnergyFrac       = cms.untracked.double(.2),
00118                            # HE neighbor flags
00119                            DeadCellMonitor_HE_neighbor_deltaIeta           = cms.untracked.int32(1),
00120                            DeadCellMonitor_HE_neighbor_deltaIphi           = cms.untracked.int32(1),
00121                            DeadCellMonitor_HE_neighbor_deltaDepth          = cms.untracked.int32(4),
00122                            DeadCellMonitor_HE_neighbor_maxCellEnergy       = cms.untracked.double(3.),
00123                            DeadCellMonitor_HE_neighbor_minNeighborEnergy   = cms.untracked.double(1.),
00124                            DeadCellMonitor_HE_neighbor_minGoodNeighborFrac = cms.untracked.double(.7),
00125                            DeadCellMonitor_HE_neighbor_maxEnergyFrac       = cms.untracked.double(.2),
00126                            # HO neighbor flags
00127                            DeadCellMonitor_HO_neighbor_deltaIeta           = cms.untracked.int32(1),
00128                            DeadCellMonitor_HO_neighbor_deltaIphi           = cms.untracked.int32(1),
00129                            DeadCellMonitor_HO_neighbor_deltaDepth          = cms.untracked.int32(4),
00130                            DeadCellMonitor_HO_neighbor_maxCellEnergy       = cms.untracked.double(3.),
00131                            DeadCellMonitor_HO_neighbor_minNeighborEnergy   = cms.untracked.double(1.),
00132                            DeadCellMonitor_HO_neighbor_minGoodNeighborFrac = cms.untracked.double(.7),
00133                            DeadCellMonitor_HO_neighbor_maxEnergyFrac       = cms.untracked.double(.2),
00134                            # HF neighbor flags
00135                            DeadCellMonitor_HF_neighbor_deltaIeta           = cms.untracked.int32(1),
00136                            DeadCellMonitor_HF_neighbor_deltaIphi           = cms.untracked.int32(1),
00137                            DeadCellMonitor_HF_neighbor_deltaDepth          = cms.untracked.int32(4),
00138                            DeadCellMonitor_HF_neighbor_maxCellEnergy       = cms.untracked.double(3.),
00139                            DeadCellMonitor_HF_neighbor_minNeighborEnergy   = cms.untracked.double(1.),
00140                            DeadCellMonitor_HF_neighbor_minGoodNeighborFrac = cms.untracked.double(.7),
00141                            DeadCellMonitor_HF_neighbor_maxEnergyFrac       = cms.untracked.double(.2),
00142 
00143                            DeadCellMonitor_minErrorFlag                    = cms.untracked.double(0.05),
00144                            
00145                            # HOT CELL MONITOR
00146                            HotCellMonitor                              = cms.untracked.bool(True),
00147                            HotCellMonitor_pedestalsInFC                = cms.untracked.bool(True),
00148                            HotCellMonitor_makeDiagnosticPlots          = cms.untracked.bool(False),
00149                            HotCellMonitor_test_neighbor                = cms.untracked.bool(False),
00150                            HotCellMonitor_test_pedestal                = cms.untracked.bool(True),
00151                            HotCellMonitor_test_energy                  = cms.untracked.bool(True),
00152                            HotCellMonitor_test_persistent              = cms.untracked.bool(True),
00153                            HotCellMonitor_checkNevents                 = cms.untracked.int32(1000),
00154                            HotCellMonitor_checkNevents_pedestal        = cms.untracked.int32(1000),
00155                            HotCellMonitor_checkNevents_neighbor        = cms.untracked.int32(1000),
00156                            HotCellMonitor_checkNevents_energy          = cms.untracked.int32(1000),
00157                            HotCellMonitor_checkNevents_persistent      = cms.untracked.int32(1000),
00158                            #checking for cells consistently above (ped + Nsigma*width)
00159                            HotCellMonitor_pedestal_Nsigma              = cms.untracked.double(3.),
00160                            HotCellMonitor_pedestal_HB_Nsigma           = cms.untracked.double(3.),
00161                            HotCellMonitor_pedestal_HE_Nsigma           = cms.untracked.double(3.),
00162                            HotCellMonitor_pedestal_HO_Nsigma           = cms.untracked.double(3.),
00163                            HotCellMonitor_pedestal_HF_Nsigma           = cms.untracked.double(3.),
00164                            HotCellMonitor_pedestal_ZDC_Nsigma          = cms.untracked.double(5.),
00165                            # Checking for cells above energy threshold at any time
00166                            HotCellMonitor_energyThreshold              = cms.untracked.double(5.),
00167                            HotCellMonitor_HB_energyThreshold           = cms.untracked.double(5.),
00168                            HotCellMonitor_HE_energyThreshold           = cms.untracked.double(5.), 
00169                            HotCellMonitor_HO_energyThreshold           = cms.untracked.double(5.),
00170                            HotCellMonitor_HF_energyThreshold           = cms.untracked.double(5.),
00171                            HotCellMonitor_ZDC_energyThreshold          = cms.untracked.double(999.), # not yet implemented
00172                            # Checking for cells consistently babove energy threshold
00173                            HotCellMonitor_persistentThreshold              = cms.untracked.double(3.),
00174                            HotCellMonitor_HB_persistentThreshold           = cms.untracked.double(3.),
00175                            HotCellMonitor_HE_persistentThreshold           = cms.untracked.double(3.), 
00176                            HotCellMonitor_HO_persistentThreshold           = cms.untracked.double(3.),
00177                            HotCellMonitor_HF_persistentThreshold           = cms.untracked.double(3.),
00178                            HotCellMonitor_ZDC_persistentThreshold          = cms.untracked.double(999.), # not yet implemented
00179                            # Check for cells above their neighbors
00180                            HotCellMonitor_neighbor_deltaIeta           = cms.untracked.int32(1),
00181                            HotCellMonitor_neighbor_deltaIphi           = cms.untracked.int32(1),
00182                            HotCellMonitor_neighbor_deltaDepth          = cms.untracked.int32(4),
00183                            HotCellMonitor_neighbor_minCellEnergy       = cms.untracked.double(0.),
00184                            HotCellMonitor_neighbor_minNeighborEnergy   = cms.untracked.double(0.),
00185                            HotCellMonitor_neighbor_maxEnergy           = cms.untracked.double(25),
00186                            HotCellMonitor_neighbor_HotEnergyFrac       = cms.untracked.double(.02),
00187                            # HB neighbor flags
00188                            HotCellMonitor_HB_neighbor_deltaIeta           = cms.untracked.int32(1),
00189                            HotCellMonitor_HB_neighbor_deltaIphi           = cms.untracked.int32(1),
00190                            HotCellMonitor_HB_neighbor_deltaDepth          = cms.untracked.int32(4),
00191                            HotCellMonitor_HB_neighbor_minCellEnergy       = cms.untracked.double(2.),
00192                            HotCellMonitor_HB_neighbor_minNeighborEnergy   = cms.untracked.double(0.),
00193                            HotCellMonitor_HB_neighbor_maxEnergy           = cms.untracked.double(25),
00194                            HotCellMonitor_HB_neighbor_HotEnergyFrac       = cms.untracked.double(.02),
00195                            # HE neighbor flags
00196                            HotCellMonitor_HE_neighbor_deltaIeta           = cms.untracked.int32(1),
00197                            HotCellMonitor_HE_neighbor_deltaIphi           = cms.untracked.int32(1),
00198                            HotCellMonitor_HE_neighbor_deltaDepth          = cms.untracked.int32(4),
00199                            HotCellMonitor_HE_neighbor_minCellEnergy       = cms.untracked.double(2.),
00200                            HotCellMonitor_HE_neighbor_minNeighborEnergy   = cms.untracked.double(0.),
00201                            HotCellMonitor_HE_neighbor_maxEnergy           = cms.untracked.double(25),
00202                            HotCellMonitor_HE_neighbor_HotEnergyFrac       = cms.untracked.double(.02),
00203                            # HO neighbor flags
00204                            HotCellMonitor_HO_neighbor_deltaIeta           = cms.untracked.int32(1),
00205                            HotCellMonitor_HO_neighbor_deltaIphi           = cms.untracked.int32(1),
00206                            HotCellMonitor_HO_neighbor_deltaDepth          = cms.untracked.int32(4),
00207                            HotCellMonitor_HO_neighbor_minCellEnergy       = cms.untracked.double(5.),
00208                            HotCellMonitor_HO_neighbor_minNeighborEnergy   = cms.untracked.double(0.),
00209                            HotCellMonitor_HO_neighbor_maxEnergy           = cms.untracked.double(25),
00210                            HotCellMonitor_HO_neighbor_HotEnergyFrac       = cms.untracked.double(.02),
00211                            # HF neighbor flags
00212                            HotCellMonitor_HF_neighbor_deltaIeta           = cms.untracked.int32(1),
00213                            HotCellMonitor_HF_neighbor_deltaIphi           = cms.untracked.int32(1),
00214                            HotCellMonitor_HF_neighbor_deltaDepth          = cms.untracked.int32(4),
00215                            HotCellMonitor_HF_neighbor_minCellEnergy       = cms.untracked.double(2.),
00216                            HotCellMonitor_HF_neighbor_minNeighborEnergy   = cms.untracked.double(0.),
00217                            HotCellMonitor_HF_neighbor_maxEnergy           = cms.untracked.double(25),
00218                            HotCellMonitor_HF_neighbor_HotEnergyFrac       = cms.untracked.double(.02),
00219                            
00220                            HotCellMonitor_minErrorFlag                    = cms.untracked.double(0.05),
00221 
00222                            # DIGI MONITOR
00223                            DigiMonitor                                    = cms.untracked.bool(True),
00224                            DigiMonitor_checkNevents                       = cms.untracked.int32(1000),
00225                            DigiMonitor_problems_checkForMissingDigis      = cms.untracked.bool(False), # also checked in DeadCellMonitor, which may be the more appropriate place for the check
00226                            DigiMonitor_problems_checkCapID                = cms.untracked.bool(True),
00227                            DigiMonitor_problems_checkDigiSize             = cms.untracked.bool(True),
00228                            DigiMonitor_problems_checkADCsum               = cms.untracked.bool(True),
00229                            DigiMonitor_problems_checkDVerr                = cms.untracked.bool(True),
00230                            DigiMonitor_minDigiSize                        = cms.untracked.int32(10),
00231                            DigiMonitor_maxDigiSize                        = cms.untracked.int32(10),
00232                            # ADC counts must be above the threshold values below for appropriate histograms to be filled
00233                            DigiMonitor_shapeThresh                        = cms.untracked.int32(-1),
00234                            DigiMonitor_ADCsumThresh                       = cms.untracked.int32(-1),
00235                            DigMonitor_makeDiagnosticPlots                 = cms.untracked.bool(False), # doesn't do anything yet
00236                            DigiMonitor_DigisPerChannel                    = cms.untracked.bool(False), # not currently used
00237 
00238                            # RECHIT MONITOR
00239                            RecHitMonitor                                  = cms.untracked.bool(True),
00240                            RecHitMonitor_checkNevents                     = cms.untracked.int32(1000),
00241                            RecHitMonitor_minErrorFlag                     = cms.untracked.double(0.),
00242                            RecHitMonitor_makeDiagnosticPlots              = cms.untracked.bool(False),
00243                            RecHitMonitor_energyThreshold                  = cms.untracked.double(2.),
00244                            RecHitMonitor_HB_energyThreshold               = cms.untracked.double(2.),
00245                            RecHitMonitor_HO_energyThreshold               = cms.untracked.double(2.),
00246                            RecHitMonitor_HE_energyThreshold               = cms.untracked.double(2.),
00247                            RecHitMonitor_HF_energyThreshold               = cms.untracked.double(2.),
00248                            RecHitMonitor_ZDC_energyThreshold              = cms.untracked.double(2.),
00249                            
00250                            # BEAM MONITOR
00251                            BeamMonitor                                    = cms.untracked.bool(True),
00252                            BeamMonitor_checkNevents                       = cms.untracked.int32(1000),
00253                            BeamMonitor_minErrorFlag                       = cms.untracked.double(0.),
00254                            BeamMonitor_makeDiagnosticPlots                = cms.untracked.bool(False),
00255 
00256                            # DATA FORMAT MONITOR
00257                            DataFormatMonitor                              = cms.untracked.bool(True),
00258                            DataFormatMonitor_checkNevents                 = cms.untracked.int32(1000),
00259                            dfPrtLvl                                       = cms.untracked.int32(0), # this seems similar to the debug int we have; deprecate this?
00260 
00261                            # DATA INTEGRITY TASK
00262                            DataIntegrityTask = cms.untracked.bool(False),
00263 
00264                            # TRIG PRIM MONITOR
00265                            TrigPrimMonitor = cms.untracked.bool(False),
00266                            TrigPrimMonitor_OccThresh                      = cms.untracked.double(1.),
00267                            TrigPrimMonitor_Threshold                      = cms.untracked.double(1.),
00268                            TrigPrimMonitor_TPdigiTS                       = cms.untracked.int32(1),
00269                            TrigPrimMonitor_ADCdigiTS                      = cms.untracked.int32(3),
00270                            TrigPrimMonitor_checkNevents                   = cms.untracked.int32(1000),
00271                            TrigPrimMonitor_makeDiagnostics                = cms.untracked.bool(False),
00272                            gtLabel = cms.InputTag("l1GtUnpack"),
00273                            
00274                            # LED MONITOR
00275                            LEDMonitor = cms.untracked.bool(True),
00276                            LED_ADC_Thresh = cms.untracked.double(-1000.0),
00277                            LEDPerChannel = cms.untracked.bool(True),
00278 
00279                            # SPECIALIZED (EXPERT-USE) MONITORS
00280 
00281                             # EXPERT MONITOR (should generally be turned off)
00282                            ExpertMonitor = cms.untracked.bool(False),
00283 
00284                            # Empty Event/Unsuppressed data monitor
00285                            EEUSMonitor = cms.untracked.bool(False),
00286                            # ------------- DEPRECATED/UNUSED MONITORS ----------------------- #
00287                                                       
00288                            # CALO TOWER MONITOR
00289                            CaloTowerMonitor = cms.untracked.bool(False),
00290                            caloTowerLabel = cms.InputTag("towerMaker"),
00291 
00292                            # MTCC MONITOR
00293                            MTCCMonitor = cms.untracked.bool(False),
00294                            MTCCOccThresh = cms.untracked.double(10.0),
00295                            DumpPhiLow = cms.untracked.int32(10),
00296                            DumpPhiHigh = cms.untracked.int32(10),
00297                            DumpEtaLow = cms.untracked.int32(0),
00298                            DumpEtaHigh = cms.untracked.int32(10),
00299                            DumpThreshold = cms.untracked.double(500.0),
00300                            # --------------------------------------------------------------- #
00301                            )
00302 
00303 
00304 def setHcalTaskValues(process):
00305     # If you import this function directly, you can then set all the individual subtask values to the global settings
00306     # (This is useful if you've changed the global value, and you want it to propagate everywhere)
00307 
00308     # Set minimum value needed to put an entry into Problem histograms.  (values are between 0-1)
00309 
00310     # Insidious python-ness:  You need to make a copy of the process.minErrorFlag, etc. variables,
00311     # or future changes to PedestalMonitor_minErrorFlag will also change minErrorFlag!
00312 
00313     # set minimum error value
00314     minErrorFlag = deepcopy(process.minErrorFlag)
00315     process.BeamMonitor_minErrorFlag     = minErrorFlag
00316     process.DeadCellMonitor_minErrorFlag = minErrorFlag
00317     process.HotCellMonitor_minErrorFlag  = minErrorFlag
00318     process.PedestalMonitor_minErrorFlag = minErrorFlag
00319     process.RecHitMonitor_minErrorFlag   = minErrorFlag
00320         
00321     # create a minErrorFlag for DigiMonitor?  I think we want the DigiMonitor errors to appear whenever an error exists, even if it's at a low rate.
00322 
00323     # set checkNevents
00324     checkNevents = deepcopy(process.checkNevents)
00325     process.BeamMonitor_checkNevents                      = checkNevents
00326     process.DeadCellMonitor_checkNevents                  = checkNevents
00327     process.DeadCellMonitor_checkNevents_occupancy        = checkNevents
00328     process.DeadCellMonitor_checkNevents_rechit_occupancy = checkNevents
00329     process.DeadCellMonitor_checkNevents_pedestal         = checkNevents
00330     process.DeadCellMonitor_checkNevents_neighbor         = checkNevents
00331     process.DeadCellMonitor_checkNevents_energy           = checkNevents
00332     process.DigiMonitor_checkNevents                      = checkNevents
00333     process.HotCellMonitor_checkNevents                   = checkNevents
00334     process.HotCellMonitor_checkNevents_persistent        = checkNevents
00335     process.HotCellMonitor_checkNevents_pedestal          = checkNevents
00336     process.HotCellMonitor_checkNevents_neighbor          = checkNevents
00337     process.HotCellMonitor_checkNevents_energy            = checkNevents
00338     process.PedestalMonitor_checkNevents                  = checkNevents
00339     process.RecHitMonitor_checkNevents                    = checkNevents
00340     process.TrigPrimMonitor_checkNevents                  = checkNevents
00341     
00342     # set pedestalsInFC
00343     pedestalsInFC = deepcopy(process.pedestalsInFC)
00344     process.DeadCellMonitor_pedestalsInFC = pedestalsInFC
00345     process.HotCellMonitor_pedestalsInFC  = pedestalsInFC
00346     process.PedestalMonitor_pedestalsInFC = pedestalsInFC
00347 
00348     # set makeDiagnoticPlots
00349     makeDiagnosticPlots                         = deepcopy(process.makeDiagnosticPlots)
00350     process.BeamMonitor_makeDiagnosticPlots     = makeDiagnosticPlots
00351     process.DeadCellMonitor_makeDiagnosticPlots = makeDiagnosticPlots
00352     process.DigiMonitor_makeDiagnosticsPlots    = makeDiagnosticPlots
00353     process.HotCellMonitor_makeDiagnosticPlots  = makeDiagnosticPlots
00354     process.RecHitMonitor_makeDiagnosticPlots   = makeDiagnosticPlots
00355     process.TrigPrimMonitor_makeDiagnosticPlots = makeDiagnosticPlots
00356     return
00357 
00358 
00359 def setHcalSubdetTaskValues(process):
00360     # Set HB/HE/HO/HF
00361 
00362     # Dead Cell Monitor
00363     dead_nsigma = deepcopy(process.DeadCellMonitor_pedestal_Nsigma)
00364     process.DeadCellMonitor_pedestal_HB_Nsigma           = dead_nsigma
00365     process.DeadCellMonitor_pedestal_HE_Nsigma           = dead_nsigma
00366     process.DeadCellMonitor_pedestal_HO_Nsigma           = dead_nsigma
00367     process.DeadCellMonitor_pedestal_HF_Nsigma           = dead_nsigma
00368     process.DeadCellMonitor_pedestal_ZDC_Nsigma          = dead_nsigma
00369 
00370     dead_deltaIeta = deepcopy(process.DeadCellMonitor_neighbor_deltaIeta)
00371     process.DeadCellMonitor_HB_neighbor_deltaIeta           = dead_deltaIeta
00372     process.DeadCellMonitor_HE_neighbor_deltaIeta           = dead_deltaIeta
00373     process.DeadCellMonitor_HO_neighbor_deltaIeta           = dead_deltaIeta
00374     process.DeadCellMonitor_HF_neighbor_deltaIeta           = dead_deltaIeta
00375     process.DeadCellMonitor_ZDC_neighbor_deltaIeta          = dead_deltaIeta
00376     
00377     dead_deltaIphi = deepcopy(process.DeadCellMonitor_neighbor_deltaIphi)
00378     process.DeadCellMonitor_HB_neighbor_deltaIphi           = dead_deltaIphi
00379     process.DeadCellMonitor_HE_neighbor_deltaIphi           = dead_deltaIphi
00380     process.DeadCellMonitor_HO_neighbor_deltaIphi           = dead_deltaIphi
00381     process.DeadCellMonitor_HF_neighbor_deltaIphi           = dead_deltaIphi
00382     process.DeadCellMonitor_ZDC_neighbor_deltaIphi          = dead_deltaIphi
00383 
00384     dead_deltaDepth = deepcopy(process.DeadCellMonitor_neighbor_deltaDepth)
00385     process.DeadCellMonitor_HB_neighbor_deltaDepth           = dead_deltaDepth
00386     process.DeadCellMonitor_HE_neighbor_deltaDepth           = dead_deltaDepth
00387     process.DeadCellMonitor_HO_neighbor_deltaDepth           = dead_deltaDepth
00388     process.DeadCellMonitor_HF_neighbor_deltaDepth           = dead_deltaDepth
00389     process.DeadCellMonitor_ZDC_neighbor_deltaDepth          = dead_deltaDepth
00390 
00391     dead_maxCellEnergy = deepcopy(process.DeadCellMonitor_neighbor_maxCellEnergy)
00392     process.DeadCellMonitor_HB_neighbor_maxCellEnergy           = dead_maxCellEnergy
00393     process.DeadCellMonitor_HE_neighbor_maxCellEnergy           = dead_maxCellEnergy
00394     process.DeadCellMonitor_HO_neighbor_maxCellEnergy           = dead_maxCellEnergy
00395     process.DeadCellMonitor_HF_neighbor_maxCellEnergy           = dead_maxCellEnergy
00396     process.DeadCellMonitor_ZDC_neighbor_maxCellEnergy          = dead_maxCellEnergy
00397     
00398     dead_minNeighborEnergy = deepcopy(process.DeadCellMonitor_neighbor_minNeighborEnergy)
00399     process.DeadCellMonitor_HB_neighbor_minNeighborEnergy           = dead_minNeighborEnergy
00400     process.DeadCellMonitor_HE_neighbor_minNeighborEnergy           = dead_minNeighborEnergy
00401     process.DeadCellMonitor_HO_neighbor_minNeighborEnergy           = dead_minNeighborEnergy
00402     process.DeadCellMonitor_HF_neighbor_minNeighborEnergy           = dead_minNeighborEnergy
00403     process.DeadCellMonitor_ZDC_neighbor_minNeighborEnergy          = dead_minNeighborEnergy
00404 
00405     dead_minGoodNeighborFrac = deepcopy(process.DeadCellMonitor_neighbor_minGoodNeighborFrac)
00406     process.DeadCellMonitor_HB_neighbor_minGoodNeighborFrac           = dead_minGoodNeighborFrac
00407     process.DeadCellMonitor_HE_neighbor_minGoodNeighborFrac           = dead_minGoodNeighborFrac
00408     process.DeadCellMonitor_HO_neighbor_minGoodNeighborFrac           = dead_minGoodNeighborFrac
00409     process.DeadCellMonitor_HF_neighbor_minGoodNeighborFrac           = dead_minGoodNeighborFrac
00410     process.DeadCellMonitor_ZDC_neighbor_minGoodNeighborFrac          = dead_minGoodNeighborFrac
00411 
00412     dead_maxEnergyFrac = deepcopy(process.DeadCellMonitor_neighbor_maxEnergyFrac)
00413     process.DeadCellMonitor_HB_neighbor_maxEnergyFrac           = dead_maxEnergyFrac
00414     process.DeadCellMonitor_HE_neighbor_maxEnergyFrac           = dead_maxEnergyFrac
00415     process.DeadCellMonitor_HO_neighbor_maxEnergyFrac           = dead_maxEnergyFrac
00416     process.DeadCellMonitor_HF_neighbor_maxEnergyFrac           = dead_maxEnergyFrac
00417     process.DeadCellMonitor_ZDC_neighbor_maxEnergyFrac          = dead_maxEnergyFrac
00418 
00419     dead_energyThreshold = deepcopy(process.DeadCellMonitor_energyThreshold)
00420     process.DeadCellMonitor_HB_energyThreshold           = dead_energyThreshold
00421     process.DeadCellMonitor_HE_energyThreshold           = dead_energyThreshold
00422     process.DeadCellMonitor_HO_energyThreshold           = dead_energyThreshold
00423     process.DeadCellMonitor_HF_energyThreshold           = dead_energyThreshold
00424     process.DeadCellMonitor_ZDC_energyThreshold          = dead_energyThreshold
00425 
00426     # Hot Cell Monitor
00427     hot_nsigma = deepcopy(process.HotCellMonitor_pedestal_Nsigma)
00428     process.HotCellMonitor_pedestal_HB_Nsigma           = hot_nsigma
00429     process.HotCellMonitor_pedestal_HE_Nsigma           = hot_nsigma
00430     process.HotCellMonitor_pedestal_HO_Nsigma           = hot_nsigma
00431     process.HotCellMonitor_pedestal_HF_Nsigma           = hot_nsigma
00432     process.HotCellMonitor_pedestal_ZDC_Nsigma          = hot_nsigma
00433 
00434     hot_deltaIeta = deepcopy(process.HotCellMonitor_neighbor_deltaIeta)
00435     process.HotCellMonitor_HB_neighbor_deltaIeta           = hot_deltaIeta
00436     process.HotCellMonitor_HE_neighbor_deltaIeta           = hot_deltaIeta
00437     process.HotCellMonitor_HO_neighbor_deltaIeta           = hot_deltaIeta
00438     process.HotCellMonitor_HF_neighbor_deltaIeta           = hot_deltaIeta
00439     process.HotCellMonitor_ZDC_neighbor_deltaIeta          = hot_deltaIeta
00440     
00441     hot_deltaIphi = deepcopy(process.HotCellMonitor_neighbor_deltaIphi)
00442     process.HotCellMonitor_HB_neighbor_deltaIphi           = hot_deltaIphi
00443     process.HotCellMonitor_HE_neighbor_deltaIphi           = hot_deltaIphi
00444     process.HotCellMonitor_HO_neighbor_deltaIphi           = hot_deltaIphi
00445     process.HotCellMonitor_HF_neighbor_deltaIphi           = hot_deltaIphi
00446     process.HotCellMonitor_ZDC_neighbor_deltaIphi          = hot_deltaIphi
00447 
00448     hot_deltaDepth = deepcopy(process.HotCellMonitor_neighbor_deltaDepth)
00449     process.HotCellMonitor_HB_neighbor_deltaDepth           = hot_deltaDepth
00450     process.HotCellMonitor_HE_neighbor_deltaDepth           = hot_deltaDepth
00451     process.HotCellMonitor_HO_neighbor_deltaDepth           = hot_deltaDepth
00452     process.HotCellMonitor_HF_neighbor_deltaDepth           = hot_deltaDepth
00453     process.HotCellMonitor_ZDC_neighbor_deltaDepth          = hot_deltaDepth
00454 
00455     hot_minCellEnergy = deepcopy(process.HotCellMonitor_neighbor_minCellEnergy)
00456     process.HotCellMonitor_HB_neighbor_minCellEnergy           = hot_minCellEnergy
00457     process.HotCellMonitor_HE_neighbor_minCellEnergy           = hot_minCellEnergy
00458     process.HotCellMonitor_HO_neighbor_minCellEnergy           = hot_minCellEnergy
00459     process.HotCellMonitor_HF_neighbor_minCellEnergy           = hot_minCellEnergy
00460     process.HotCellMonitor_ZDC_neighbor_minCellEnergy          = hot_minCellEnergy
00461     
00462     hot_minNeighborEnergy = deepcopy(process.HotCellMonitor_neighbor_minNeighborEnergy)
00463     process.HotCellMonitor_HB_neighbor_minNeighborEnergy           = hot_minNeighborEnergy
00464     process.HotCellMonitor_HE_neighbor_minNeighborEnergy           = hot_minNeighborEnergy
00465     process.HotCellMonitor_HO_neighbor_minNeighborEnergy           = hot_minNeighborEnergy
00466     process.HotCellMonitor_HF_neighbor_minNeighborEnergy           = hot_minNeighborEnergy
00467     process.HotCellMonitor_ZDC_neighbor_minNeighborEnergy          = hot_minNeighborEnergy
00468 
00469     hot_maxEnergy = deepcopy(process.HotCellMonitor_neighbor_maxEnergy)
00470     process.HotCellMonitor_HB_neighbor_maxEnergy           = hot_maxEnergy
00471     process.HotCellMonitor_HE_neighbor_maxEnergy           = hot_maxEnergy
00472     process.HotCellMonitor_HO_neighbor_maxEnergy           = hot_maxEnergy
00473     process.HotCellMonitor_HF_neighbor_maxEnergy           = hot_maxEnergy
00474     process.HotCellMonitor_ZDC_neighbor_maxEnergy          = hot_maxEnergy
00475 
00476     hot_HotEnergyFrac = deepcopy(process.HotCellMonitor_neighbor_HotEnergyFrac)
00477     process.HotCellMonitor_HB_neighbor_HotEnergyFrac           = hot_HotEnergyFrac
00478     process.HotCellMonitor_HE_neighbor_HotEnergyFrac           = hot_HotEnergyFrac
00479     process.HotCellMonitor_HO_neighbor_HotEnergyFrac           = hot_HotEnergyFrac
00480     process.HotCellMonitor_HF_neighbor_HotEnergyFrac           = hot_HotEnergyFrac
00481     process.HotCellMonitor_ZDC_neighbor_HotEnergyFrac          = hot_HotEnergyFrac
00482 
00483     hot_energyThreshold = deepcopy(process.HotCellMonitor_energyThreshold)
00484     process.HotCellMonitor_HB_energyThreshold           = hot_energyThreshold
00485     process.HotCellMonitor_HE_energyThreshold           = hot_energyThreshold
00486     process.HotCellMonitor_HO_energyThreshold           = hot_energyThreshold
00487     process.HotCellMonitor_HF_energyThreshold           = hot_energyThreshold
00488     process.HotCellMonitor_ZDC_energyThreshold          = hot_energyThreshold
00489 
00490     hot_persistentThreshold = deepcopy(process.HotCellMonitor_persistentThreshold)
00491     process.HotCellMonitor_HB_persistentThreshold           = hot_persistentThreshold
00492     process.HotCellMonitor_HE_persistentThreshold           = hot_persistentThreshold
00493     process.HotCellMonitor_HO_persistentThreshold           = hot_persistentThreshold
00494     process.HotCellMonitor_HF_persistentThreshold           = hot_persistentThreshold
00495     process.HotCellMonitor_ZDC_persistentThreshold          = hot_persistentThreshold
00496 
00497     # Rec Hit Monitor
00498     rechit_energyThreshold = deepcopy(process.RecHitMonitor_energyThreshold)
00499     process.DeadCellMonitor_HB_energyThreshold           = rechit_energyThreshold
00500     process.DeadCellMonitor_HE_energyThreshold           = rechit_energyThreshold
00501     process.DeadCellMonitor_HO_energyThreshold           = rechit_energyThreshold
00502     process.DeadCellMonitor_HF_energyThreshold           = rechit_energyThreshold
00503     process.DeadCellMonitor_ZDC_energyThreshold          = rechit_energyThreshold
00504     return 

Generated on Tue Jun 9 17:32:56 2009 for CMSSW by  doxygen 1.5.4