CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fftjetpfpileupcleaner_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 fftjetPfPileupCleaner = cms.EDProducer(
6  "FFTJetPFPileupCleaner",
7  #
8  # Label for the input collection of PFCandidate objects
9  PFCandidates = cms.InputTag("particleFlow"),
10  #
11  # Label for the collection of primary vertices
12  Vertices = cms.InputTag("offlinePrimaryVertices"),
13  #
14  # Info about fake primary vertices
15  useFakePrimaryVertex = cms.bool(False),
16  FakePrimaryVertices = cms.InputTag("vertexadder", "FFTJetFudgedVertices"),
17  #
18  # Find the closest vertex even if the track is not associated
19  # with any good vertex?
20  checkClosestZVertex = cms.bool(True),
21  #
22  # Associate all tracks neigboring the main vertex with it?
23  # This switch is meaningful only if "checkClosestZVertex" it true.
24  keepIfPVneighbor = cms.bool(True),
25  #
26  # Remove the objects associated with the main primary vertex?
27  removeMainVertex = cms.bool(False),
28  #
29  # Remove the objects not associated with any primary vertex?
30  removeUnassociated = cms.bool(False),
31  #
32  # Overall flag to invert the decision
33  reverseRemovalDecision = cms.bool(False),
34  #
35  # Various removal flags by object type. See PFCandidate header
36  # for object type details.
37  remove_X = cms.bool(False),
38  remove_h = cms.bool(True),
39  remove_e = cms.bool(True),
40  remove_mu = cms.bool(True),
41  remove_gamma = cms.bool(False),
42  remove_h0 = cms.bool(False),
43  remove_h_HF = cms.bool(False),
44  remove_egamma_HF = cms.bool(False),
45  #
46  # Minimum and maximum allowed eta
47  etaMin = cms.double(-fftjet_standard_eta_range),
48  etaMax = cms.double(fftjet_standard_eta_range),
49  #
50  # Vertex quality cuts
51  vertexNdofCut = cms.double(4.0),
52  vertexZmaxCut = cms.double(24.0),
53  vertexRhoCut = cms.double(1.0e20)
54 )