Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-29 04:41:19

0001 # -*- coding: utf-8 -*-
0002 import FWCore.ParameterSet.Config as cms
0003 process = cms.Process("L1TDQMOffline")
0004 import os
0005 import sys
0006 
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 process.load("DQMServices.Core.DQM_cfg")
0009 process.load('DQMOffline.Configuration.DQMOffline_cff')
0010 process.load('Configuration.EventContent.EventContent_cff')
0011 
0012 import FWCore.ParameterSet.Config as cms
0013 
0014 # DQM file saver module
0015 dqmSaver = cms.EDAnalyzer("DQMFileSaver",
0016     # Possible conventions are "Online", "Offline" and "RelVal".
0017     convention = cms.untracked.string('Offline'),
0018     # Save files in plain ROOT or encode ROOT objects in ProtocolBuffer
0019     fileFormat = cms.untracked.string('ROOT'),
0020     # Name of the producer.
0021     producer = cms.untracked.string('DQM'),
0022     # Name of the processing workflow.
0023     workflow = cms.untracked.string(''),
0024     # Directory in which to save the files.
0025     dirName = cms.untracked.string('.'),
0026     # Only save this directory
0027     filterName = cms.untracked.string(''),
0028     # Version name to be used in file name.
0029     version = cms.untracked.int32(1),
0030     # runIsComplete
0031     runIsComplete = cms.untracked.bool(False),
0032     # Save file every N lumi sections (-1: disabled)
0033     saveByLumiSection = cms.untracked.int32(-1),
0034     # Save file every N runs (-1: disabled)
0035     saveByRun = cms.untracked.int32(-1),
0036     # Save file at the end of the job
0037     saveAtJobEnd = cms.untracked.bool(True),
0038     # Ignore run number for MC data (-1: disabled)
0039     forceRunNumber = cms.untracked.int32(-1),
0040     # Control reference saving (default / skip / qtests / all)
0041     referenceHandling = cms.untracked.string('all'),
0042     # Control which references are saved for qtests (default: STATUS_OK)
0043     referenceRequireStatus = cms.untracked.int32(100)
0044 )
0045 
0046 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(50)
0047 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(False))
0048 process.source = cms.Source('PoolSource',
0049     fileNames = cms.untracked.vstring(
0050     '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/B85A468F-CAC7-E711-B1B0-02163E013250.root',
0051     '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/2429B42E-D8C7-E711-8550-FA163E9318A5.root',
0052 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/2E6A28C4-B0C7-E711-B648-FA163EB276A5.root',
0053 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/2EA0EE1C-D9C7-E711-9C0C-FA163ED6B5D2.root',
0054 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3078B5E0-CEC7-E711-985E-FA163E185B6E.root',
0055 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/30A3CBD3-E5C7-E711-BFAB-FA163ED729A9.root',
0056 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/30B18A02-D1C7-E711-B575-FA163E87AF2A.root',
0057 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/30BA768D-BAC7-E711-BF68-02163E014EFD.root',
0058 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/321C6C19-C6C7-E711-9015-02163E0165CD.root',
0059 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/325D8D7B-93C7-E711-B473-FA163EA51782.root',
0060 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/32DA1865-87C8-E711-A6EF-FA163E7CE5E6.root',
0061 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/34D05C35-E0C7-E711-B3A3-FA163EE9E324.root',
0062 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3611D753-86C8-E711-A50A-FA163E0A1D04.root',
0063 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/361FC3C2-DCC7-E711-A9E3-02163E015C7F.root',
0064 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3809982E-D8C7-E711-B043-FA163EE8D072.root',
0065 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3821BFFA-EFC7-E711-9135-FA163EF59340.root',
0066 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3ABC66B6-CCC7-E711-9DBB-FA163EC23186.root',
0067 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3AD452AD-DBC7-E711-A0E3-FA163E393C4E.root',
0068 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3C54BCA6-ECC7-E711-99A1-02163E013E06.root',
0069 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3CC5246F-86C8-E711-AC3F-FA163EE20E28.root',
0070 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3CD764B6-BBC7-E711-B2B2-FA163EC648D9.root',
0071 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/3E5F4928-EAC7-E711-A17C-FA163EE8D072.root',
0072 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/402E0BEC-D4C7-E711-9EE8-02163E012E2F.root',
0073 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/4039CF9D-DBC7-E711-B6DD-FA163E595669.root',
0074 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/404D3245-E0C7-E711-B6F7-FA163EBADFE0.root',
0075 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/407F9E7F-D5C7-E711-A1A3-02163E00B25B.root',
0076 #    '/store/data/Run2017F/SingleMuon/RAW-RECO/ZMu-PromptReco-v1/000/306/456/00000/44FE3822-D9C7-E711-A5DB-FA163EF9815F.root',
0077     )
0078 )
0079 
0080 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1))
0081 process.load('DQMOffline.L1Trigger.L1TMuonDQMEfficiency_cff')
0082 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0083 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0084 process.load("TrackingTools.Configuration.TrackingTools_cff")
0085 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0086 from Configuration.AlCa.GlobalTag import GlobalTag
0087 process.GlobalTag = GlobalTag(process.GlobalTag, '80X_dataRun2_ICHEP16_repro_v0', '')
0088 process.load('DQMOffline.L1Trigger.L1TMuonDQMOffline_cfi')
0089 process.dumpES = cms.EDAnalyzer("PrintEventSetupContent")
0090 process.l1tdumpeventsetup = cms.Path(process.dumpES)
0091 process.l1tMuonDQMOffline.verbose   = cms.untracked.bool(False)
0092 process.l1tMuonDQMOffline.gmtInputTag  = cms.untracked.InputTag("gmtStage2Digis:Muon")
0093 process.L1TMuonSeq = cms.Sequence(process.l1tMuonDQMOffline)
0094 process.L1TMuonPath = cms.Path(process.L1TMuonSeq)
0095 process.load("DQMServices.Core.DQM_cfg")
0096 process.load("DQMServices.Components.DQMEnvironment_cfi")
0097 process.dqmSaver.convention = 'Offline'
0098 process.dqmSaver.workflow = '/RelVal/DQMOffline/L1Trigger'
0099 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0100 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0101 process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
0102 process.ppost = cms.EndPath(process.l1tMuonDQMEfficiency + process.dqmSaver)