CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParticleFlowFastSim_cff.py
Go to the documentation of this file.
2 
3 # Particle Flow
5 #from RecoParticleFlow.PFTracking.particleFlowTrack_cff import *
12 #from FastSimulation.ParticleFlow.FSparticleFlow_cfi import *
14 # The following is replaced by the MVA-based
15 #from RecoParticleFlow.PFProducer.pfGsfElectronCiCSelector_cff import *
20 #particleFlow.PFCandidate = [cms.InputTag("FSparticleFlow")]
21 
22 particleFlowSimParticle.sim = 'famosSimHits'
23 
24 #Deactivate the recovery of dead towers since dead towers are not simulated
25 
26 #Similarly, deactivate HF cleaning for spikes
27 particleFlowClusterHF.recHitCleaners = cms.VPSet()
28 particleFlowRecHitHF.producers[0].qualityTests =cms.VPSet(
29  cms.PSet(
30  name = cms.string("PFRecHitQTestHCALThresholdVsDepth"),
31  cuts = cms.VPSet(
32  cms.PSet(
33  depth = cms.int32(1),
34  threshold = cms.double(1.2)),
35  cms.PSet(
36  depth = cms.int32(2),
37  threshold = cms.double(1.8))
38  )
39  )
40 
41 )
42 
43 #particleFlowBlock.useNuclear = cms.bool(True)
44 #particleFlowBlock.useConversions = cms.bool(True)
45 #particleFlowBlock.useV0 = cms.bool(True)
46 
47 #particleFlow.rejectTracks_Bad = cms.bool(False)
48 #particleFlow.rejectTracks_Step45 = cms.bool(False)
49 
50 #particleFlow.usePFNuclearInteractions = cms.bool(True)
51 #particleFlow.usePFConversions = cms.bool(True)
52 #particleFlow.usePFDecays = cms.bool(True)
53 
54 ### With the new mixing scheme, the label of the Trajectory collection for the primary event is different:
55 
56 famosParticleFlowSequence = cms.Sequence(
57  caloTowersRec+
58 # pfTrackElec+
59  particleFlowTrackWithDisplacedVertex+
60 # pfGsfElectronCiCSelectionSequence+
61  pfGsfElectronMVASelectionSequence+
62  particleFlowBlock+
63  particleFlowEGammaFull+
64  particleFlowTmp+
65  particleFlowTmpPtrs+
66  particleFlowEGammaFinal
67  #FSparticleFlow
68 )
69 
70 particleFlowLinks = cms.Sequence(particleFlow+particleFlowPtrs + particleBasedIsolationSequence)
71 
72 # PF Reco Jets and MET
73 
74 from RecoJets.JetProducers.PFJetParameters_cfi import PFJetParameters
75 #PFJetParameters.src = cms.InputTag("FSparticleFlow") #AG
78 #pfMet.src = cms.InputTag("FSparticleFlow") #AG
80 
81 PFJetMet = cms.Sequence(
82  recoPFJets+
83  recoPFMET
84 )
85 
86 
87 
88 
89 
90 
91 
92 
93