Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoJets.Configuration.CaloTowersRec_cff import *
0004 
0005 from RecoJets.JetProducers.CaloJetParameters_cfi import *
0006 from RecoJets.JetProducers.AnomalousCellParameters_cfi import *
0007 
0008 CaloTowerConstituentsMapBuilder = cms.ESProducer("CaloTowerConstituentsMapBuilder",
0009     MapFile = cms.untracked.string('Geometry/CaloTopology/data/CaloTowerEEGeometric.map.gz')
0010 )
0011 
0012 caloTowers = cms.EDProducer("CaloTowerCandidateCreator",
0013     src = cms.InputTag("towerMaker"),
0014     e = cms.double(0.0),
0015     verbose = cms.untracked.int32(0),
0016     pt = cms.double(0.0),
0017     minimumE = cms.double(0.0),
0018     minimumEt = cms.double(0.0),
0019     et = cms.double(0.0)
0020 )
0021 import RecoJets.JetProducers.FastjetJetProducer_cfi as _mod
0022 
0023 iterativeConePu5CaloJets = _mod.FastjetJetProducer.clone(
0024     CaloJetParameters,
0025     AnomalousCellParameters,
0026     jetAlgorithm = "IterativeCone",
0027     rParam       = 0.5,
0028     doPUOffsetCorr = True,
0029     doPVCorrection = False,
0030     jetPtMin = 10
0031 )
0032 
0033 # REPLACE with UP-TO-DATE Corrections
0034 #MCJetCorJetIconePu5 = cms.EDProducer("CaloJetCorrectionProducer",
0035 #    src = cms.InputTag("iterativeConePu5CaloJets"),
0036 #    correctors = cms.vstring('MCJetCorrectorIcone5'),
0037 #    alias = cms.untracked.string('MCJetCorJetIconePu5')
0038 #)
0039 
0040 #iterativeCone5HiGenJets = cms.EDProducer("IterativeConeHiGenJetProducer",
0041 #                                         IconeJetParameters,
0042 #                                         inputEtMin = cms.double(0.0),                                        
0043 #                                         inputEMin = cms.double(0.0),                                        
0044 #                                         src = cms.InputTag("hiGenParticles"),
0045 #                                         jetType = cms.string('GenJet'),                                        
0046 #                                         alias = cms.untracked.string('IC5HiGenJet'),
0047 #                                         coneRadius = cms.double(0.5)
0048 #                                         )
0049 runjetsTask = cms.Task(caloTowersRecTask,caloTowers,iterativeConePu5CaloJets)
0050 runjets = cms.Sequence(runjetsTask)