CMS 3D CMS Logo

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