1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"PROD")
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")
19 process.maxEvents = cms.untracked.PSet(
20 input = cms.untracked.int32(1)
25 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
27 timetype = cms.untracked.string(
'runnumber'),
28 logconnect = cms.string(
'sqlite_file:ttrig.db'),
29 toPut = cms.VPSet(cms.PSet(
30 record = cms.string(
'DTTtrigRcd'),
31 tag = cms.string(
'ttrig')
35 process.load(
"CalibMuon.DTCalibration.dtTTrigWriter_cfi")
36 process.dtTTrigWriter.kFactor = -0.7
37 process.dtTTrigWriter.rootFileName =
'DTTimeBoxes.root' 38 process.dtTTrigWriter.debug =
False 40 process.p = cms.Path(process.dtTTrigWriter)