Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.L1TMonitor.L1TRateParams_cff import RateParams
0004 
0005 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0006 l1tRate = DQMEDAnalyzer('L1TRate',
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),
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       Jet    = cms.untracked.bool(True),
0044       CenJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
0045       ForJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
0046       TauJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
0047       ETM    = cms.untracked.bool(True),
0048       ETT    = cms.untracked.bool(True),
0049       HTT    = cms.untracked.bool(True),
0050       HTM    = cms.untracked.bool(False),
0051     ),
0052   ),
0053 
0054   # Algo XSec Fits  
0055   # srcAlgoXSecFit = 0 -> From WbM via OMDS
0056   # srcAlgoXSecFit = 1 -> From python
0057   srcAlgoXSecFit = cms.int32(0),
0058 
0059   # if srcAlgoXSecFit = 0 we need to define 
0060   ## Online
0061   oracleDB   = cms.string("oracle://CMS_OMDS_LB/CMS_TRG_R"),
0062   pathCondDB = cms.string("/nfshome0/centraltspro/secure/"),                
0063 
0064   ## Offline
0065   #oracleDB   = cms.string("oracle://cms_orcon_adg/CMS_COND_31X_L1T"), # For offline
0066   #pathCondDB = cms.string("/afs/cern.ch/cms/DB/conddb"), 
0067 
0068   # if srcAlgoXSecFit = 1 we need to define 
0069   fitParameters = RateParams
0070 
0071 )