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 *
16 # the following is replaced by the mva-based
17 #from RecoParticleFlow.PFProducer.pfGsfElectronCiCSelector_cff import *
20 
21 
22 particleFlowSimParticle.sim = 'famosSimHits'
23 
24 #Deactivate the recovery of dead towers since dead towers are not simulated
25 #Similarly, deactivate HF cleaning for spikes
26 particleFlowClusterHF.recHitCleaners = cms.VPSet()
27 particleFlowRecHitHF.producers[0].qualityTests =cms.VPSet(
28  cms.PSet(
29  name = cms.string("PFRecHitQTestHCALThresholdVsDepth"),
30  cuts = cms.VPSet(
31  cms.PSet(
32  depth = cms.int32(1),
33  threshold = cms.double(1.2)),
34  cms.PSet(
35  depth = cms.int32(2),
36  threshold = cms.double(1.8))
37  )
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:
56 if(CaloMode==3 and MixingMode=='DigiRecoMixing'):
57  trackerDrivenElectronSeeds.TkColList = cms.VInputTag(cms.InputTag("generalTracksBeforeMixing"))
58 
59 
60 famosParticleFlowSequence = cms.Sequence(
61  caloTowersRec+
62 # pfTrackElec+
63  particleFlowTrackWithDisplacedVertex+
64 # pfGsfElectronCiCSelectionSequence+
65  pfGsfElectronMVASelectionSequence+
66  particleFlowBlock+
67  particleFlowEGammaFull+
68  particleFlowTmp+
69  particleFlowTmpPtrs+
70  particleFlowEGammaFinal+
71  FSparticleFlow
72 )
73 
74 particleFlowLinks = cms.Sequence(particleFlow*particleFlowPtrs+particleBasedIsolationSequence)
75 
76 # PF Reco Jets and MET
79 
80 PFJetMet = cms.Sequence(
81  recoPFJets+
82  recoPFMET
83 )
84 
85 
86 # Tau tagging
87 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
if(conf.exists("allCellsPositionCalc"))