File indexing completed on 2024-04-06 12:25:24
0001
0002
0003
0004 import math
0005 import FWCore.ParameterSet.Config as cms
0006
0007 from RecoJets.FFTJetProducers.fftjetcommon_cfi import *
0008 import RecoJets.FFTJetProducers.pileup_shape_Summer11_PF_v1_cfi as pf_ps
0009
0010
0011 fftjet_pileup_phi_to_eta_ratio = 1.1
0012
0013
0014
0015 fftjet_pileup_grid_pf = cms.PSet(
0016 nEtaBins = cms.uint32(pf_ps.fftjet_pileup_eta_bins),
0017 etaMin = cms.double(-pf_ps.fftjet_pileup_eta_max),
0018 etaMax = cms.double(pf_ps.fftjet_pileup_eta_max),
0019 nPhiBins = cms.uint32(pf_ps.fftjet_pileup_phi_bins),
0020 phiBin0Edge = cms.double(0.0),
0021 title = cms.untracked.string("FFTJet Pileup Grid")
0022 )
0023
0024 fftjetPileupProcessorPf = cms.EDProducer(
0025 "FFTJetPileupProcessor",
0026
0027
0028 kernelEtaScale = cms.double(math.sqrt(1.0/fftjet_pileup_phi_to_eta_ratio)),
0029 kernelPhiScale = cms.double(math.sqrt(fftjet_pileup_phi_to_eta_ratio)),
0030
0031
0032 outputLabel = cms.string("FFTJetPileupPFStudy"),
0033
0034
0035 src = cms.InputTag("particleFlow"),
0036
0037
0038 jetType = cms.string("PFJet"),
0039
0040
0041 doPVCorrection = cms.bool(False),
0042
0043
0044
0045 srcPVs = cms.InputTag("offlinePrimaryVertices"),
0046
0047
0048
0049 etaDependentMagnutideFactors = cms.vdouble(pf_ps.fftjet_pileup_magnitude_factors),
0050
0051
0052 GridConfiguration = fftjet_pileup_grid_pf,
0053
0054
0055 convolverMinBin = cms.uint32(pf_ps.fftjet_pileup_min_eta_bin),
0056 convolverMaxBin = cms.uint32(pf_ps.fftjet_pileup_max_eta_bin),
0057
0058
0059
0060
0061 nScales = cms.uint32(50),
0062 minScale = cms.double(0.05),
0063 maxScale = cms.double(0.546066656464),
0064
0065
0066 nPercentiles = cms.uint32(50),
0067
0068
0069 externalGridFiles = cms.vstring(),
0070
0071
0072 externalGridMaxEnergy = cms.double(20000.0),
0073
0074
0075 anomalous = fftjet_anomalous_tower_default,
0076
0077
0078
0079 insertCompleteEvent = cms.bool(fftjet_insert_complete_event),
0080 completeEventScale = cms.double(fftjet_complete_event_scale),
0081
0082
0083 flatteningTableRecord = cms.string("flatteningTableRecord"),
0084 flatteningTableName = cms.string("flatteningTableName"),
0085 flatteningTableCategory = cms.string("flatteningTableCategory"),
0086 loadFlatteningFactorsFromDB = cms.bool(False)
0087 )