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