1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.StandardSequences.Eras
import eras
4 process = cms.Process(
"DTTPAnalyzer",eras.Run3)
6 process.load(
"FWCore.MessageService.MessageLogger_cfi")
8 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
9 from Configuration.AlCa.autoCond
import autoCond
10 process.GlobalTag.globaltag=autoCond[
'run3_data']
11 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
12 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
14 process.load(
"CondCore.CondDB.CondDB_cfi")
16 process.load(
"DQMServices.Core.DQM_cfg")
18 process.source = cms.Source(
"PoolSource",
19 fileNames = cms.untracked.vstring()
22 process.maxEvents = cms.untracked.PSet(
23 input = cms.untracked.int32(-1)
26 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
28 process.dtunpacker = cms.EDProducer(
"DTUnpackingModule",
29 dataType = cms.string(
'DDU'),
30 inputLabel = cms.InputTag(
'source'),
31 fedbyType = cms.bool(
False),
32 useStandardFEDid = cms.bool(
True),
33 dqmOnly = cms.bool(
False),
34 readOutParameters = cms.PSet(
35 debug = cms.untracked.bool(
False),
36 rosParameters = cms.PSet(
37 writeSC = cms.untracked.bool(
True),
38 readingDDU = cms.untracked.bool(
True),
39 performDataIntegrityMonitor = cms.untracked.bool(
False),
40 readDDUIDfromDDU = cms.untracked.bool(
True),
41 debug = cms.untracked.bool(
False),
42 localDAQ = cms.untracked.bool(
False)
44 localDAQ = cms.untracked.bool(
False),
45 performDataIntegrityMonitor = cms.untracked.bool(
False)
49 process.dtTPAnalyzer = cms.EDAnalyzer(
"DTTPAnalyzer",
50 digiLabel = cms.InputTag(
'dtunpacker'),
51 rootFileName = cms.untracked.string(
''),
52 subtractT0 = cms.bool(
True),
53 tTrigMode = cms.string(
'DTTTrigSyncT0Only'),
54 tTrigModeConfig = cms.PSet(debug = cms.untracked.bool(
False))
57 process.p = cms.Path(process.dtunpacker*process.dtTPAnalyzer)