CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DQM/L1TMonitor/python/L1TRate_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from DQM.L1TMonitor.L1TRateParams_cff import RateParams
00004 
00005 L1TRate = cms.EDAnalyzer("L1TRate",
00006 
00007   #-------------------------------------------------------
00008   #-------------------- ATTENTION-------------------------
00009   #-------------------------------------------------------
00010   # The parameter lsShiftGTRates shifts the LS number for 
00011   # the GT Rates taken from SCAL by a value defined by the
00012   # user. Right now it is set to -1 to compensate a bug 
00013   # in SCAL that is described in:
00014   # https://savannah.cern.ch/support/?122368
00015   # As soon as this bug is corrected this value MUST be
00016   # set to 0 again.
00017   lsShiftGTRates             = cms.untracked.int32(-1),
00018 
00019   verbose                    = cms.untracked.bool(False),
00020   dqmStore                   = cms.untracked.bool(True),
00021   disableROOToutput          = cms.untracked.bool(True),
00022   inputTagScalersResults     = cms.InputTag("scalersRawToDigi"),
00023   inputTagL1GtDataDaq        = cms.InputTag("gtDigis"),
00024   useHFDeadTimeNormalization = cms.untracked.bool(False),
00025   
00026   # Plot Parameters
00027   minInstantLuminosity = cms.double (100),
00028   maxInstantLuminosity = cms.double(5000),
00029   
00030   # Index for the prescale set to be used as reference
00031   refPrescaleSet = cms.int32(0), 
00032 
00033   # Test if scalLS==eventLS-1  
00034   testEventScalLS = cms.untracked.bool(True), # True for grid jobs
00035 
00036   # Categories to process
00037   categories = cms.PSet(
00038     cms.PSet(
00039       Mu     = cms.untracked.bool(True),
00040       EG     = cms.untracked.bool(True),
00041       IsoEG  = cms.untracked.bool(True),
00042       Jet    = cms.untracked.bool(True),
00043       CenJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
00044       ForJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
00045       TauJet = cms.untracked.bool(False), # Currently there is no unmasked trigger in this category
00046       ETM    = cms.untracked.bool(True),
00047       ETT    = cms.untracked.bool(True),
00048       HTT    = cms.untracked.bool(True),
00049       HTM    = cms.untracked.bool(True),
00050     ),
00051   ),
00052 
00053   # Algo XSec Fits  
00054   # srcAlgoXSecFit = 0 -> From WbM via OMDS
00055   # srcAlgoXSecFit = 1 -> From python
00056   srcAlgoXSecFit = cms.int32(0),
00057 
00058   # if srcAlgoXSecFit = 0 we need to define 
00059   ## Online
00060   oracleDB   = cms.string("oracle://CMS_OMDS_LB/CMS_TRG_R"),
00061   pathCondDB = cms.string("/nfshome0/centraltspro/secure/"),                
00062 
00063   ## Offline
00064   #oracleDB   = cms.string("oracle://cms_orcoff_prod/CMS_COND_31X_L1T"), # For offline
00065   #pathCondDB = cms.string("/afs/cern.ch/cms/DB/conddb"), 
00066 
00067   # if srcAlgoXSecFit = 1 we need to define 
00068   fitParameters = RateParams
00069 
00070 )