Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0006 process.GlobalTag.globaltag = ''
0007 
0008 process.load("Configuration.StandardSequences.GeometryDB_cff")
0009 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0010 process.load("Geometry.DTGeometry.dtGeometry_cfi")
0011 process.DTGeometryESModule.applyAlignment = False
0012 process.DTGeometryESModule.fromDDD = False
0013 
0014 process.load("CondCore.CondDB.CondDB_cfi")
0015 
0016 process.source = cms.Source("EmptySource")
0017 
0018 process.maxEvents = cms.untracked.PSet(
0019     input = cms.untracked.int32(1)
0020 )
0021 
0022 # tried following
0023 # https://cmssdt.cern.ch/SDT/doxygen/CMSSW_7_4_1/doc/html/d3/d48/popcon2dropbox__job__conf_8py_source.html
0024 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0025     process.CondDB,
0026     timetype = cms.untracked.string('runnumber'),
0027     logconnect = cms.string('sqlite_file:ttrig.db'),
0028     toPut = cms.VPSet(cms.PSet(
0029         record = cms.string('DTTtrigRcd'),
0030         tag = cms.string('ttrig')
0031     ))
0032 )
0033 
0034 process.load("CalibMuon.DTCalibration.dtTTrigWriter_cfi")
0035 process.dtTTrigWriter.kFactor = -0.7
0036 process.dtTTrigWriter.rootFileName = 'DTTimeBoxes.root'
0037 process.dtTTrigWriter.debug = False
0038 
0039 process.p = cms.Path(process.dtTTrigWriter)