test
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.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("PROD")
4 
5 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
6 process.GlobalTag.globaltag = ''
7 
8 process.load("Configuration.StandardSequences.GeometryDB_cff")
9 process.load("Geometry.DTGeometry.dtGeometry_cfi")
10 process.DTGeometryESModule.applyAlignment = False
11 process.DTGeometryESModule.fromDDD = False
12 
13 process.load("CondCore.DBCommon.CondDBSetup_cfi")
14 
15 process.source = cms.Source("EmptySource")
16 
17 process.maxEvents = cms.untracked.PSet(
18  input = cms.untracked.int32(1)
19 )
20 
21 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
22  process.CondDBSetup,
23  timetype = cms.untracked.string('runnumber'),
24  connect = cms.string('sqlite_file:ttrig.db'),
25  authenticationMethod = cms.untracked.uint32(0),
26  toPut = cms.VPSet(cms.PSet(
27  record = cms.string('DTTtrigRcd'),
28  tag = cms.string('ttrig')
29  ))
30 )
31 
32 process.load("CalibMuon.DTCalibration.dtTTrigWriter_cfi")
33 process.dtTTrigWriter.kFactor = -0.7
34 process.dtTTrigWriter.rootFileName = 'DTTimeBoxes.root'
35 process.dtTTrigWriter.debug = False
36 
37 process.p = cms.Path(process.dtTTrigWriter)