CMS 3D CMS Logo

L1TRate_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQM.L1TMonitor.L1TRateParams_cff import RateParams
4 
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 l1tRate = DQMEDAnalyzer('L1TRate',
7 
8  #-------------------------------------------------------
9  #-------------------- ATTENTION-------------------------
10  #-------------------------------------------------------
11  # The parameter lsShiftGTRates shifts the LS number for
12  # the GT Rates taken from SCAL by a value defined by the
13  # user. Right now it is set to -1 to compensate a bug
14  # in SCAL that is described in:
15  # https://savannah.cern.ch/support/?122368
16  # As soon as this bug is corrected this value MUST be
17  # set to 0 again.
18  lsShiftGTRates = cms.untracked.int32(-1),
19 
20  verbose = cms.untracked.bool(False),
21  dqmStore = cms.untracked.bool(True),
22  disableROOToutput = cms.untracked.bool(True),
23  inputTagScalersResults = cms.InputTag("scalersRawToDigi"),
24  inputTagL1GtDataDaq = cms.InputTag("gtDigis"),
25  useHFDeadTimeNormalization = cms.untracked.bool(False),
26 
27  # Plot Parameters
28  minInstantLuminosity = cms.double ( 100),
29  maxInstantLuminosity = cms.double(10000),
30 
31  # Index for the prescale set to be used as reference
32  refPrescaleSet = cms.int32(0),
33 
34  # Test if scalLS==eventLS-1
35  testEventScalLS = cms.untracked.bool(True), # True for grid jobs
36 
37  # Categories to process
38  categories = cms.PSet(
39  cms.PSet(
40  Mu = cms.untracked.bool(True),
41  EG = cms.untracked.bool(True),
42  IsoEG = cms.untracked.bool(True),
43  Jet = cms.untracked.bool(True),
44  CenJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
45  ForJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
46  TauJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
47  ETM = cms.untracked.bool(True),
48  ETT = cms.untracked.bool(True),
49  HTT = cms.untracked.bool(True),
50  HTM = cms.untracked.bool(False),
51  ),
52  ),
53 
54  # Algo XSec Fits
55  # srcAlgoXSecFit = 0 -> From WbM via OMDS
56  # srcAlgoXSecFit = 1 -> From python
57  srcAlgoXSecFit = cms.int32(0),
58 
59  # if srcAlgoXSecFit = 0 we need to define
60  ## Online
61  oracleDB = cms.string("oracle://CMS_OMDS_LB/CMS_TRG_R"),
62  pathCondDB = cms.string("/nfshome0/centraltspro/secure/"),
63 
64  ## Offline
65  #oracleDB = cms.string("oracle://cms_orcon_adg/CMS_COND_31X_L1T"), # For offline
66  #pathCondDB = cms.string("/afs/cern.ch/cms/DB/conddb"),
67 
68  # if srcAlgoXSecFit = 1 we need to define
69  fitParameters = RateParams
70 
71 )