Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DQM")
0004 #process.load("DQM.HLTEvF.HLTMonitor_cff")
0005 
0006 #process.load("DQM.HLTEvF.HLTMonJetMET_cfi")
0007 
0008 #process.load("DQM.HLTEvF.HLTMonJetMET_E31_cfi")
0009 #from DQM.HLTEvF.HLTMonJetMET_E31_cfi import *
0010 
0011 process.load("DQM.HLTEvF.HLTMonJetMET_E28_cfi")
0012 from DQM.HLTEvF.HLTMonJetMET_E28_cfi import *
0013 
0014 ##@$process.load("DQM.HLTEvF.jetmetDQMConsumer_cfi")
0015 ##@$from DQM.HLTEvF.jetmetDQMConsumer_cfi import *
0016 
0017 
0018 process.load("DQMServices.Core.DQM_cfg")
0019 
0020 ### include your reference file
0021 
0022 process.load("DQMServices.Components.DQMEnvironment_cfi")
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     #input = cms.untracked.int32(100)
0026     input = cms.untracked.int32(1000)
0027 )
0028 
0029 process.source = cms.Source("PoolSource",
0030     fileNames = cms.untracked.vstring(
0031     ### QCD CMSSW 3X
0032         'file:/afs/cern.ch/user/j/jabeen/public/CMSSW_3_1_0_pre10/src/Test.root'
0033 #        '/store/data/Commissioning09/Monitor/RAW/v1/000/082/548/A06226EF-4A30-DE11-A607-000423D94AA8.root'
0034 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/F668AADD-4F16-DE11-96A4-001617C3B70E.root',
0035 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/D8DA8359-0616-DE11-8B00-000423D98AF0.root',
0036 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/CC17AAF2-0616-DE11-8C55-000423D6CA42.root',
0037 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/C87CCC26-4F16-DE11-A5E7-000423D98844.root',
0038 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/70820DE5-0616-DE11-9A9D-000423D986A8.root',
0039 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/6EA9847C-5A16-DE11-82B8-001617C3B6C6.root',
0040 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/6C075A5D-2016-DE11-BB66-000423D6CA72.root',
0041 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/6620613C-4F16-DE11-A033-000423D95220.root',
0042 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/5688EBA3-0516-DE11-8170-000423D94AA8.root',
0043 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/3E1BCACC-0516-DE11-B6DC-000423D6A6F4.root',
0044 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/364F41D9-0516-DE11-BF0A-000423D9853C.root',
0045 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/1C94B51A-AC16-DE11-8F94-001617C3B76E.root',
0046 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/1A3FDC02-0916-DE11-9DC7-001617E30D0A.root',
0047 #       '/store/relval/CMSSW_3_1_0_pre4/RelValQCD_FlatPt_15_3000/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0003/00DD82EE-0616-DE11-ABAD-000423D6B42C.root'
0048 #    '/store/relval/CMSSW_3_1_0_pre4/RelValTTbar_cfi/GEN-SIM-DIGI-RECO/STARTUP_30X_FastSim_v1/0001/0C384E22-4116-DE11-9D9D-0018F3D09698.root',
0049     ##'/store/relval/CMSSW_3_1_0_pre4/RelValTTbar_cfi/GEN-SIM-DIGI-RECO/STARTUP_30X_FastSim_v1/0001/0E152E43-3E16-DE11-9BF7-001731AF6AE7.root'
0050     #'file:/uscms_data/d2/jabeen/work/CMSSW_3_1_0_pre4_jn/src/DQM/HLTEvF/python/0C384E22-4116-DE11-9D9D-0018F3D09698.root'
0051 
0052     )
0053 )
0054 
0055 ###  DQM Source program (in DQMServices/Examples/src/DQMSourceExample.cc)
0056 ###process.dqmSource   = cms.EDAnalyzer("DQMSourceExample",
0057 ###        monitorName = cms.untracked.string('YourSubsystemName'),
0058 ###        prescaleEvt = cms.untracked.int32(1),
0059 ###        prescaleLS  =  cms.untracked.int32(1)                    
0060 ###                                   )
0061 
0062 ### run the quality tests as defined in QualityTests.xml
0063 from DQMServices.Core.DQMQualityTester import DQMQualityTester
0064 #@#process.qTester = DQMQualityTester(
0065 #@#    qtList = cms.untracked.FileInPath('DQM/HLTEvF/python/JetMETQualityTests.xml'),
0066 #@#    prescaleFactor = cms.untracked.int32(1),                               
0067 #@#    testInEventloop = cms.untracked.bool(True),
0068 #@#    verboseQT =  cms.untracked.bool(True)                 
0069 #@#                              )
0070 
0071 #### BEGIN DQM Online Environment #######################
0072     
0073 ### replace YourSubsystemName by the name of your source ###
0074 ### use it for dqmEnv, dqmSaver
0075 process.load("DQMServices.Components.DQMEnvironment_cfi")
0076 
0077 ##4 lines below are necessary to pick up right conditions in which data was taken.?????
0078 
0079 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0080 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0081 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0082 process.GlobalTag.globaltag = 'CRAFT_31X::All'
0083 
0084 #process.DQM.collectorHost = 'srv-c2d05-XX'
0085 #process.DQM.collectorPort = 9190
0086 ### path where to save the output file
0087 process.dqmSaver.dirName = '.'
0088 
0089 ### the filename prefix 
0090 process.dqmSaver.producer = 'DQM'
0091 
0092 ### possible conventions are "Online", "Offline" and "RelVal"
0093 process.dqmSaver.convention = 'Online'
0094 
0095 process.dqmEnv.subSystemFolder = 'HLTMonJetMET'
0096 
0097 ### optionally change fileSaving  conditions
0098 #process.dqmSaver.saveByLumiSection = -1
0099 #process.dqmSaver.saveByMinute      = -1
0100 #process.dqmSaver.saveByEvent       = -1
0101 #process.dqmSaver.saveByRun         =  1
0102 #process.dqmSaver.saveAtJobEnd      = False
0103 
0104 
0105 process.MessageLogger = cms.Service("MessageLogger",
0106     detailedInfo = cms.untracked.PSet(
0107         threshold = cms.untracked.string('INFO')
0108     ),
0109     critical = cms.untracked.PSet(
0110         threshold = cms.untracked.string('ERROR')
0111     ),
0112     debugModules = cms.untracked.vstring('*'),
0113     cout = cms.untracked.PSet(
0114         threshold = cms.untracked.string('WARNING'),
0115         WARNING = cms.untracked.PSet(
0116             limit = cms.untracked.int32(0)
0117         ),
0118         noLineBreaks = cms.untracked.bool(True)
0119     ),
0120     destinations = cms.untracked.vstring('detailedInfo', 
0121         'critical', 
0122         'cout')
0123 )
0124 
0125 
0126 #with consumer 
0127 
0128 #process.p = cms.EndPath(process.hltMonJetMET*process.qTester*process.dqmEnv*process.dqmSaver)
0129 process.p = cms.EndPath(process.hltMonJetMET*process.dqmEnv*process.dqmSaver)
0130 
0131 ##@$process.p = cms.EndPath(process.hltMonJetMET*process.jetmetDQMConsumer*process.qTester*process.dqmEnv*process.dqmSaver)
0132 
0133 
0134 
0135 
0136 process.DQMStore.verbose = 0
0137 process.DQM.collectorHost = ''
0138 process.dqmSaver.convention = 'Online'
0139 process.dqmSaver.saveByRun = 1
0140 process.dqmSaver.saveAtJobEnd = True
0141