Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:44

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DTTPDeadWriter")
0004 
0005 #process.load("Configuration.StandardSequences.GeometryDB_cff")
0006 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0007 #process.GlobalTag.globaltag = ''
0008 
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 process.GlobalTag.globaltag = ''
0011 
0012 process.load("Configuration.StandardSequences.GeometryDB_cff")
0013 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0014 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0015 process.DTGeometryESModule.applyAlignment = False
0016 process.DTGeometryESModule.fromDDD = False
0017 
0018 process.load("CondCore.CondDB.CondDB_cfi")
0019 
0020 process.source = cms.Source("EmptySource",
0021     numberEventsInRun = cms.untracked.uint32(1),
0022     firstRun = cms.untracked.uint32(1)
0023 )
0024 
0025 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
0026 
0027 #process.t0DB = cms.ESSource("PoolDBESSource",
0028 #    process.CondDBSetup,
0029 #    toGet = cms.VPSet(cms.PSet(
0030 #        record = cms.string('DTT0Rcd'),
0031 #        tag = cms.string('t0')
0032 #    )),
0033 #)
0034 #process.t0DB.connect = cms.string('sqlite_file:t0.db')
0035 #process.es_prefer_t0DB = cms.ESPrefer('PoolDBESSource','t0DB')
0036 
0037 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0038     process.CondDB,
0039     timetype = cms.untracked.string('runnumber'),
0040     toPut = cms.VPSet(cms.PSet(
0041         record = cms.string('DTDeadFlagRcd'),
0042         tag = cms.string('tpDead')
0043     ))
0044 )
0045 process.PoolDBOutputService.connect = cms.string('sqlite_file:tpDead.db')
0046 
0047 process.dtTPDeadWriter = cms.EDAnalyzer("DTTPDeadWriter",
0048     debug = cms.untracked.bool(True)
0049 )
0050 
0051 process.p = cms.Path(process.dtTPDeadWriter)