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 *
15 # The following is replaced by the MVA-based
16 #from RecoParticleFlow.PFProducer.pfGsfElectronCiCSelector_cff import *
21 particleFlow.PFCandidate = [cms.InputTag("FSparticleFlow")]
22 
23 particleFlowSimParticle.sim = 'famosSimHits'
24 
25 #Deactivate the recovery of dead towers since dead towers are not simulated
26 particleFlowRecHitHCAL.ECAL_Compensate = cms.bool(False)
27 #Similarly, deactivate HF cleaning for spikes
28 particleFlowRecHitHCAL.ShortFibre_Cut = cms.double(1E5)
29 particleFlowRecHitHCAL.LongFibre_Cut = cms.double(1E5)
30 particleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1E5)
31 particleFlowRecHitHCAL.ApplyLongShortDPG = cms.bool(False)
32 particleFlowClusterHFEM.thresh_Clean_Barrel = cms.double(1E5)
33 particleFlowClusterHFEM.thresh_Clean_Endcap = cms.double(1E5)
34 particleFlowClusterHFHAD.thresh_Clean_Barrel = cms.double(1E5)
35 particleFlowClusterHFHAD.thresh_Clean_Endcap = cms.double(1E5)
36 
37 #particleFlowBlock.useNuclear = cms.bool(True)
38 #particleFlowBlock.useConversions = cms.bool(True)
39 #particleFlowBlock.useV0 = cms.bool(True)
40 
41 #particleFlow.rejectTracks_Bad = cms.bool(False)
42 #particleFlow.rejectTracks_Step45 = cms.bool(False)
43 
44 #particleFlow.usePFNuclearInteractions = cms.bool(True)
45 #particleFlow.usePFConversions = cms.bool(True)
46 #particleFlow.usePFDecays = cms.bool(True)
47 
48 
49 famosParticleFlowSequence = cms.Sequence(
50  caloTowersRec+
51 # pfTrackElec+
52  particleFlowTrackWithDisplacedVertex+
53 # pfGsfElectronCiCSelectionSequence+
54  pfGsfElectronMVASelectionSequence+
55  particleFlowBlock+
56  particleFlowEGammaFull+
57  particleFlowTmp+
58  particleFlowTmpPtrs+
59  particleFlowEGammaFinal+
60  FSparticleFlow
61 )
62 
63 particleFlowLinks = cms.Sequence(particleFlow+particleFlowPtrs + particleBasedIsolationSequence)
64 
65 # PF Reco Jets and MET
66 
67 from RecoJets.JetProducers.PFJetParameters_cfi import PFJetParameters
68 #PFJetParameters.src = cms.InputTag("FSparticleFlow") #AG
71 #pfMet.src = cms.InputTag("FSparticleFlow") #AG
73 
74 PFJetMet = cms.Sequence(
75  recoPFJets+
76  recoPFMET
77 )
78 
79 
80 
81 # Tau tagging
82 
84 
85 
86 
87 
88 
89 
90 
91 
92