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(
"Geometry.DTGeometry.dtGeometry_cfi")
14 process.DTGeometryESModule.applyAlignment =
False
15 process.DTGeometryESModule.fromDDD =
False
17 process.load(
"CondCore.DBCommon.CondDBSetup_cfi")
19 process.source = cms.Source(
"EmptySource",
20 numberEventsInRun = cms.untracked.uint32(1),
21 firstRun = cms.untracked.uint32(1)
24 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
37 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
39 timetype = cms.untracked.string(
'runnumber'),
40 connect = cms.string(
'sqlite_file:tpDead.db'),
41 authenticationMethod = cms.untracked.uint32(0),
42 toPut = cms.VPSet(cms.PSet(
43 record = cms.string(
'DTDeadFlagRcd'),
44 tag = cms.string(
'tpDead')
48 process.dtTPDeadWriter = cms.EDAnalyzer(
"DTTPDeadWriter",
49 debug = cms.untracked.bool(
True)
52 process.p = cms.Path(process.dtTPDeadWriter)