CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibMuon/DTCalibration/python/dtTTrigWriter_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("PROD")
00004 
00005 process.load("Configuration.StandardSequences.Geometry_cff")
00006 process.load("Geometry.DTGeometry.dtGeometry_cfi")
00007 process.DTGeometryESModule.applyAlignment = False
00008 
00009 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00010 
00011 process.source = cms.Source("EmptySource")
00012 
00013 process.maxEvents = cms.untracked.PSet(
00014     input = cms.untracked.int32(1)
00015 )
00016 
00017 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00018     process.CondDBSetup,
00019     timetype = cms.untracked.string('runnumber'),
00020     connect = cms.string('sqlite_file:ttrig.db'),
00021     authenticationMethod = cms.untracked.uint32(0),
00022     toPut = cms.VPSet(cms.PSet(
00023         record = cms.string('DTTtrigRcd'),
00024         tag = cms.string('ttrig')
00025     ))
00026 )
00027 
00028 process.load("CalibMuon.DTCalibration.dtTTrigWriter_cfi")
00029 process.dtTTrigWriter.kFactor = -0.7
00030 process.dtTTrigWriter.rootFileName = 'DTTimeBoxes.root'
00031 process.dtTTrigWriter.debug = False
00032 
00033 process.p = cms.Path(process.dtTTrigWriter)