Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:23

0001 import math
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 from RecoJets.FFTJetProducers.fftjetcommon_cfi import *
0005 
0006 # FFTJet pattern recognition module configuration
0007 fftjetEflowSmoother = cms.EDProducer(
0008     "FFTJetEFlowSmoother",
0009     #
0010     # The main eta and phi scale factors for the pattern recognition kernel
0011     kernelEtaScale = cms.double(math.sqrt(1.0/fftjet_phi_to_eta_bw_ratio)),
0012     kernelPhiScale = cms.double(math.sqrt(fftjet_phi_to_eta_bw_ratio)),
0013     #
0014     # Attempt to correct the jet finding efficiency near detector eta limits?
0015     fixEfficiency = cms.bool(False),
0016     #
0017     # Minimum and maximum eta bin number for 1d convolver. Also used
0018     # to indicate detector limits for 2d convolvers in case "fixEfficiency"
0019     # is True.
0020     convolverMinBin = cms.uint32(0),
0021     convolverMaxBin = cms.uint32(fftjet_large_int),
0022     #
0023     # Label for the produced objects
0024     outputLabel = cms.string("FFTJetEFlowSmoother"),
0025     #
0026     # Label for the input collection of Candidate objects
0027     src = cms.InputTag("towerMaker"),
0028     #
0029     # Label for the jets which will be produced. The algorithm might do
0030     # different things depending on the type. In particular, vertex
0031     # correction may be done for "CaloJet"
0032     jetType = cms.string("CaloJet"),
0033     #
0034     # Perform vertex correction?
0035     doPVCorrection = cms.bool(False),
0036     #
0037     # Label for the input collection of vertex objects. Meaningful
0038     # only when "doPVCorrection" is True
0039     srcPVs = cms.InputTag("offlinePrimaryVertices"),
0040     #
0041     # If this vector is empty, 2d convolver will be used.
0042     etaDependentScaleFactors = cms.vdouble(),
0043     #
0044     # Eta-dependent magnitude factors for the data. These can be used
0045     # to correct for various things (including the eta-dependent scale
0046     # factors above).
0047     etaDependentMagnutideFactors = cms.vdouble(),
0048     #
0049     # Configuration for the energy discretization grid. Don't forget
0050     # to modify "etConversionFactor" appropriately if you change this.
0051     GridConfiguration = fftjet_grid_256_128,
0052     #
0053     # Conversion factor to get from the grid values to Et.
0054     # This is number of bins in phi divided by bin width in eta.
0055     etConversionFactor = cms.double(128.0/(4.0*math.pi/256.0)),
0056     #
0057     # The set of scales to use
0058     InitialScales = fftjet_patreco_scales_50,
0059     #
0060     # Anomalous calo tower definition (comes from JetProducers default)
0061     anomalous = fftjet_anomalous_tower_default,
0062     #
0063     # The following has to be set to true
0064     insertCompleteEvent = cms.bool(True),
0065     #
0066     # Effective scale to use for the discretized event without smoothing
0067     completeEventScale = cms.double(fftjet_complete_event_scale),
0068     #
0069     # The power of the scale multiplied by the smoothed Et
0070     scalePower = cms.double(2.0)
0071 )