1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DTTPDeadWriter")
5 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
6 from Configuration.AlCa.autoCond
import autoCond
7 process.GlobalTag.globaltag=autoCond[
'run3_data']
9 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
10 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
11 process.load(
"Geometry.DTGeometry.dtGeometry_cfi")
12 process.DTGeometryESModule.applyAlignment =
False 13 process.DTGeometryESModule.fromDDD =
False 15 process.load(
"CondCore.CondDB.CondDB_cfi")
17 process.source = cms.Source(
"EmptySource",
18 numberEventsInRun = cms.untracked.uint32(1),
19 firstRun = cms.untracked.uint32(1)
22 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
34 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
36 timetype = cms.untracked.string(
'runnumber'),
37 toPut = cms.VPSet(cms.PSet(
38 record = cms.string(
'DTDeadFlagRcd'),
39 tag = cms.string(
'tpDead')
42 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:tpDead.db')
44 process.dtTPDeadWriter = cms.EDAnalyzer(
"DTTPDeadWriter",
45 debug = cms.untracked.bool(
True)
48 process.p = cms.Path(process.dtTPDeadWriter)