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 particleFlowRecHitHCAL.ECAL_Compensate = cms.bool(False)
26 #Similarly, deactivate HF cleaning for spikes
27 particleFlowRecHitHCAL.ShortFibre_Cut = cms.double(1E5)
28 particleFlowRecHitHCAL.LongFibre_Cut = cms.double(1E5)
29 particleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1E5)
30 particleFlowRecHitHCAL.ApplyLongShortDPG = cms.bool(False)
31 particleFlowClusterHFEM.thresh_Clean_Barrel = cms.double(1E5)
32 particleFlowClusterHFEM.thresh_Clean_Endcap = cms.double(1E5)
33 particleFlowClusterHFHAD.thresh_Clean_Barrel = cms.double(1E5)
34 particleFlowClusterHFHAD.thresh_Clean_Endcap = cms.double(1E5)
35 
36 #particleFlowBlock.useNuclear = cms.bool(True)
37 #particleFlowBlock.useConversions = cms.bool(True)
38 #particleFlowBlock.useV0 = cms.bool(True)
39 
40 #particleFlow.rejectTracks_Bad = cms.bool(False)
41 #particleFlow.rejectTracks_Step45 = cms.bool(False)
42 
43 #particleFlow.usePFNuclearInteractions = cms.bool(True)
44 #particleFlow.usePFConversions = cms.bool(True)
45 #particleFlow.usePFDecays = cms.bool(True)
46 
47 ### With the new mixing scheme, the label of the Trajectory collection for the primary event is different:
49 if(CaloMode==3 and MixingMode=='DigiRecoMixing'):
50  trackerDrivenElectronSeeds.TkColList = cms.VInputTag(cms.InputTag("generalTracksBeforeMixing"))
51 
52 
53 famosParticleFlowSequence = cms.Sequence(
54  caloTowersRec+
55 # pfTrackElec+
56  particleFlowTrackWithDisplacedVertex+
57 # pfGsfElectronCiCSelectionSequence+
58  pfGsfElectronMVASelectionSequence+
59  particleFlowBlock+
60  particleFlowEGammaFull+
61  particleFlowTmp+
62  particleFlowTmpPtrs+
63  particleFlowEGammaFinal+
64  FSparticleFlow
65 )
66 
67 particleFlowLinks = cms.Sequence(particleFlow*particleFlowPtrs+particleBasedIsolationSequence)
68 
69 # PF Reco Jets and MET
72 
73 PFJetMet = cms.Sequence(
74  recoPFJets+
75  recoPFMET
76 )
77 
78 
79 # Tau tagging
80 
82 
83 
84 
85 
86 
87 
88 
89 
90 
91 
if(conf.exists("allCellsPositionCalc"))