Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TTrigPreCalibProc")
0004 
0005 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0006 
0007 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 
0009 process.GlobalTag.globaltag = "STARTUP_31X::All"
0010 
0011 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0012 
0013 process.load("DQMServices.Core.DQM_cfg")
0014 
0015 process.source = cms.Source("PoolSource",
0016     useCSA08Kludge = cms.untracked.bool(True),
0017     debugFlag = cms.untracked.bool(True),
0018     debugVebosity = cms.untracked.uint32(10),
0019     fileNames = cms.untracked.vstring(
0020     '/store/relval/CMSSW_3_1_0_pre9/RelValSingleMuPt100/ALCARECO/IDEAL_31X_StreamALCARECORpcCalHLT_v1/0007/FA1A3CD3-514F-DE11-A117-001617E30D12.root'
0021     )
0022 )
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(-1)
0026 )
0027 
0028 process.load("DQMOffline.CalibMuon.dtPreCalibrationTask_cfi")
0029 process.dtPreCalibTask.minTriggerWidth = cms.untracked.int32(400)
0030 process.dtPreCalibTask.maxTriggerWidth = cms.untracked.int32(1200)
0031 
0032 # if read from RAW
0033 #process.ttrigcalib.digiLabel = 'dtunpacker'
0034 #process.load("EventFilter.DTRawToDigi.dtunpacker_cfi")
0035 
0036 #process.DTMapping = cms.ESSource("PoolDBESSource",
0037 #    DBParameters = cms.PSet(
0038 #        messageLevel = cms.untracked.int32(0),
0039 #        authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0040 #    ),
0041 #    timetype = cms.string('runnumber'),
0042 #    toGet = cms.VPSet(cms.PSet(
0043 #    record = cms.string('DTT0Rcd'),
0044 #    tag = cms.string('t0_CRAFT_V01_offline')
0045 #    ), 
0046 #                      cms.PSet(
0047 #    record = cms.string('DTStatusFlagRcd'),
0048 #    tag = cms.string('noise_CRAFT_V01_offline')
0049 #    )),
0050 #    connect = cms.string('oracle://cms_orcoff_prod/CMS_COND_30X_DT'),
0051 #    #        string connect = "frontier://FrontierOn/CMS_COND_ON_18X_DT"
0052 #    siteLocalConfig = cms.untracked.bool(False)
0053 #)
0054 
0055 process.MessageLogger = cms.Service("MessageLogger",
0056     debugModules = cms.untracked.vstring('dtPreCalibTask'),
0057     cout = cms.untracked.PSet(
0058         default = cms.untracked.PSet(
0059             limit = cms.untracked.int32(0)
0060         ),
0061         DTPreCalibSummary = cms.untracked.PSet(
0062             limit = cms.untracked.int32(10000000)
0063         ),
0064         noLineBreaks = cms.untracked.bool(True),
0065         threshold = cms.untracked.string('DEBUG'),
0066         DEBUG = cms.untracked.PSet(
0067             limit = cms.untracked.int32(0)
0068         )
0069     ),
0070     categories = cms.untracked.vstring('DTPreCalibSummary'),
0071     destinations = cms.untracked.vstring('cout')
0072 )
0073 
0074 process.p = cms.Path(process.dtPreCalibTask)
0075 process.DQM.collectorHost = ''
0076 
0077 # if read from RAW
0078 #process.p = cms.Path(process.muonDTDigis*process.ttrigcalib)