CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoJets/FFTJetProducers/python/fftjeteflowsmoother_cfi.py

Go to the documentation of this file.
00001 import math
00002 import FWCore.ParameterSet.Config as cms
00003 
00004 from RecoJets.FFTJetProducers.fftjetcommon_cfi import *
00005 
00006 # FFTJet pattern recognition module configuration
00007 fftjet_eflow_smoother = cms.EDProducer(
00008     "FFTJetEFlowSmoother",
00009     #
00010     # The main eta and phi scale factors for the pattern recognition kernel
00011     kernelEtaScale = cms.double(math.sqrt(1.0/fftjet_phi_to_eta_bw_ratio)),
00012     kernelPhiScale = cms.double(math.sqrt(fftjet_phi_to_eta_bw_ratio)),
00013     #
00014     # Attempt to correct the jet finding efficiency near detector eta limits?
00015     fixEfficiency = cms.bool(False),
00016     #
00017     # Minimum and maximum eta bin number for 1d convolver. Also used
00018     # to indicate detector limits for 2d convolvers in case "fixEfficiency"
00019     # is True.
00020     convolverMinBin = cms.uint32(0),
00021     convolverMaxBin = cms.uint32(fftjet_large_int),
00022     #
00023     # Label for the produced objects
00024     outputLabel = cms.string("FFTJetEFlowSmoother"),
00025     #
00026     # Label for the input collection of Candidate objects
00027     src = cms.InputTag("towerMaker"),
00028     #
00029     # Label for the jets which will be produced. The algorithm might do
00030     # different things depending on the type. In particular, vertex
00031     # correction may be done for "CaloJet"
00032     jetType = cms.string("CaloJet"),
00033     #
00034     # Perform vertex correction?
00035     doPVCorrection = cms.bool(False),
00036     #
00037     # Label for the input collection of vertex objects. Meaningful
00038     # only when "doPVCorrection" is True
00039     srcPVs = cms.InputTag("offlinePrimaryVertices"),
00040     #
00041     # If this vector is empty, 2d convolver will be used.
00042     etaDependentScaleFactors = cms.vdouble(),
00043     #
00044     # Eta-dependent magnitude factors for the data. These can be used
00045     # to correct for various things (including the eta-dependent scale
00046     # factors above).
00047     etaDependentMagnutideFactors = cms.vdouble(),
00048     #
00049     # Configuration for the energy discretization grid. Don't forget
00050     # to modify "etConversionFactor" appropriately if you change this.
00051     GridConfiguration = fftjet_grid_256_128,
00052     #
00053     # Conversion factor to get from the grid values to Et.
00054     # This is number of bins in phi divided by bin width in eta.
00055     etConversionFactor = cms.double(128.0/(4.0*math.pi/256.0)),
00056     #
00057     # The set of scales to use
00058     InitialScales = fftjet_patreco_scales_50,
00059     #
00060     # Anomalous calo tower definition (comes from JetProducers default)
00061     anomalous = fftjet_anomalous_tower_default,
00062     #
00063     # The following has to be set to true
00064     insertCompleteEvent = cms.bool(True),
00065     #
00066     # Effective scale to use for the discretized event without smoothing
00067     completeEventScale = cms.double(fftjet_complete_event_scale),
00068     #
00069     # The power of the scale multiplied by the smoothed Et
00070     scalePower = cms.double(2.0)
00071 )