CMS 3D CMS Logo

fftjeteflowsmoother_cfi.py
Go to the documentation of this file.
1 import math
2 import FWCore.ParameterSet.Config as cms
3 
5 
6 # FFTJet pattern recognition module configuration
7 fftjetEflowSmoother = cms.EDProducer(
8  "FFTJetEFlowSmoother",
9  #
10  # The main eta and phi scale factors for the pattern recognition kernel
11  kernelEtaScale = cms.double(math.sqrt(1.0/fftjet_phi_to_eta_bw_ratio)),
12  kernelPhiScale = cms.double(math.sqrt(fftjet_phi_to_eta_bw_ratio)),
13  #
14  # Attempt to correct the jet finding efficiency near detector eta limits?
15  fixEfficiency = cms.bool(False),
16  #
17  # Minimum and maximum eta bin number for 1d convolver. Also used
18  # to indicate detector limits for 2d convolvers in case "fixEfficiency"
19  # is True.
20  convolverMinBin = cms.uint32(0),
21  convolverMaxBin = cms.uint32(fftjet_large_int),
22  #
23  # Label for the produced objects
24  outputLabel = cms.string("FFTJetEFlowSmoother"),
25  #
26  # Label for the input collection of Candidate objects
27  src = cms.InputTag("towerMaker"),
28  #
29  # Label for the jets which will be produced. The algorithm might do
30  # different things depending on the type. In particular, vertex
31  # correction may be done for "CaloJet"
32  jetType = cms.string("CaloJet"),
33  #
34  # Perform vertex correction?
35  doPVCorrection = cms.bool(False),
36  #
37  # Label for the input collection of vertex objects. Meaningful
38  # only when "doPVCorrection" is True
39  srcPVs = cms.InputTag("offlinePrimaryVertices"),
40  #
41  # If this vector is empty, 2d convolver will be used.
42  etaDependentScaleFactors = cms.vdouble(),
43  #
44  # Eta-dependent magnitude factors for the data. These can be used
45  # to correct for various things (including the eta-dependent scale
46  # factors above).
47  etaDependentMagnutideFactors = cms.vdouble(),
48  #
49  # Configuration for the energy discretization grid. Don't forget
50  # to modify "etConversionFactor" appropriately if you change this.
51  GridConfiguration = fftjet_grid_256_128,
52  #
53  # Conversion factor to get from the grid values to Et.
54  # This is number of bins in phi divided by bin width in eta.
55  etConversionFactor = cms.double(128.0/(4.0*math.pi/256.0)),
56  #
57  # The set of scales to use
58  InitialScales = fftjet_patreco_scales_50,
59  #
60  # Anomalous calo tower definition (comes from JetProducers default)
61  anomalous = fftjet_anomalous_tower_default,
62  #
63  # The following has to be set to true
64  insertCompleteEvent = cms.bool(True),
65  #
66  # Effective scale to use for the discretized event without smoothing
67  completeEventScale = cms.double(fftjet_complete_event_scale),
68  #
69  # The power of the scale multiplied by the smoothed Et
70  scalePower = cms.double(2.0)
71 )
fftjetcommon_cfi