Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.maxEvents = cms.untracked.PSet(
0006         input = cms.untracked.int32(2000)
0007         )
0008 
0009 
0010 process.source = cms.Source("PoolSource",
0011                fileNames = cms.untracked.vstring(
0012         "/store/data/Run2012D/SingleMu/RAW-RECO/ZMu-PromptSkim-v1/000/207/454/00000/0246D2DC-4633-E211-B222-00261834B559.root",
0013         "/store/data/Run2012D/SingleMu/RAW-RECO/ZMu-PromptSkim-v1/000/207/454/00000/02ECD026-1C33-E211-8F36-20CF305B0534.root",
0014 #        "/store/data/Run2012D/DoubleElectron/RAW-RECO/ZElectron-PromptSkim-v1/000/207/454/00000/08AB2AA5-9C33-E211-8EFE-00261894392F.root",
0015 #        "/store/data/Run2012D/DoubleElectron/RAW-RECO/ZElectron-PromptSkim-v1/000/207/454/00000/08B8D682-9C33-E211-BCBC-003048FFCBB0.root",
0016                          )
0017                             )
0018 
0019 
0020 process.load("FWCore.MessageService.MessageLogger_cfi")
0021 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0022 process.MessageLogger.HLTTauDQMOffline=dict()
0023 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0024 process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
0025 
0026 # # remember to compile with USER_CXXFLAGS="-DEDM_ML_DEBUG"
0027 # process.MessageLogger.cerr.threshold = cms.untracked.string("DEBUG")
0028 # process.MessageLogger.debugModules.extend([
0029 #         "hltTauOfflineMonitor_PFTaus",
0030 #         "hltTauOfflineMonitor_Inclusive",
0031 #         "HLTTauPostAnalysis_PFTaus",
0032 #         "HLTTauPostAnalysis_Inclusive",
0033 #         ])
0034 
0035 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0036 from Configuration.AlCa.GlobalTag import GlobalTag
0037 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:com10', '') # for data
0038 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '') # for MC
0039 
0040 #process.DQMStore = cms.Service("DQMStore")
0041 
0042 #Load DQM Services
0043 process.load("DQMServices.Core.DQM_cfg")
0044 process.load("DQMServices.Components.DQMEnvironment_cfi")
0045 
0046 #Load Tau offline DQM
0047 process.load("DQMOffline.Trigger.HLTTauDQMOffline_cff")
0048 
0049 process.dqmEnv.subSystemFolder = "HLTOffline/HLTTAU"
0050 
0051 #Reconfigure Environment and saver
0052 #process.dqmEnv.subSystemFolder = cms.untracked.string('HLT/HLTTAU')
0053 #process.DQM.collectorPort = 9091
0054 #process.DQM.collectorHost = cms.untracked.string('pcwiscms10')
0055 
0056 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0057 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0058 process.dqmSaver.workflow = cms.untracked.string('/A/B/C')
0059 process.dqmSaver.forceRunNumber = cms.untracked.int32(123)
0060 
0061 
0062 process.p = cms.Path(process.HLTTauDQMOffline*process.dqmEnv)
0063 
0064 process.o = cms.EndPath(process.HLTTauDQMOfflineHarvesting*process.HLTTauDQMOfflineQuality*process.dqmSaver)
0065 
0066 process.schedule = cms.Schedule(process.p,process.o)