3 import FWCore.ParameterSet.Config
as cms
6 import RecoJets.FFTJetProducers.pileup_shape_Summer11_Calo_v1_cfi
as calo_ps
9 fftjet_pileup_phi_to_eta_ratio = 1.1
13 fftjet_pileup_grid_calo = cms.PSet(
14 nEtaBins = cms.uint32(calo_ps.fftjet_pileup_eta_bins),
15 etaMin = cms.double(-calo_ps.fftjet_pileup_eta_max),
16 etaMax = cms.double(calo_ps.fftjet_pileup_eta_max),
17 nPhiBins = cms.uint32(calo_ps.fftjet_pileup_phi_bins),
18 phiBin0Edge = cms.double(0.0),
19 title = cms.untracked.string(
"FFTJet Pileup Grid")
22 fftjetPileupProcessorCalo = cms.EDProducer(
23 "FFTJetPileupProcessor",
26 kernelEtaScale = cms.double(1.0),
27 kernelPhiScale = cms.double(fftjet_pileup_phi_to_eta_ratio),
30 outputLabel = cms.string(
"FFTJetPileupCalo"),
33 src = cms.InputTag(
"towerMaker"),
36 jetType = cms.string(
"CaloJet"),
39 doPVCorrection = cms.bool(
False),
43 srcPVs = cms.InputTag(
"offlinePrimaryVertices"),
46 etaDependentMagnutideFactors = cms.vdouble(),
49 etaFlatteningFactors = cms.vdouble(calo_ps.fftjet_pileup_magnitude_factors),
52 GridConfiguration = fftjet_pileup_grid_calo,
55 convolverMinBin = cms.uint32(calo_ps.fftjet_pileup_min_eta_bin),
56 convolverMaxBin = cms.uint32(calo_ps.fftjet_pileup_max_eta_bin),
59 pileupEtaPhiArea = cms.double(calo_ps.fftjet_pileup_eta_phi_area),
63 nScales = cms.uint32(1),
64 minScale = cms.double(calo_ps.fftjet_pileup_bandwidth),
65 maxScale = cms.double(calo_ps.fftjet_pileup_bandwidth),
68 nPercentiles = cms.uint32(51),
71 externalGridFiles = cms.vstring(),
74 externalGridMaxEnergy = cms.double(20000.0),
77 anomalous = fftjet_anomalous_tower_default,
81 insertCompleteEvent = cms.bool(fftjet_insert_complete_event),
82 completeEventScale = cms.double(fftjet_complete_event_scale),
85 flatteningTableRecord = cms.string(
"flatteningTableRecord"),
86 flatteningTableName = cms.string(
"flatteningTableName"),
87 flatteningTableCategory = cms.string(
"flatteningTableCategory"),
88 loadFlatteningFactorsFromDB = cms.bool(
False)