1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DTTPDeadWriter")
9 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
10 process.GlobalTag.globaltag =
'' 12 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
13 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
14 process.load(
"Geometry.DTGeometry.dtGeometry_cfi")
15 process.DTGeometryESModule.applyAlignment =
False 16 process.DTGeometryESModule.fromDDD =
False 18 process.load(
"CondCore.CondDB.CondDB_cfi")
20 process.source = cms.Source(
"EmptySource",
21 numberEventsInRun = cms.untracked.uint32(1),
22 firstRun = cms.untracked.uint32(1)
25 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
37 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
39 timetype = cms.untracked.string(
'runnumber'),
40 toPut = cms.VPSet(cms.PSet(
41 record = cms.string(
'DTDeadFlagRcd'),
42 tag = cms.string(
'tpDead')
45 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:tpDead.db')
47 process.dtTPDeadWriter = cms.EDAnalyzer(
"DTTPDeadWriter",
48 debug = cms.untracked.bool(
True)
51 process.p = cms.Path(process.dtTPDeadWriter)