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 ### With the new mixing scheme, the label of the Trajectory collection for the primary event is different:
50 if(CaloMode==3 and MixingMode=='DigiRecoMixing'):
51  trackerDrivenElectronSeeds.TkColList = cms.VInputTag(cms.InputTag("generalTracksBeforeMixing"))
52 
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 # Tau tagging
87 
89 
90 
91 
92 
93 
94 
95 
96 
97 
if(conf.exists("allCellsPositionCalc"))