CMS 3D CMS Logo

dtTPAnalyzer_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.StandardSequences.Eras import eras
3 
4 process = cms.Process("DTTPAnalyzer",eras.Run3)
5 
6 process.load("FWCore.MessageService.MessageLogger_cfi")
7 
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")
13 
14 process.load("CondCore.CondDB.CondDB_cfi")
15 
16 process.load("DQMServices.Core.DQM_cfg")
17 
18 process.source = cms.Source("PoolSource",
19  fileNames = cms.untracked.vstring()
20 )
21 
22 process.maxEvents = cms.untracked.PSet(
23  input = cms.untracked.int32(-1)
24 )
25 
26 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
27 
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)
43  ),
44  localDAQ = cms.untracked.bool(False),
45  performDataIntegrityMonitor = cms.untracked.bool(False)
46  )
47 )
48 
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))
55 )
56 
57 process.p = cms.Path(process.dtunpacker*process.dtTPAnalyzer)