CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
fftjetcorrectionproducer_cfi Namespace Reference

Functions

def configure_fftjet_correction_producer
 

Function Documentation

def fftjetcorrectionproducer_cfi.configure_fftjet_correction_producer (   sequenceTags,
  jetProducerModule 
)

Definition at line 4 of file fftjetcorrectionproducer_cfi.py.

4 
5 def configure_fftjet_correction_producer(sequenceTags, jetProducerModule):
6  used_records = [fftjet_corr_types[s].correctorRecord for s in sequenceTags]
7  config = cms.EDProducer(
8  "FFTJetCorrectionProducer",
9  #
10  # Input jet collection
11  src = cms.InputTag(jetProducerModule, "MadeByFFTJet"),
12  #
13  # Label for the output jet collection
14  outputLabel = cms.string(""),
15  #
16  # Event setup record types for jet correction sequences
17  records = cms.vstring(used_records),
18  #
19  # Jet type to process
20  jetType = cms.string(fftjet_corr_types[sequenceTags[0]].jetType),
21  #
22  # Are we going to write out a corresponding collection
23  # of systematic uncertainties?
24  writeUncertainties = cms.bool(False),
25  #
26  # Subtract the pileup?
27  subtractPileup = cms.bool(True),
28  #
29  # Are we subtracting pileup as 4-vector?
30  subtractPileupAs4Vec = cms.bool(False)
31  )
32  return config