Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:36

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