CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dtTPDeadWriter_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("DTTPDeadWriter")
4 
5 #process.load("Configuration.StandardSequences.GeometryDB_cff")
6 #process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
7 #process.GlobalTag.globaltag = ''
8 
9 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
10 process.GlobalTag.globaltag = ''
11 
12 process.load("Configuration.StandardSequences.GeometryDB_cff")
13 process.load("Geometry.DTGeometry.dtGeometry_cfi")
14 process.DTGeometryESModule.applyAlignment = False
15 process.DTGeometryESModule.fromDDD = False
16 
17 process.load("CondCore.DBCommon.CondDBSetup_cfi")
18 
19 process.source = cms.Source("EmptySource",
20  numberEventsInRun = cms.untracked.uint32(1),
21  firstRun = cms.untracked.uint32(1)
22 )
23 
24 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) )
25 
26 #process.t0DB = cms.ESSource("PoolDBESSource",
27 # process.CondDBSetup,
28 # authenticationMethod = cms.untracked.uint32(0),
29 # toGet = cms.VPSet(cms.PSet(
30 # record = cms.string('DTT0Rcd'),
31 # tag = cms.string('t0')
32 # )),
33 # connect = cms.string('sqlite_file:t0.db')
34 #)
35 #process.es_prefer_t0DB = cms.ESPrefer('PoolDBESSource','t0DB')
36 
37 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
38  process.CondDBSetup,
39  timetype = cms.untracked.string('runnumber'),
40  connect = cms.string('sqlite_file:tpDead.db'),
41  authenticationMethod = cms.untracked.uint32(0),
42  toPut = cms.VPSet(cms.PSet(
43  record = cms.string('DTDeadFlagRcd'),
44  tag = cms.string('tpDead')
45  ))
46 )
47 
48 process.dtTPDeadWriter = cms.EDAnalyzer("DTTPDeadWriter",
49  debug = cms.untracked.bool(True)
50 )
51 
52 process.p = cms.Path(process.dtTPDeadWriter)