CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/ParticleFlow/python/ParticleFlowFastSimNeutralHadron_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # Particle Flow
00004 from RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff import *
00005 #from RecoParticleFlow.PFTracking.particleFlowTrack_cff import *
00006 from RecoParticleFlow.PFTracking.particleFlowTrackWithDisplacedVertex_cff import *
00007 from RecoParticleFlow.PFProducer.particleFlowSimParticle_cff import *
00008 from RecoParticleFlow.PFProducer.particleFlowBlock_cff import *
00009 from RecoParticleFlow.PFProducer.particleFlow_cff import *
00010 from RecoParticleFlow.PFProducer.pfElectronTranslator_cff import *
00011 from RecoParticleFlow.PFProducer.pfPhotonTranslator_cff import *
00012 from RecoParticleFlow.PFTracking.trackerDrivenElectronSeeds_cff import *
00013 from RecoParticleFlow.PFTracking.mergedElectronSeeds_cfi import *
00014 from FastSimulation.ParticleFlow.FSparticleFlow_cfi import *
00015 # The following is replaced by the MVA-based 
00016 #from RecoParticleFlow.PFProducer.pfGsfElectronCiCSelector_cff import *
00017 from RecoParticleFlow.PFProducer.pfGsfElectronMVASelector_cff import *
00018 from RecoParticleFlow.PFProducer.pfLinker_cff import *
00019 ParticleFlow.PFCandidate = [cms.InputTag("FSparticleFlow")]
00020 
00021 particleFlowSimParticle.sim = 'famosSimHits'
00022 
00023 #Deactivate the recovery of dead towers since dead towers are not simulated
00024 particleFlowRecHitHCAL.ECAL_Compensate = cms.bool(False)
00025 #Similarly, deactivate HF cleaning for spikes
00026 particleFlowRecHitHCAL.ShortFibre_Cut = cms.double(1E5)
00027 particleFlowRecHitHCAL.LongFibre_Cut = cms.double(1E5)
00028 particleFlowRecHitHCAL.LongShortFibre_Cut = cms.double(1E5)
00029 particleFlowRecHitHCAL.ApplyLongShortDPG = cms.bool(False)
00030 particleFlowClusterHFEM.thresh_Clean_Barrel = cms.double(1E5)
00031 particleFlowClusterHFEM.thresh_Clean_Endcap = cms.double(1E5)
00032 particleFlowClusterHFHAD.thresh_Clean_Barrel = cms.double(1E5)
00033 particleFlowClusterHFHAD.thresh_Clean_Endcap = cms.double(1E5)
00034 
00035 #particleFlowBlock.useNuclear = cms.bool(True)
00036 #particleFlowBlock.useConversions = cms.bool(True)
00037 #particleFlowBlock.useV0 = cms.bool(True)
00038 
00039 #ParticleFlow.rejectTracks_Bad =  cms.bool(False)
00040 #ParticleFlow.rejectTracks_Step45 = cms.bool(False)
00041 
00042 #ParticleFlow.usePFNuclearInteractions = cms.bool(True)
00043 #ParticleFlow.usePFConversions = cms.bool(True)
00044 #ParticleFlow.usePFDecays = cms.bool(True)
00045 
00046 
00047 famosParticleFlowSequence = cms.Sequence(
00048     caloTowersRec+
00049 #    pfTrackElec+
00050     particleFlowTrackWithDisplacedVertex+
00051 #    pfGsfElectronCiCSelectionSequence+
00052     pfGsfElectronMVASelectionSequence+
00053     particleFlowBlock+
00054     particleFlowTmp+
00055     FSparticleFlow+
00056     pfElectronTranslatorSequence+
00057     pfPhotonTranslatorSequence
00058 )
00059 
00060 particleFlowLinks = cms.Sequence(ParticleFlow)
00061 
00062 # PF Reco Jets and MET
00063 
00064 from RecoJets.JetProducers.PFJetParameters_cfi import PFJetParameters
00065 #PFJetParameters.src = cms.InputTag("FSparticleFlow") #AG
00066 from RecoJets.Configuration.RecoPFJets_cff import *
00067 from RecoMET.METProducers.PFMET_cfi import *
00068 #pfMet.src = cms.InputTag("FSparticleFlow") #AG
00069 from RecoMET.Configuration.RecoPFMET_cff import *
00070 
00071 PFJetMet = cms.Sequence(
00072     recoPFJets+
00073     recoPFMET
00074 )
00075 
00076 
00077 
00078 # Tau tagging
00079 
00080 from FastSimulation.ParticleFlow.TauTaggingFastSimNeutralHadron_cff import *
00081 
00082 
00083 
00084 
00085 
00086 
00087 
00088 
00089