CMS 3D CMS Logo

dtT0Analyzer_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("DTT0Analyzer")
4 
5 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
6 from Configuration.AlCa.autoCond import autoCond
7 process.GlobalTag.globaltag=autoCond['run3_data']
8 
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
14 
15 process.load("CondCore.CondDB.CondDB_cfi")
16 
17 process.source = cms.Source("EmptySource",
18  numberEventsInRun = cms.untracked.uint32(1),
19  firstRun = cms.untracked.uint32(1)
20 )
21 
22 process.maxEvents = cms.untracked.PSet(
23  input = cms.untracked.int32(1)
24 )
25 
26 process.dtT0Analyzer = cms.EDAnalyzer("DTT0Analyzer",
27  rootFileName = cms.untracked.string("")
28 )
29 
30 process.p = cms.Path(process.dtT0Analyzer)