CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
jetCorrFactors_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # module to produce jet correction factors associated in a valuemap
4 patJetCorrFactors = cms.EDProducer("JetCorrFactorsProducer",
5  ## the use of emf in the JEC is not yet implemented
6  emf = cms.bool(False),
7  ## input collection of jets
8  src = cms.InputTag("ak4PFJetsCHS"),
9  ## payload postfix for testing
10  payload = cms.string('AK4PFchs'),
11  ## correction levels
12  levels = cms.vstring(
13  ## tags for the individual jet corrections; when
14  ## not available the string should be set to 'none'
15  'L1FastJet', 'L2Relative', 'L3Absolute',#'L5Flavor', 'L7Parton'
16  ),
17  ## define the type of L5Flavor corrections for here. These can
18  ## be of type 'J' for dijet derived, or of type 'T' for ttbar
19  ## derived.
20  flavorType = cms.string('J'),
21  ## in case you are using JPT jets you must have specified the L1Offset
22  ## corrections by a dedicated L1JPTOffset correction level. This dedi-
23  ## cated correction level has an ordinary L1Offset or L1FastJet corrector
24  ## as input, which needs to be specified via this additional parameter
25  extraJPTOffset = cms.string("L1FastJet"),
26  ## in case that L1Offset or L1FastJet corrections are part
27  ## of the parameter levels add the optional parameter
28  ## primaryVertices here to specify the primary vertex
29  ## collection, which was used to determine the L1Offset
30  ## or L1FastJet correction from. This parameter will ONLY
31  ## be read out if the correction level L1Offset or
32  ## L1FastJet is found in levels.
33  useNPV = cms.bool(True),
34  primaryVertices = cms.InputTag('offlinePrimaryVertices'),
35  ## in case that L1FastJet corrections are part of the
36  ## parameter levels add the optional parameter rho
37  ## here to specify the energy density parameter for
38  ## the corresponding jet collection (this variable is
39  ## typically taken from kt6PFJets).
40  useRho = cms.bool(True),
41  rho = cms.InputTag('fixedGridRhoFastjetAll'),
42 )