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.GeometryDB_cff")
21 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
22 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
23 process.GlobalTag.globaltag =
""
25 process.load(
"CondCore.CondDB.CondDB_cfi")
27 process.load(
"DQMServices.Core.DQM_cfg")
29 process.source = cms.Source(
"PoolSource",
30 fileNames = cms.untracked.vstring(
31 '/store/data/Commissioning2018/MiniDaq/RAW/v1/000/312/774/00000/CCADE144-9431-E811-9641-FA163E220C5C.root'
47 process.maxEvents = cms.untracked.PSet(
48 input = cms.untracked.int32(-1)
51 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
55 import EventFilter.DTRawToDigi.dturosunpacker_cfi
56 process.dtunpacker = EventFilter.DTRawToDigi.dturosunpacker_cfi.dturosunpacker.clone()
58 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
60 timetype = cms.untracked.string(
'runnumber'),
61 toPut = cms.VPSet(cms.PSet(
62 record = cms.string(
'DTT0Rcd'),
63 tag = cms.string(
't0')
66 process.PoolDBOutputService.connect = cms.string(
'sqlite_file:t0.db')
68 process.eventInfoProvider = cms.EDFilter(
"EventCoordinatesSource",
69 eventInfoFolder = cms.untracked.string(
'EventInfo/')
74 process.load(
"DQM.DTMonitorModule.dtDigiTask_TP_cfi")
75 process.load(
"DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
76 process.dtTPmonitor.readDB =
False
77 process.dtTPmonitor.defaultTtrig = 600
78 process.dtTPmonitor.defaultTmax = 100
79 process.dtTPmonitor.inTimeHitsLowerBound = 0
80 process.dtTPmonitor.inTimeHitsUpperBound = 0
82 wiresToDebug = cms.untracked.vstring()
92 process.dtT0WireCalibration = cms.EDAnalyzer(
"DTT0Calibration",
93 correctByChamberMean = cms.bool(
False),
95 cellsWithHisto = wiresToDebug,
97 digiLabel = cms.untracked.string(
'dtunpacker'),
98 calibSector = cms.untracked.string(
'All'),
100 calibWheel = cms.untracked.string(
'All'),
102 eventsForWireT0 = cms.uint32(25000),
104 rootFileName = cms.untracked.string(
'DTTestPulses.root'),
105 debug = cms.untracked.bool(
False),
106 rejectDigiFromPeak = cms.uint32(50),
108 tpPeakWidth = cms.double(15.0),
110 eventsForLayerT0 = cms.uint32(5000),
111 timeBoxWidth = cms.uint32(300),
112 tpPeakWidthPerLayer = cms.double(2.0)
115 process.output = cms.OutputModule(
"PoolOutputModule",
116 outputCommands = cms.untracked.vstring(
'drop *',
117 'keep *_MEtoEDMConverter_*_*'),
118 fileName = cms.untracked.string(
'DQM.root')
121 process.load(
"DQMServices.Components.MEtoEDMConverter_cff")
124 process.p = cms.Path(process.dtunpacker*
125 process.dtTPmonitor+process.dtTPmonitorTest+
126 process.dtT0WireCalibration+
127 process.MEtoEDMConverter)
128 process.outpath = cms.EndPath(process.output)