CMS 3D CMS Logo

dtT0Analyzer_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
4 process = cms.Process("DTT0Analyzer",eras.Run3)
5 
6 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
7 from Configuration.AlCa.autoCond import autoCond
8 process.GlobalTag.globaltag=autoCond['run3_data']
9 
10 process.load("Configuration.StandardSequences.GeometryDB_cff")
11 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
12 process.load("Geometry.DTGeometry.dtGeometry_cfi")
13 process.DTGeometryESModule.applyAlignment = False
14 process.DTGeometryESModule.fromDDD = False
15 
16 process.load("CondCore.CondDB.CondDB_cfi")
17 
18 process.source = cms.Source("EmptySource",
19  numberEventsInRun = cms.untracked.uint32(1),
20  firstRun = cms.untracked.uint32(1)
21 )
22 
23 process.maxEvents = cms.untracked.PSet(
24  input = cms.untracked.int32(1)
25 )
26 
27 process.dtT0Analyzer = cms.EDAnalyzer("DTT0Analyzer",
28  rootFileName = cms.untracked.string("")
29 )
30 
31 process.p = cms.Path(process.dtT0Analyzer)