File indexing completed on 2022-07-21 01:09:13
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("PROD")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.debugModules = cms.untracked.vstring('*')
0007 process.MessageLogger.resolution=dict()
0008 process.MessageLogger.cerr = cms.untracked.PSet(
0009 FwkReport = cms.untracked.PSet(
0010 limit = cms.untracked.int32(100),
0011 reportEvery = cms.untracked.int32(1000)
0012 ),
0013 threshold = cms.untracked.string('DEBUG'),
0014 noLineBreaks = cms.untracked.bool(False),
0015 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0016 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
0017 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
0018 )
0019
0020 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0021 from Configuration.AlCa.autoCond import autoCond
0022 process.GlobalTag.globaltag=autoCond['run3_data']
0023 process.load("Configuration.StandardSequences.GeometryDB_cff")
0024 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0025
0026 process.load("CondCore.CondDB.CondDB_cfi")
0027
0028 process.load("DQMServices.Core.DQM_cfg")
0029
0030 process.source = cms.Source("PoolSource",
0031 fileNames = cms.untracked.vstring(
0032 '/store/data/Commissioning2018/MiniDaq/RAW/v1/000/312/774/00000/CCADE144-9431-E811-9641-FA163E220C5C.root'
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045 )
0046 )
0047
0048 process.maxEvents = cms.untracked.PSet(
0049 input = cms.untracked.int32(-1)
0050 )
0051
0052 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
0053
0054
0055
0056 import EventFilter.DTRawToDigi.dturosunpacker_cfi
0057 process.dtunpacker = EventFilter.DTRawToDigi.dturosunpacker_cfi.dturosunpacker.clone()
0058
0059 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0060 process.CondDB,
0061 timetype = cms.untracked.string('runnumber'),
0062 toPut = cms.VPSet(cms.PSet(
0063 record = cms.string('DTT0Rcd'),
0064 tag = cms.string('t0')
0065 ))
0066 )
0067 process.PoolDBOutputService.connect = cms.string('sqlite_file:t0.db')
0068
0069 process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
0070 eventInfoFolder = cms.untracked.string('EventInfo/')
0071 )
0072
0073
0074
0075 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
0076 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
0077 process.dtTPmonitor.readDB = False
0078 process.dtTPmonitor.defaultTtrig = 600
0079 process.dtTPmonitor.defaultTmax = 100
0080 process.dtTPmonitor.inTimeHitsLowerBound = 0
0081 process.dtTPmonitor.inTimeHitsUpperBound = 0
0082
0083 wiresToDebug = cms.untracked.vstring()
0084
0085
0086
0087
0088
0089
0090
0091
0092
0093 process.dtT0WireCalibration = cms.EDAnalyzer("DTT0Calibration",
0094 correctByChamberMean = cms.bool(False),
0095
0096 cellsWithHisto = wiresToDebug,
0097
0098 digiLabel = cms.untracked.string('dtunpacker'),
0099 calibSector = cms.untracked.string('All'),
0100
0101 calibWheel = cms.untracked.string('All'),
0102
0103 eventsForWireT0 = cms.uint32(25000),
0104
0105 rootFileName = cms.untracked.string('DTTestPulses.root'),
0106 debug = cms.untracked.bool(False),
0107 rejectDigiFromPeak = cms.uint32(50),
0108
0109 tpPeakWidth = cms.double(15.0),
0110
0111 eventsForLayerT0 = cms.uint32(5000),
0112 timeBoxWidth = cms.uint32(300),
0113 tpPeakWidthPerLayer = cms.double(2.0)
0114 )
0115
0116 process.output = cms.OutputModule("PoolOutputModule",
0117 outputCommands = cms.untracked.vstring('drop *',
0118 'keep *_MEtoEDMConverter_*_*'),
0119 fileName = cms.untracked.string('DQM.root')
0120 )
0121
0122 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0123
0124
0125 process.p = cms.Path(process.dtunpacker*
0126 process.dtTPmonitor+process.dtTPmonitorTest+
0127 process.dtT0WireCalibration+
0128 process.MEtoEDMConverter)
0129 process.outpath = cms.EndPath(process.output)