CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_1/src/RecoHI/HiJetAlgos/python/HiRecoJets_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoJets.Configuration.CaloTowersRec_cff import *
00004 
00005 ## Default Parameter Sets
00006 from RecoJets.JetProducers.AnomalousCellParameters_cfi import *
00007 from RecoHI.HiJetAlgos.HiCaloJetParameters_cff import *
00008 
00009 caloTowers = cms.EDProducer("CaloTowerCandidateCreator",
00010     src = cms.InputTag("towerMaker"),
00011     e = cms.double(0.0),
00012     verbose = cms.untracked.int32(0),
00013     pt = cms.double(0.0),
00014     minimumE = cms.double(0.0),
00015     minimumEt = cms.double(0.0),
00016     et = cms.double(0.0)
00017 )
00018 
00019 ## Iterative Cone
00020 iterativeConePu5CaloJets = cms.EDProducer(
00021     "FastjetJetProducer",
00022     HiCaloJetParameters,
00023     AnomalousCellParameters,
00024     MultipleAlgoIteratorBlock,
00025     jetAlgorithm = cms.string("IterativeCone"),
00026     rParam       = cms.double(0.5)
00027     )
00028 iterativeConePu5CaloJets.radiusPU = 0.5
00029 
00030 iterativeConePu7CaloJets = cms.EDProducer(
00031     "FastjetJetProducer",
00032     HiCaloJetParameters,
00033     AnomalousCellParameters,
00034     MultipleAlgoIteratorBlock,
00035     jetAlgorithm = cms.string("IterativeCone"),
00036     rParam       = cms.double(0.7)
00037     )
00038 iterativeConePu7CaloJets.radiusPU = 0.7
00039 
00040 ## kT
00041 ktPu4CaloJets = cms.EDProducer(
00042     "FastjetJetProducer",
00043     HiCaloJetParameters,
00044     AnomalousCellParameters,
00045     MultipleAlgoIteratorBlock,
00046     jetAlgorithm = cms.string("Kt"),
00047     rParam       = cms.double(0.4)
00048     )
00049 ktPu4CaloJets.radiusPU = 0.5
00050 
00051 ktPu6CaloJets = cms.EDProducer(
00052     "FastjetJetProducer",
00053     HiCaloJetParameters,
00054     AnomalousCellParameters,
00055     MultipleAlgoIteratorBlock,
00056     jetAlgorithm = cms.string("Kt"),
00057     rParam       = cms.double(0.6)
00058     )
00059 ktPu6CaloJets.radiusPU = 0.7
00060 
00061 ## anti-kT
00062 akPu5CaloJets = cms.EDProducer(
00063     "FastjetJetProducer",
00064     HiCaloJetParameters,
00065     AnomalousCellParameters,
00066     MultipleAlgoIteratorBlock,
00067     jetAlgorithm = cms.string("AntiKt"),
00068     rParam       = cms.double(0.5)
00069     )
00070 akPu5CaloJets.radiusPU = 0.5
00071 
00072 akPu7CaloJets = cms.EDProducer(
00073     "FastjetJetProducer",
00074     HiCaloJetParameters,
00075     AnomalousCellParameters,
00076     MultipleAlgoIteratorBlock,
00077     jetAlgorithm = cms.string("AntiKt"),
00078     rParam       = cms.double(0.7)
00079     )
00080 akPu7CaloJets.radiusPU = 0.7
00081 
00082 ## Algos without offset pileup correction
00083 ic5CaloJets = iterativeConePu5CaloJets.clone()
00084 ic5CaloJets.doRhoFastjet = True
00085 ic5CaloJets.doPUOffsetCorr = False
00086 
00087 ic7CaloJets = iterativeConePu7CaloJets.clone()
00088 ic7CaloJets.doRhoFastjet = True
00089 ic7CaloJets.doPUOffsetCorr = False
00090 
00091 ak5CaloJets = akPu5CaloJets.clone()
00092 ak5CaloJets.doRhoFastjet = True
00093 ak5CaloJets.doPUOffsetCorr = False
00094 
00095 ak7CaloJets = akPu7CaloJets.clone()
00096 ak7CaloJets.doRhoFastjet = True
00097 ak7CaloJets.doPUOffsetCorr = False
00098 
00099 kt4CaloJets = ktPu4CaloJets.clone()
00100 kt4CaloJets.doRhoFastjet = True
00101 kt4CaloJets.doPUOffsetCorr = False
00102 
00103 kt6CaloJets = ktPu6CaloJets.clone()
00104 kt6CaloJets.doRhoFastjet = True
00105 kt6CaloJets.doPUOffsetCorr = False
00106 
00107 ## Default Sequence
00108 hiRecoJets = cms.Sequence(caloTowersRec*caloTowers*iterativeConePu5CaloJets)
00109 
00110 ## Extended Sequence
00111 hiRecoAllJets = cms.Sequence(caloTowersRec*caloTowers*iterativeConePu5CaloJets+iterativeConePu7CaloJets+ic5CaloJets+ic7CaloJets+akPu5CaloJets+akPu7CaloJets+ak5CaloJets+ak7CaloJets + ktPu4CaloJets + ktPu6CaloJets +  kt4CaloJets + kt6CaloJets)
00112 
00113