5 import FWCore.ParameterSet.Config
as cms
8 import RecoJets.FFTJetProducers.pileup_shape_Summer11_Calo_v1_cfi
as calo_ps
11 fftjet_pileup_phi_to_eta_ratio = 1.1
15 fftjet_pileup_grid_calo = cms.PSet(
16 nEtaBins = cms.uint32(calo_ps.fftjet_pileup_eta_bins),
17 etaMin = cms.double(-calo_ps.fftjet_pileup_eta_max),
18 etaMax = cms.double(calo_ps.fftjet_pileup_eta_max),
19 nPhiBins = cms.uint32(calo_ps.fftjet_pileup_phi_bins),
20 phiBin0Edge = cms.double(0.0),
21 title = cms.untracked.string(
"FFTJet Pileup Grid")
24 fftjetPileupProcessorCalo = cms.EDProducer(
25 "FFTJetPileupProcessor",
28 kernelEtaScale = cms.double(math.sqrt(1.0/fftjet_pileup_phi_to_eta_ratio)),
29 kernelPhiScale = cms.double(math.sqrt(fftjet_pileup_phi_to_eta_ratio)),
32 outputLabel = cms.string(
"FFTJetPileupCaloStudy"),
35 src = cms.InputTag(
"towerMaker"),
38 jetType = cms.string(
"CaloJet"),
41 doPVCorrection = cms.bool(
False),
45 srcPVs = cms.InputTag(
"offlinePrimaryVertices"),
49 etaDependentMagnutideFactors = 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),
61 nScales = cms.uint32(50),
62 minScale = cms.double(0.05),
63 maxScale = cms.double(0.546066656464),
66 nPercentiles = cms.uint32(50),
69 externalGridFiles = cms.vstring(),
72 externalGridMaxEnergy = cms.double(20000.0),
75 anomalous = fftjet_anomalous_tower_default,
79 insertCompleteEvent = cms.bool(fftjet_insert_complete_event),
80 completeEventScale = cms.double(fftjet_complete_event_scale),
83 flatteningTableRecord = cms.string(
"flatteningTableRecord"),
84 flatteningTableName = cms.string(
"flatteningTableName"),
85 flatteningTableCategory = cms.string(
"flatteningTableCategory"),
86 loadFlatteningFactorsFromDB = cms.bool(
False)