CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoJets/JetAnalyzers/python/fftjetpileupanalyzer_cfi.py

Go to the documentation of this file.
00001 #
00002 # FFTJet pileup analyzer configuration. Default is the PFJet
00003 # "MC calibration" mode. Here, we collect FFTJetPileupEstimator
00004 # summaries and do not collect FFTJetPileupProcessor histograms.
00005 #
00006 # I. Volobouev, April 27, 2011
00007 #
00008 import math
00009 import FWCore.ParameterSet.Config as cms
00010 
00011 fftjet_pileup_analyzer = cms.EDAnalyzer(
00012     "FFTJetPileupAnalyzer",
00013     #
00014     # Label for the histograms produced by FFTJetPileupProcessor
00015     histoLabel = cms.InputTag("pileupprocessor", "FFTJetPileupPFStudy"),
00016     #
00017     # Label for the summary produced by FFTJetPileupEstimator
00018     summaryLabel = cms.InputTag("pileupestimator", "FFTJetPileupEstimatePFUncalib"),
00019     #
00020     # Label for the MC pileup summary
00021     pileupLabel = cms.string("addPileupInfo"),
00022     #
00023     # Labels for fastjet rho and sigma
00024     fastJetRhoLabel = cms.InputTag(""),
00025     fastJetSigmaLabel = cms.InputTag(""),
00026     #
00027     # Label for the energy discretization grid
00028     gridLabel = cms.InputTag("fftjetpatreco", "FFTJetPatternRecognition"),
00029     #
00030     # Label for the collection of primary vertices
00031     srcPVs = cms.InputTag("offlinePrimaryVertices"),
00032     #
00033     # Cut on the nDoF of the primary vertices
00034     vertexNdofCut = cms.double(4.0),
00035     #
00036     # Output ntuple name/title
00037     ntupleName = cms.string("FFTJetPileupAnalyzer"),
00038     ntupleTitle = cms.string("FFTJetPileupAnalyzer ntuple"),
00039     #
00040     # Settings for the types of info we are collecting
00041     collectHistos = cms.bool(False),
00042     collectPileup = cms.bool(True),
00043     collectOOTPileup = cms.bool(False),
00044     collectFastJetRho = cms.bool(False),
00045     collectSummaries = cms.bool(True),
00046     collectGrids = cms.bool(False),
00047     collectGridDensity = cms.bool(False),
00048     collectVertexInfo = cms.bool(False),
00049     verbosePileupInfo = cms.bool(False),
00050     #
00051     # There is a bug somewhere in the module which builds
00052     # PileupSummaryInfo (it shows up in some events with OOP pileup).
00053     # The following kind-of helps avoiding crazy energy values.
00054     crazyEnergyCut = cms.double(2000.0)
00055 )