Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMOffline.L1Trigger.L1TRateOfflineParams_cff import RateParams
0004 
0005 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0006 l1tRate_Offline = DQMEDAnalyzer('L1TRate_Offline',
0007 
0008   #-------------------------------------------------------
0009   #-------------------- ATTENTION-------------------------
0010   #-------------------------------------------------------
0011   # The parameter lsShiftGTRates shifts the LS number for 
0012   # the GT Rates taken from SCAL by a value defined by the
0013   # user. Right now it is set to -1 to compensate a bug 
0014   # in SCAL that is described in:
0015   # https://savannah.cern.ch/support/?122368
0016   # As soon as this bug is corrected this value MUST be
0017   # set to 0 again.
0018   lsShiftGTRates             = cms.untracked.int32(-1),
0019 
0020   verbose                    = cms.untracked.bool(False), # This must be off when running on official release
0021   dqmStore                   = cms.untracked.bool(True),
0022   disableROOToutput          = cms.untracked.bool(True),
0023   inputTagScalersResults     = cms.InputTag("scalersRawToDigi"),
0024   inputTagL1GtDataDaq        = cms.InputTag("gtDigis"),
0025   useHFDeadTimeNormalization = cms.untracked.bool(False),
0026   
0027   # Plot Parameters
0028   minInstantLuminosity = cms.double (100),
0029   maxInstantLuminosity = cms.double(10000),
0030   
0031   # Index for the prescale set to be used as reference
0032   refPrescaleSet = cms.int32(0), 
0033 
0034   # Test if scalLS==eventLS-1  
0035   testEventScalLS = cms.untracked.bool(True), # True for grid jobs
0036 
0037   # Categories to process
0038   categories = cms.PSet(
0039     cms.PSet(
0040       Mu     = cms.untracked.bool(True),
0041       EG     = cms.untracked.bool(True),
0042       IsoEG  = cms.untracked.bool(True),
0043       Tau     = cms.untracked.bool(True),
0044       IsoTau  = cms.untracked.bool(True),  
0045       Jet    = cms.untracked.bool(True),
0046       CenJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
0047       ForJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
0048       TauJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
0049       ETM    = cms.untracked.bool(True),
0050       ETT    = cms.untracked.bool(True),
0051       HTT    = cms.untracked.bool(True),
0052       HTM    = cms.untracked.bool(True),
0053     ),
0054   ),
0055 
0056   # Algo XSec Fits  
0057   # srcAlgoXSecFit = 0 -> From WbM via OMDS
0058   # srcAlgoXSecFit = 1 -> From python
0059   srcAlgoXSecFit = cms.int32(1),
0060 
0061   # if srcAlgoXSecFit = 0 we need to define 
0062   ## Online
0063   oracleDB   = cms.string("oracle://CMS_OMDS_LB/CMS_TRG_R"),
0064   pathCondDB = cms.string("/nfshome0/centraltspro/secure/"),                
0065 
0066   ## Offline
0067   #oracleDB   = cms.string("oracle://cms_orcoff_prod/CMS_COND_31X_L1T"), # For offline
0068   #pathCondDB = cms.string("/afs/cern.ch/cms/DB/conddb"), 
0069 
0070   # if srcAlgoXSecFit = 1 we need to define 
0071   fitParameters = RateParams
0072 
0073 )