CMS 3D CMS Logo

L1TRate_Offline_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.L1Trigger.L1TRateOfflineParams_cff import RateParams
4 
5 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
6 l1tRate_Offline = DQMEDAnalyzer('L1TRate_Offline',
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), # This must be off when running on official release
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  Tau = cms.untracked.bool(True),
44  IsoTau = cms.untracked.bool(True),
45  Jet = cms.untracked.bool(True),
46  CenJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
47  ForJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
48  TauJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
49  ETM = cms.untracked.bool(True),
50  ETT = cms.untracked.bool(True),
51  HTT = cms.untracked.bool(True),
52  HTM = cms.untracked.bool(True),
53  ),
54  ),
55 
56  # Algo XSec Fits
57  # srcAlgoXSecFit = 0 -> From WbM via OMDS
58  # srcAlgoXSecFit = 1 -> From python
59  srcAlgoXSecFit = cms.int32(1),
60 
61  # if srcAlgoXSecFit = 0 we need to define
62 
63  oracleDB = cms.string("oracle://CMS_OMDS_LB/CMS_TRG_R"),
64  pathCondDB = cms.string("/nfshome0/centraltspro/secure/"),
65 
66 
69 
70  # if srcAlgoXSecFit = 1 we need to define
71  fitParameters = RateParams
72 
73 )