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 *
16 # The following is replaced by the MVA-based
17 #from RecoParticleFlow.PFProducer.pfGsfElectronCiCSelector_cff import *
22 particleFlow.PFCandidate = [cms.InputTag("FSparticleFlow")]
23 
24 particleFlowSimParticle.sim = 'famosSimHits'
25 
26 #Deactivate the recovery of dead towers since dead towers are not simulated
27 
28 #Similarly, deactivate HF cleaning for spikes
29 particleFlowClusterHF.recHitCleaners = cms.VPSet()
30 particleFlowRecHitHF.producers[0].qualityTests =cms.VPSet(
31  cms.PSet(
32  name = cms.string("PFRecHitQTestHCALThresholdVsDepth"),
33  cuts = cms.VPSet(
34  cms.PSet(
35  depth = cms.int32(1),
36  threshold = cms.double(1.2)),
37  cms.PSet(
38  depth = cms.int32(2),
39  threshold = cms.double(1.8))
40  )
41  )
42 
43 )
44 
45 #particleFlowBlock.useNuclear = cms.bool(True)
46 #particleFlowBlock.useConversions = cms.bool(True)
47 #particleFlowBlock.useV0 = cms.bool(True)
48 
49 #particleFlow.rejectTracks_Bad = cms.bool(False)
50 #particleFlow.rejectTracks_Step45 = cms.bool(False)
51 
52 #particleFlow.usePFNuclearInteractions = cms.bool(True)
53 #particleFlow.usePFConversions = cms.bool(True)
54 #particleFlow.usePFDecays = cms.bool(True)
55 
56 ### With the new mixing scheme, the label of the Trajectory collection for the primary event is different:
58 if(CaloMode==3 and MixingMode=='DigiRecoMixing'):
59  trackerDrivenElectronSeeds.TkColList = cms.VInputTag(cms.InputTag("generalTracksBeforeMixing"))
60 
61 
62 famosParticleFlowSequence = cms.Sequence(
63  caloTowersRec+
64 # pfTrackElec+
65  particleFlowTrackWithDisplacedVertex+
66 # pfGsfElectronCiCSelectionSequence+
67  pfGsfElectronMVASelectionSequence+
68  particleFlowBlock+
69  particleFlowEGammaFull+
70  particleFlowTmp+
71  particleFlowTmpPtrs+
72  particleFlowEGammaFinal+
73  FSparticleFlow
74 )
75 
76 particleFlowLinks = cms.Sequence(particleFlow+particleFlowPtrs + particleBasedIsolationSequence)
77 
78 # PF Reco Jets and MET
79 
80 from RecoJets.JetProducers.PFJetParameters_cfi import PFJetParameters
81 #PFJetParameters.src = cms.InputTag("FSparticleFlow") #AG
84 #pfMet.src = cms.InputTag("FSparticleFlow") #AG
86 
87 PFJetMet = cms.Sequence(
88  recoPFJets+
89  recoPFMET
90 )
91 
92 
93 
94 # Tau tagging
95 
97 
98 
99 
100 
101 
102 
103 
104 
105 
if(conf.exists("allCellsPositionCalc"))