CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dtTTrigWriter_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("PROD")
4 
5 process.load("Configuration.StandardSequences.Geometry_cff")
6 process.load("Geometry.DTGeometry.dtGeometry_cfi")
7 process.DTGeometryESModule.applyAlignment = False
8 
9 process.load("CondCore.DBCommon.CondDBSetup_cfi")
10 
11 process.source = cms.Source("EmptySource")
12 
13 process.maxEvents = cms.untracked.PSet(
14  input = cms.untracked.int32(1)
15 )
16 
17 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
18  process.CondDBSetup,
19  timetype = cms.untracked.string('runnumber'),
20  connect = cms.string('sqlite_file:ttrig.db'),
21  authenticationMethod = cms.untracked.uint32(0),
22  toPut = cms.VPSet(cms.PSet(
23  record = cms.string('DTTtrigRcd'),
24  tag = cms.string('ttrig')
25  ))
26 )
27 
28 process.load("CalibMuon.DTCalibration.dtTTrigWriter_cfi")
29 process.dtTTrigWriter.kFactor = -0.7
30 process.dtTTrigWriter.rootFileName = 'DTTimeBoxes.root'
31 process.dtTTrigWriter.debug = False
32 
33 process.p = cms.Path(process.dtTTrigWriter)