CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoJets/JetProducers/validation/jetProducers_validation_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("JETVALIDATION")
00004 
00005 
00006 # INPUT
00007 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
00008 process.source = cms.Source(
00009     "PoolSource",
00010     debugFlag = cms.untracked.bool(True),
00011     debugVebosity = cms.untracked.uint32(0),
00012     fileNames = cms.untracked.vstring('file:FastJetReco.root')
00013     )
00014 
00015 # OUTPUT
00016 process.fileSaver = cms.EDFilter(
00017     "JetFileSaver",
00018     OutputFile = cms.untracked.string('ref.root')
00019     )
00020 
00021 # MessageLogger
00022 process.MessageLogger = cms.Service("MessageLogger",
00023     destinations = cms.untracked.vstring('cout'),
00024     cout         = cms.untracked.PSet(threshold = cms.untracked.string('WARNING'))
00025 )
00026 
00027 # DQMStore
00028 process.DQMStore = cms.Service("DQMStore")
00029 
00030 
00031 # IC5 Calo-Jets
00032 process.ic5calo = cms.EDAnalyzer(
00033     "CaloJetTester",
00034     src = cms.InputTag("iterativeCone5CaloJets::RECO"),
00035     srcGen = cms.InputTag("iterativeCone5GenJets::HLT"),
00036     genEnergyFractionThreshold = cms.double(0.05),
00037     genPtThreshold = cms.double(1.0),
00038     RThreshold = cms.double(0.3),
00039     reverseEnergyFractionThreshold = cms.double(0.5)
00040     )
00041 
00042 # IC5 PFlow-Jets
00043 process.ic5pflow = cms.EDFilter(
00044     "PFJetTester",
00045     src = cms.InputTag("iterativeCone5PFJets::RECO"),
00046     srcGen = cms.InputTag("iterativeCone5GenJets::HLT"),
00047     genEnergyFractionThreshold = cms.double(0.05),
00048     genPtThreshold = cms.double(1.0),
00049     RThreshold = cms.double(0.3),
00050     reverseEnergyFractionThreshold = cms.double(0.5)
00051 )
00052 
00053 # KT4 Calo jets
00054 process.kt4calo = cms.EDFilter(
00055     "CaloJetTester",
00056     src = cms.InputTag("kt4CaloJets::RECO"),
00057     srcGen = cms.InputTag("kt4GenJets::HLT"),
00058     genEnergyFractionThreshold = cms.double(0.05),
00059     genPtThreshold = cms.double(1.0),
00060     RThreshold = cms.double(0.3),
00061     reverseEnergyFractionThreshold = cms.double(0.5)
00062     )
00063                                     
00064 # KT6 Calo jets
00065 process.kt6calo = cms.EDFilter(
00066     "CaloJetTester",
00067     src = cms.InputTag("kt6CaloJets::RECO"),
00068     srcGen = cms.InputTag("kt6GenJets::HLT"),
00069     genEnergyFractionThreshold = cms.double(0.05),
00070     genPtThreshold = cms.double(1.0),
00071     RThreshold = cms.double(0.3),
00072     reverseEnergyFractionThreshold = cms.double(0.5)
00073     )
00074                                     
00075 # SC5 Calo-Jets
00076 process.sc5calo = cms.EDFilter(
00077     "CaloJetTester",
00078     src = cms.InputTag("sisCone5CaloJets::RECO"),
00079     srcGen = cms.InputTag("sisCone5GenJets::HLT"),
00080     genEnergyFractionThreshold = cms.double(0.05),
00081     genPtThreshold = cms.double(1.0),
00082     RThreshold = cms.double(0.3),
00083     reverseEnergyFractionThreshold = cms.double(0.5)
00084     )
00085 
00086 # SC7 Calo-Jets
00087 process.sc7calo = cms.EDFilter(
00088     "CaloJetTester",
00089     src = cms.InputTag("sisCone7CaloJets::RECO"),
00090     srcGen = cms.InputTag("sisCone7GenJets::HLT"),
00091     genEnergyFractionThreshold = cms.double(0.05),
00092     genPtThreshold = cms.double(1.0),
00093     RThreshold = cms.double(0.3),
00094     reverseEnergyFractionThreshold = cms.double(0.5)
00095     )
00096 
00097 process.p1 = cms.Path(process.fileSaver+
00098                       process.ic5calo+process.ic5pflow+
00099                       process.kt4calo+process.kt6calo+
00100                       process.sc5calo+process.sc7calo
00101                       )
00102