1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"PROD")
5 process.load(
"FWCore.MessageService.MessageLogger_cfi")
6 process.MessageLogger.debugModules = cms.untracked.vstring(
'*')
7 process.MessageLogger.resolution=dict()
8 process.MessageLogger.cerr = cms.untracked.PSet(
9 FwkReport = cms.untracked.PSet(
10 limit = cms.untracked.int32(100),
11 reportEvery = cms.untracked.int32(1000)
13 threshold = cms.untracked.string(
'DEBUG'),
14 noLineBreaks = cms.untracked.bool(
False),
15 DEBUG = cms.untracked.PSet(limit = cms.untracked.int32(0)),
16 INFO = cms.untracked.PSet(limit = cms.untracked.int32(0)),
17 resolution = cms.untracked.PSet(limit = cms.untracked.int32(-1))
20 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
21 from Configuration.AlCa.autoCond
import autoCond
22 process.GlobalTag.globaltag=autoCond[
'run3_data']
23 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
24 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
26 process.load(
"CondCore.CondDB.CondDB_cfi")
28 process.load(
"DQMServices.Core.DQM_cfg")
30 process.source = cms.Source(
"PoolSource",
31 fileNames = cms.untracked.vstring(
32 '/store/data/Commissioning2018/MiniDaq/RAW/v1/000/312/774/00000/CCADE144-9431-E811-9641-FA163E220C5C.root' 48 process.maxEvents = cms.untracked.PSet(
49 input = cms.untracked.int32(-1)
52 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
56 import EventFilter.DTRawToDigi.dturosunpacker_cfi
57 process.dtunpacker = EventFilter.DTRawToDigi.dturosunpacker_cfi.dturosunpacker.clone()
59 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
61 timetype = cms.untracked.string(
'runnumber'),
62 toPut = cms.VPSet(cms.PSet(
63 record = cms.string(
'DTT0Rcd'),
64 tag = cms.string(
't0')
67 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:t0.db')
69 process.eventInfoProvider = cms.EDFilter(
"EventCoordinatesSource",
70 eventInfoFolder = cms.untracked.string(
'EventInfo/')
75 process.load(
"DQM.DTMonitorModule.dtDigiTask_TP_cfi")
76 process.load(
"DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
77 process.dtTPmonitor.readDB =
False 78 process.dtTPmonitor.defaultTtrig = 600
79 process.dtTPmonitor.defaultTmax = 100
80 process.dtTPmonitor.inTimeHitsLowerBound = 0
81 process.dtTPmonitor.inTimeHitsUpperBound = 0
83 wiresToDebug = cms.untracked.vstring()
93 process.dtT0WireCalibration = cms.EDAnalyzer(
"DTT0Calibration",
94 correctByChamberMean = cms.bool(
False),
96 cellsWithHisto = wiresToDebug,
98 digiLabel = cms.untracked.string(
'dtunpacker'),
99 calibSector = cms.untracked.string(
'All'),
101 calibWheel = cms.untracked.string(
'All'),
103 eventsForWireT0 = cms.uint32(25000),
105 rootFileName = cms.untracked.string(
'DTTestPulses.root'),
106 debug = cms.untracked.bool(
False),
107 rejectDigiFromPeak = cms.uint32(50),
109 tpPeakWidth = cms.double(15.0),
111 eventsForLayerT0 = cms.uint32(5000),
112 timeBoxWidth = cms.uint32(300),
113 tpPeakWidthPerLayer = cms.double(2.0)
116 process.output = cms.OutputModule(
"PoolOutputModule",
117 outputCommands = cms.untracked.vstring(
'drop *',
118 'keep *_MEtoEDMConverter_*_*'),
119 fileName = cms.untracked.string(
'DQM.root')
122 process.load(
"DQMServices.Components.MEtoEDMConverter_cff")
125 process.p = cms.Path(process.dtunpacker*
126 process.dtTPmonitor+process.dtTPmonitorTest+
127 process.dtT0WireCalibration+
128 process.MEtoEDMConverter)
129 process.outpath = cms.EndPath(process.output)