File indexing completed on 2024-04-06 12:25:36
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 process = cms.Process("JETVALIDATION")
0005
0006
0007
0008 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
0009 process.source = cms.Source(
0010 "PoolSource",
0011 debugFlag = cms.untracked.bool(True),
0012 debugVebosity = cms.untracked.uint32(0),
0013 fileNames = cms.untracked.vstring('file:FastJetReco.root')
0014 )
0015
0016
0017 process.fileSaver = cms.EDFilter(
0018 "JetFileSaver",
0019 OutputFile = cms.untracked.string('val_phase4.root')
0020 )
0021
0022
0023 process.MessageLogger = cms.Service("MessageLogger",
0024 cerr = cms.untracked.PSet(
0025 enable = cms.untracked.bool(False)
0026 ),
0027 cout = cms.untracked.PSet(
0028 enable = cms.untracked.bool(True),
0029 threshold = cms.untracked.string('WARNING')
0030 )
0031 )
0032
0033
0034 process.DQMStore = cms.Service("DQMStore")
0035
0036
0037
0038 process.ic5calo = cms.EDAnalyzer(
0039 "CaloJetTester",
0040 src = cms.InputTag("iterativeCone5CaloJets::JETRECO"),
0041 srcGen = cms.InputTag("iterativeCone5GenJets::JETRECO"),
0042 genEnergyFractionThreshold = cms.double(0.05),
0043 genPtThreshold = cms.double(1.0),
0044 RThreshold = cms.double(0.3),
0045 reverseEnergyFractionThreshold = cms.double(0.5)
0046 )
0047
0048
0049 process.ic5pflow = cms.EDFilter(
0050 "PFJetTester",
0051 src = cms.InputTag("iterativeCone5PFJets::JETRECO"),
0052 srcGen = cms.InputTag("iterativeCone5GenJets::JETRECO"),
0053 genEnergyFractionThreshold = cms.double(0.05),
0054 genPtThreshold = cms.double(1.0),
0055 RThreshold = cms.double(0.3),
0056 reverseEnergyFractionThreshold = cms.double(0.5)
0057 )
0058
0059
0060 process.kt4calo = cms.EDFilter(
0061 "CaloJetTester",
0062 src = cms.InputTag("kt4CaloJets::JETRECO"),
0063 srcGen = cms.InputTag("kt4GenJets::JETRECO"),
0064 genEnergyFractionThreshold = cms.double(0.05),
0065 genPtThreshold = cms.double(1.0),
0066 RThreshold = cms.double(0.3),
0067 reverseEnergyFractionThreshold = cms.double(0.5)
0068 )
0069
0070
0071 process.kt6calo = cms.EDFilter(
0072 "CaloJetTester",
0073 src = cms.InputTag("kt6CaloJets::JETRECO"),
0074 srcGen = cms.InputTag("kt6GenJets::JETRECO"),
0075 genEnergyFractionThreshold = cms.double(0.05),
0076 genPtThreshold = cms.double(1.0),
0077 RThreshold = cms.double(0.3),
0078 reverseEnergyFractionThreshold = cms.double(0.5)
0079 )
0080
0081
0082 process.sc5calo = cms.EDFilter(
0083 "CaloJetTester",
0084 src = cms.InputTag("sisCone5CaloJets::JETRECO"),
0085 srcGen = cms.InputTag("sisCone5GenJets::JETRECO"),
0086 genEnergyFractionThreshold = cms.double(0.05),
0087 genPtThreshold = cms.double(1.0),
0088 RThreshold = cms.double(0.3),
0089 reverseEnergyFractionThreshold = cms.double(0.5)
0090 )
0091
0092
0093 process.sc7calo = cms.EDFilter(
0094 "CaloJetTester",
0095 src = cms.InputTag("sisCone7CaloJets::JETRECO"),
0096 srcGen = cms.InputTag("sisCone7GenJets::JETRECO"),
0097 genEnergyFractionThreshold = cms.double(0.05),
0098 genPtThreshold = cms.double(1.0),
0099 RThreshold = cms.double(0.3),
0100 reverseEnergyFractionThreshold = cms.double(0.5)
0101 )
0102
0103 process.p1 = cms.Path(process.fileSaver+
0104 process.ic5calo+process.ic5pflow+
0105 process.kt4calo+process.kt6calo+
0106 process.sc5calo+process.sc7calo
0107 )
0108