CMS 3D CMS Logo

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

Functions

def configure_fftjet_correction_producer (sequenceTags, jetProducerModule)
 

Function Documentation

◆ configure_fftjet_correction_producer()

def fftjetcorrectionproducer_cfi.configure_fftjet_correction_producer (   sequenceTags,
  jetProducerModule 
)

Definition at line 4 of file fftjetcorrectionproducer_cfi.py.

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