CMS 3D CMS Logo

fftjetpileupanalyzer_cfi.py
Go to the documentation of this file.
1 #
2 # FFTJet pileup analyzer configuration. Default is the PFJet
3 # "MC calibration" mode. Here, we collect FFTJetPileupEstimator
4 # summaries and do not collect FFTJetPileupProcessor histograms.
5 #
6 # I. Volobouev, April 27, 2011
7 #
8 import math
9 import FWCore.ParameterSet.Config as cms
10 
11 fftjetPileupAnalyzer = cms.EDAnalyzer(
12  "FFTJetPileupAnalyzer",
13  #
14  # Label for the histograms produced by FFTJetPileupProcessor
15  histoLabel = cms.InputTag("pileupprocessor", "FFTJetPileupPFStudy"),
16  #
17  # Label for the summary produced by FFTJetPileupEstimator
18  summaryLabel = cms.InputTag("pileupestimator", "FFTJetPileupEstimatePFUncalib"),
19  #
20  # Label for the MC pileup summary
21  pileupLabel = cms.string("addPileupInfo"),
22  #
23  # Labels for fastjet rho and sigma
24  fastJetRhoLabel = cms.InputTag(""),
25  fastJetSigmaLabel = cms.InputTag(""),
26  #
27  # Label for the energy discretization grid
28  gridLabel = cms.InputTag("fftjetpatreco", "FFTJetPatternRecognition"),
29  #
30  # Label for the collection of primary vertices
31  srcPVs = cms.InputTag("offlinePrimaryVertices"),
32  #
33  # Cut on the nDoF of the primary vertices
34  vertexNdofCut = cms.double(4.0),
35  #
36  # Output ntuple name/title
37  ntupleName = cms.string("FFTJetPileupAnalyzer"),
38  ntupleTitle = cms.string("FFTJetPileupAnalyzer ntuple"),
39  #
40  # Settings for the types of info we are collecting
41  collectHistos = cms.bool(False),
42  collectPileup = cms.bool(True),
43  collectOOTPileup = cms.bool(False),
44  collectNumInteractions = cms.bool(True),
45  collectFastJetRho = cms.bool(False),
46  collectSummaries = cms.bool(True),
47  collectGrids = cms.bool(False),
48  collectGridDensity = cms.bool(False),
49  collectVertexInfo = cms.bool(False),
50  verbosePileupInfo = cms.bool(False),
51  #
52  # There is a bug somewhere in the module which builds
53  # PileupSummaryInfo (it shows up in some events with OOP pileup).
54  # The following kind-of helps avoiding crazy energy values.
55  crazyEnergyCut = cms.double(2500.0)
56 )