Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:58:29

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.StandardSequences.Eras import eras
0003 
0004 process = cms.Process("Calibration",eras.Run3)
0005 
0006 process.load("CalibMuon.DTCalibration.messageLoggerDebug_cff")
0007 process.MessageLogger.debugModules = ['dtNoiseCalibration']
0008 
0009 process.load("Configuration.StandardSequences.GeometryDB_cff")
0010 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0011 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0012 from Configuration.AlCa.autoCond import autoCond
0013 process.GlobalTag.globaltag=autoCond['run3_data']
0014 
0015 process.load("CondCore.CondDB.CondDB_cfi")
0016 
0017 process.source = cms.Source("PoolSource",
0018     fileNames = cms.untracked.vstring()
0019 )
0020 
0021 process.maxEvents = cms.untracked.PSet(
0022     input = cms.untracked.int32(-1)
0023 )
0024 
0025 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
0026 
0027 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0028     DBParameters = cms.PSet(),
0029     timetype = cms.untracked.string('runnumber'),
0030     connect = cms.string('sqlite_file:noise.db'),
0031     authenticationMethod = cms.untracked.uint32(0),
0032     toPut = cms.VPSet(
0033         cms.PSet(
0034             record = cms.string('DTStatusFlagRcd'),
0035             tag = cms.string('noise')
0036         )
0037     )
0038 )
0039 
0040 process.load("CalibMuon.DTCalibration.dtNoiseCalibration_cfi")
0041 
0042 #process.p = cms.Path(process.muonDTDigis*dtNoiseCalibration)
0043 process.p = cms.Path(process.dtNoiseCalibration)