CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dtT0WireCalibration_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("PROD")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 process.load("Configuration.StandardSequences.GeometryDB_cff")
8 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_condDBv2_cff")
9 process.GlobalTag.globaltag = ""
10 
11 process.load("CondCore.DBCommon.CondDBSetup_cfi")
12 
13 process.load("DQMServices.Core.DQM_cfg")
14 
15 process.source = cms.Source("PoolSource",
16  fileNames = cms.untracked.vstring()
17 )
18 
19 process.maxEvents = cms.untracked.PSet(
20  input = cms.untracked.int32(-1)
21 )
22 
23 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
24 
25 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
26 
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 
50 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
51  process.CondDBSetup,
52  timetype = cms.untracked.string('runnumber'),
53  connect = cms.string('sqlite_file:t0.db'),
54  authenticationMethod = cms.untracked.uint32(0),
55  toPut = cms.VPSet(cms.PSet(
56  record = cms.string('DTT0Rcd'),
57  tag = cms.string('t0')
58  ))
59 )
60 
61 #process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
62 # eventInfoFolder = cms.untracked.string('EventInfo/')
63 #)
64 
65 # Test pulse monitoring
66 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
67 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
68 process.dtTPmonitor.defaultTtrig = 300
69 process.dtTPmonitor.defaultTmax = 100
70 process.dtTPmonitor.inTimeHitsLowerBound = 0
71 process.dtTPmonitor.inTimeHitsUpperBound = 0
72 
73 process.load('CalibMuon.DTCalibration.dtT0WireCalibration_cfi')
74 
75 process.output = cms.OutputModule("PoolOutputModule",
76  outputCommands = cms.untracked.vstring('drop *',
77  'keep *_MEtoEDMConverter_*_*'),
78  fileName = cms.untracked.string('DQM.root')
79 )
80 
81 process.load("DQMServices.Components.MEtoEDMConverter_cff")
82 #process.DQM.collectorHost = ''
83 
84 process.p = cms.Path(process.muonDTDigis*
85  process.dtTPmonitor+process.dtTPmonitorTest+
86  process.dtT0WireCalibration+
87  process.MEtoEDMConverter)
88 process.outpath = cms.EndPath(process.output)