CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/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 ## Calo Towers
00010 CaloTowerConstituentsMapBuilder = cms.ESProducer("CaloTowerConstituentsMapBuilder",
00011     MapFile = cms.untracked.string('Geometry/CaloTopology/data/CaloTowerEEGeometric.map.gz')
00012 )
00013 
00014 caloTowers = cms.EDProducer("CaloTowerCandidateCreator",
00015     src = cms.InputTag("towerMaker"),
00016     e = cms.double(0.0),
00017     verbose = cms.untracked.int32(0),
00018     pt = cms.double(0.0),
00019     minimumE = cms.double(0.0),
00020     minimumEt = cms.double(0.0),
00021     et = cms.double(0.0)
00022 )
00023 
00024 ## Iterative Cone
00025 iterativeConePu5CaloJets = cms.EDProducer(
00026     "FastjetJetProducer",
00027     HiCaloJetParameters,
00028     AnomalousCellParameters,
00029     MultipleAlgoIteratorBlock,
00030     jetAlgorithm = cms.string("IterativeCone"),
00031     rParam       = cms.double(0.5)
00032     )
00033 iterativeConePu5CaloJets.radiusPU = 0.5
00034 
00035 iterativeConePu7CaloJets = cms.EDProducer(
00036     "FastjetJetProducer",
00037     HiCaloJetParameters,
00038     AnomalousCellParameters,
00039     MultipleAlgoIteratorBlock,
00040     jetAlgorithm = cms.string("IterativeCone"),
00041     rParam       = cms.double(0.7)
00042     )
00043 iterativeConePu7CaloJets.radiusPU = 0.7
00044 
00045 ## kT
00046 ktPu4CaloJets = cms.EDProducer(
00047     "FastjetJetProducer",
00048     HiCaloJetParameters,
00049     AnomalousCellParameters,
00050     MultipleAlgoIteratorBlock,
00051     jetAlgorithm = cms.string("Kt"),
00052     rParam       = cms.double(0.4)
00053     )
00054 ktPu4CaloJets.radiusPU = 0.5
00055 
00056 ktPu6CaloJets = cms.EDProducer(
00057     "FastjetJetProducer",
00058     HiCaloJetParameters,
00059     AnomalousCellParameters,
00060     MultipleAlgoIteratorBlock,
00061     jetAlgorithm = cms.string("Kt"),
00062     rParam       = cms.double(0.6)
00063     )
00064 ktPu6CaloJets.radiusPU = 0.7
00065 
00066 ## anti-kT
00067 akPu5CaloJets = cms.EDProducer(
00068     "FastjetJetProducer",
00069     HiCaloJetParameters,
00070     AnomalousCellParameters,
00071     MultipleAlgoIteratorBlock,
00072     jetAlgorithm = cms.string("AntiKt"),
00073     rParam       = cms.double(0.5)
00074     )
00075 akPu5CaloJets.radiusPU = 0.5
00076 
00077 akPu7CaloJets = cms.EDProducer(
00078     "FastjetJetProducer",
00079     HiCaloJetParameters,
00080     AnomalousCellParameters,
00081     MultipleAlgoIteratorBlock,
00082     jetAlgorithm = cms.string("AntiKt"),
00083     rParam       = cms.double(0.7)
00084     )
00085 akPu7CaloJets.radiusPU = 0.7
00086 
00087 ## Algos without offset pileup correction
00088 ic5CaloJets = iterativeConePu5CaloJets.clone()
00089 ic5CaloJets.doRhoFastjet = True
00090 ic5CaloJets.doPUOffsetCorr = False
00091 
00092 ic7CaloJets = iterativeConePu7CaloJets.clone()
00093 ic7CaloJets.doRhoFastjet = True
00094 ic7CaloJets.doPUOffsetCorr = False
00095 
00096 ak5CaloJets = akPu5CaloJets.clone()
00097 ak5CaloJets.doRhoFastjet = True
00098 ak5CaloJets.doPUOffsetCorr = False
00099 
00100 ak7CaloJets = akPu7CaloJets.clone()
00101 ak7CaloJets.doRhoFastjet = True
00102 ak7CaloJets.doPUOffsetCorr = False
00103 
00104 kt4CaloJets = ktPu4CaloJets.clone()
00105 kt4CaloJets.doRhoFastjet = True
00106 kt4CaloJets.doPUOffsetCorr = False
00107 
00108 kt6CaloJets = ktPu6CaloJets.clone()
00109 kt6CaloJets.doRhoFastjet = True
00110 kt6CaloJets.doPUOffsetCorr = False
00111 
00112 ## Default Sequence
00113 hiRecoJets = cms.Sequence(caloTowersRec*caloTowers*iterativeConePu5CaloJets)
00114 
00115 ## Extended Sequence
00116 hiRecoAllJets = cms.Sequence(caloTowersRec*caloTowers*iterativeConePu5CaloJets+iterativeConePu7CaloJets+ic5CaloJets+ic7CaloJets+akPu5CaloJets+akPu7CaloJets+ak5CaloJets+ak7CaloJets + ktPu4CaloJets + ktPu6CaloJets +  kt4CaloJets + kt6CaloJets)
00117 
00118