CMS 3D CMS Logo

dtNoiseCalibration_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("Calibration",eras.Run3)
5 
6 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
7 process.MessageLogger.debugModules = ['dtNoiseCalibration']
8 
9 process.load("Configuration.StandardSequences.GeometryDB_cff")
10 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
11 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
12 from Configuration.AlCa.autoCond import autoCond
13 process.GlobalTag.globaltag=autoCond['run3_data']
14 
15 process.load("CondCore.CondDB.CondDB_cfi")
16 
17 process.source = cms.Source("PoolSource",
18  fileNames = cms.untracked.vstring()
19 )
20 
21 process.maxEvents = cms.untracked.PSet(
22  input = cms.untracked.int32(-1)
23 )
24 
25 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
26 
27 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
28  DBParameters = cms.PSet(),
29  timetype = cms.untracked.string('runnumber'),
30  connect = cms.string('sqlite_file:noise.db'),
31  authenticationMethod = cms.untracked.uint32(0),
32  toPut = cms.VPSet(
33  cms.PSet(
34  record = cms.string('DTStatusFlagRcd'),
35  tag = cms.string('noise')
36  )
37  )
38 )
39 
40 process.load("CalibMuon.DTCalibration.dtNoiseCalibration_cfi")
41 
42 #process.p = cms.Path(process.muonDTDigis*dtNoiseCalibration)
43 process.p = cms.Path(process.dtNoiseCalibration)