1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"DTTPAnalyzer")
5 process.load(
"FWCore.MessageService.MessageLogger_cfi")
7 process.load(
"Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
8 from Configuration.AlCa.autoCond
import autoCond
9 process.GlobalTag.globaltag=autoCond[
'run3_data']
10 process.load(
"Configuration.StandardSequences.GeometryDB_cff")
11 process.load(
"Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
13 process.load(
"CondCore.CondDB.CondDB_cfi")
15 process.load(
"DQMServices.Core.DQM_cfg")
17 process.source = cms.Source(
"PoolSource",
18 fileNames = cms.untracked.vstring()
21 process.maxEvents = cms.untracked.PSet(
22 input = cms.untracked.int32(-1)
25 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(
True) )
27 process.dtunpacker = cms.EDProducer(
"DTUnpackingModule",
28 dataType = cms.string(
'DDU'),
29 inputLabel = cms.InputTag(
'source'),
30 fedbyType = cms.bool(
False),
31 useStandardFEDid = cms.bool(
True),
32 dqmOnly = cms.bool(
False),
33 readOutParameters = cms.PSet(
34 debug = cms.untracked.bool(
False),
35 rosParameters = cms.PSet(
36 writeSC = cms.untracked.bool(
True),
37 readingDDU = cms.untracked.bool(
True),
38 performDataIntegrityMonitor = cms.untracked.bool(
False),
39 readDDUIDfromDDU = cms.untracked.bool(
True),
40 debug = cms.untracked.bool(
False),
41 localDAQ = cms.untracked.bool(
False)
43 localDAQ = cms.untracked.bool(
False),
44 performDataIntegrityMonitor = cms.untracked.bool(
False)
48 process.dtTPAnalyzer = cms.EDAnalyzer(
"DTTPAnalyzer",
49 digiLabel = cms.InputTag(
'dtunpacker'),
50 rootFileName = cms.untracked.string(
''),
51 subtractT0 = cms.bool(
True),
52 tTrigMode = cms.string(
'DTTTrigSyncT0Only'),
53 tTrigModeConfig = cms.PSet(debug = cms.untracked.bool(
False))
56 process.p = cms.Path(process.dtunpacker*process.dtTPAnalyzer)