Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TopDQM")
0004 process.load("DQM.Physics.topSingleLeptonDQM_cfi")
0005 process.load("DQM.Physics.topDiLeptonOfflineDQM_cfi")
0006 
0007 process.load("DQMServices.Core.DQM_cfg")
0008 process.load("DQMServices.Components.DQMEnvironment_cfi")
0009 process.DQM.collectorHost = ''
0010 process.dqmSaver.workflow = cms.untracked.string('/Physics/TopSingleLeptonDQM/DataSet')
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(-1)
0014 )
0015 
0016 process.source = cms.Source(
0017     "PoolSource"
0018     ,fileNames = cms.untracked.vstring(
0019       '/store/relval/CMSSW_3_8_5/RelValTTbar/GEN-SIM-RECO/MC_38Y_V12-v1/0039/2ABE8934-E7D1-DF11-9985-003048678C9A.root'
0020      #'/store/relval/CMSSW_3_8_4/RelValTTbar/GEN-SIM-RECO/START38_V12-v1/0024/1A650A81-83C2-DF11-B355-002618FDA287.root'
0021     )
0022 )
0023 
0024 ## apply VBTF electronID (needed for the current implementation
0025 ## of topSingleElectronDQMLoose and topSingleElectronDQMMedium)
0026 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0027 process.load("Configuration.StandardSequences.MagneticField_cff")
0028 process.load("DQM.Physics.topElectronID_cff")
0029 
0030 ## load jet corrections
0031 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0032 ## --------------------------------------------------------------------
0033 ## Frontier Conditions: (adjust accordingly!!!)
0034 ##
0035 ## For CMSSW_3_8_X MC use             ---> 'START38_V12::All'
0036 ## For Data (38X re-processing) use   ---> 'GR_R_38X_V13::All'
0037 ##
0038 ## For more details have a look at: WGuideFrontierConditions
0039 ## --------------------------------------------------------------------
0040 process.GlobalTag.globaltag = 'START38_V12::All' 
0041 process.load('JetMETCorrections.Configuration.JetCorrectionServicesAllAlgos_cff')
0042 process.prefer("ak4CaloL2L3")
0043 
0044 ## configure message logger
0045 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0046 process.MessageLogger.cerr.threshold = 'INFO'
0047 process.MessageLogger.cerr.TopDiLeptonOfflineDQM = cms.untracked.PSet(limit = cms.untracked.int32(1))
0048 
0049 ## check the event content
0050 process.content = cms.EDAnalyzer("EventContentAnalyzer")
0051 
0052 ## this is a full sequence to test the functionality of all modules
0053 process.p = cms.Path(
0054     #process.content *
0055     ## common dilepton monitoring
0056     process.simpleEleId70cIso          *
0057     process.topDiLeptonOfflineDQM      +
0058     ## common lepton plus jets monitoring
0059     process.topSingleLeptonDQM         +
0060     ## muon plus jets monitoring
0061     process.topSingleMuonLooseDQM      +    
0062     process.topSingleMuonMediumDQM     +
0063     ## electron plus jets monitoring
0064     process.topSingleElectronLooseDQM  +    
0065     process.topSingleElectronMediumDQM +
0066     ## save histograms
0067     process.dqmSaver
0068 )
0069 
0070 ## Options and Output Report
0071 process.options   = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )