Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TestElectronConversionRejectionValidator")
0004 
0005 process.DQMStore = cms.Service("DQMStore");
0006 process.load("DQMServices.Components.DQMStoreStats_cfi")
0007 from DQMServices.Components.DQMStoreStats_cfi import *
0008 dqmStoreStats.runOnEndJob = cms.untracked.bool(True)
0009 
0010 
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013 #input = cms.untracked.int32(10)
0014 )
0015 
0016 
0017 
0018 process.load("Validation.RecoEgamma.electronConversionRejectionValidator")
0019 
0020 process.eleConvRejectionValidation.OutputFileName = 'ElectronConversionRejectionValidation.root'
0021 
0022 process.source = cms.Source("PoolSource",
0023                             
0024     fileNames = cms.untracked.vstring(
0025         '/store/relval/CMSSW_4_4_0_pre5/RelValSingleGammaPt35/GEN-SIM-RECO/START44_V2-v1/0018/D0CE4726-80B3-E011-AC32-0030486790BA.root',
0026 
0027         #'/store/relval/CMSSW_4_4_0_pre5/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START44_V2-v1/0022/12E5D087-A6B3-E011-9A28-003048679266.root',
0028         #'/store/relval/CMSSW_4_4_0_pre5/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START44_V2-v1/0018/E04D64F4-39B2-E011-B8DD-002618943976.root',
0029         #'/store/relval/CMSSW_4_4_0_pre5/RelValPhotonJets_Pt_10/GEN-SIM-RECO/START44_V2-v1/0018/4AC726F3-3AB2-E011-9DAD-002354EF3BCE.root',
0030 
0031 
0032      ),
0033  )
0034 
0035 
0036 process.FEVT = cms.OutputModule("PoolOutputModule",
0037     outputCommands = cms.untracked.vstring("keep *_MEtoEDMConverter_*_*"),
0038     fileName = cms.untracked.string('dqmout.root')
0039 )
0040 
0041 
0042 process.p1 = cms.Path(process.eleConvRejectionValidation*process.dqmStoreStats)
0043 process.schedule = cms.Schedule(process.p1)