CMS 3D CMS Logo

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