CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParticleFlowFastSimNeutralHadron_cff.py
Go to the documentation of this file.
2 
3 # Particle Flow
5 #from RecoParticleFlow.PFTracking.particleFlowTrack_cff 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 famosParticleFlowSequence = cms.Sequence(
55  caloTowersRec+
56 # pfTrackElec+
57  particleFlowTrackWithDisplacedVertex+
58 # pfGsfElectronCiCSelectionSequence+
59  pfGsfElectronMVASelectionSequence+
60  particleFlowBlock+
61  particleFlowEGammaFull+
62  particleFlowTmp+
63  particleFlowTmpPtrs+
64  particleFlowEGammaFinal+
65  FSparticleFlow
66 )
67 
68 particleFlowLinks = cms.Sequence(particleFlow+particleFlowPtrs + particleBasedIsolationSequence)
69 
70 # PF Reco Jets and MET
71 
72 from RecoJets.JetProducers.PFJetParameters_cfi import PFJetParameters
73 #PFJetParameters.src = cms.InputTag("FSparticleFlow") #AG
76 #pfMet.src = cms.InputTag("FSparticleFlow") #AG
78 
79 PFJetMet = cms.Sequence(
80  recoPFJets+
81  recoPFMET
82 )
83 
84 
85 
86 
87 
88 
89 
90 
91