CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CalibMuon/DTCalibration/python/dtT0WireCalibration_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("PROD")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 
00007 process.load("Configuration.StandardSequences.Geometry_cff")
00008 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
00009 process.GlobalTag.globaltag = ""
00010 
00011 process.load("CondCore.DBCommon.CondDBSetup_cfi")
00012 
00013 process.load("DQMServices.Core.DQM_cfg")
00014 
00015 process.source = cms.source("PoolSource",
00016     fileNames = cms.untracked.vstring()
00017 )
00018 
00019 process.maxEvents = cms.untracked.PSet(
00020     input = cms.untracked.int32(-1)
00021 )
00022 
00023 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
00024 
00025 process.load("CalibMuon.DTCalibration.dt_offlineAnalysis_common_cff")
00026 
00027 """
00028 process.dtunpacker = cms.EDProducer("DTUnpackingModule",
00029     dataType = cms.string('DDU'),
00030     inputLabel = cms.InputTag('source'),
00031     fedbyType = cms.bool(False),
00032     useStandardFEDid = cms.bool(True),
00033     dqmOnly = cms.bool(False),                       
00034     readOutParameters = cms.PSet(
00035         debug = cms.untracked.bool(False),
00036         rosParameters = cms.PSet(
00037             writeSC = cms.untracked.bool(True),
00038             readingDDU = cms.untracked.bool(True),
00039             performDataIntegrityMonitor = cms.untracked.bool(False),
00040             readDDUIDfromDDU = cms.untracked.bool(True),
00041             debug = cms.untracked.bool(False),
00042             localDAQ = cms.untracked.bool(False)
00043         ),
00044         localDAQ = cms.untracked.bool(False),
00045         performDataIntegrityMonitor = cms.untracked.bool(False)
00046     )
00047 )
00048 """
00049 
00050 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
00051     process.CondDBSetup,
00052     timetype = cms.untracked.string('runnumber'),
00053     connect = cms.string('sqlite_file:t0.db'),
00054     authenticationMethod = cms.untracked.uint32(0),
00055     toPut = cms.VPSet(cms.PSet(
00056         record = cms.string('DTT0Rcd'),
00057         tag = cms.string('t0')
00058     ))
00059 )
00060 
00061 #process.eventInfoProvider = cms.EDFilter("EventCoordinatesSource",
00062 #    eventInfoFolder = cms.untracked.string('EventInfo/')
00063 #)
00064 
00065 # Test pulse monitoring
00066 process.load("DQM.DTMonitorModule.dtDigiTask_TP_cfi")
00067 process.load("DQM.DTMonitorClient.dtOccupancyTest_TP_cfi")
00068 process.dtTPmonitor.defaultTtrig = 300
00069 process.dtTPmonitor.defaultTmax = 100
00070 process.dtTPmonitor.inTimeHitsLowerBound = 0
00071 process.dtTPmonitor.inTimeHitsUpperBound = 0
00072 
00073 process.load('CalibMuon.DTCalibration.dtT0WireCalibration_cfi')
00074 
00075 process.output = cms.OutputModule("PoolOutputModule",
00076     outputCommands = cms.untracked.vstring('drop *', 
00077                                            'keep *_MEtoEDMConverter_*_*'),
00078     fileName = cms.untracked.string('DQM.root')
00079 )
00080 
00081 process.load("DQMServices.Components.MEtoEDMConverter_cff")
00082 process.DQM.collectorHost = ''
00083 
00084 process.p = cms.Path(process.muonDTDigis*
00085                      process.dtTPmonitor+process.dtTPmonitorTest+
00086                      process.dtT0WireCalibration+
00087                      process.MEtoEDMConverter)
00088 process.outpath = cms.EndPath(process.output)