Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:35:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ## PFproducer for particle flow for PFCaloJets
0004 #disable tracks and also input blocks are hltParticleFlowBlock
0005 
0006 from RecoParticleFlow.PFClusterProducer.particleFlowCluster_cff import *
0007 
0008 
0009 hltParticleFlowBlock = cms.EDProducer("PFBlockProducer",
0010     debug = cms.untracked.bool(False),
0011     verbose = cms.untracked.bool(False),
0012     elementImporters = cms.VPSet(
0013         cms.PSet(
0014             source = cms.InputTag("particleFlowClusterECAL"),
0015             importerName = cms.string('GenericClusterImporter')
0016         ),
0017         cms.PSet(
0018             source = cms.InputTag("particleFlowClusterHCAL"),
0019             importerName = cms.string('GenericClusterImporter')
0020         ),
0021         cms.PSet(
0022             source = cms.InputTag("particleFlowClusterHO"),
0023             importerName = cms.string('GenericClusterImporter')
0024         ),
0025         cms.PSet(
0026             source = cms.InputTag("particleFlowClusterHF"),
0027             importerName = cms.string('GenericClusterImporter')
0028         )
0029     ),
0030     linkDefinitions = cms.VPSet(
0031         cms.PSet(
0032             linkType = cms.string('ECAL:HCAL'),
0033             useKDTree = cms.bool(False),
0034             #linkerName = cms.string('ECALAndHCALLinker')
0035             linkerName = cms.string('ECALAndHCALCaloJetLinker') #new ECal and HCal Linker for PFCaloJets
0036         ),
0037         cms.PSet(
0038             linkType = cms.string('HCAL:HO'),
0039             useKDTree = cms.bool(False),
0040             linkerName = cms.string('HCALAndHOLinker')
0041         ),
0042         cms.PSet(
0043             linkType = cms.string('HFEM:HFHAD'),
0044             useKDTree = cms.bool(False),
0045             linkerName = cms.string('HFEMAndHFHADLinker')
0046         ),
0047         cms.PSet(
0048             linkType = cms.string('ECAL:ECAL'),
0049             useKDTree = cms.bool(False),
0050             linkerName = cms.string('ECALAndECALLinker')
0051         )
0052    )
0053 )
0054 
0055 
0056 from RecoParticleFlow.PFProducer.particleFlow_cff import particleFlowTmp
0057 
0058 hltParticleFlow = particleFlowTmp.clone(
0059     GedPhotonValueMap = cms.InputTag(""),
0060     useEGammaFilters = cms.bool(False),
0061     useEGammaElectrons = cms.bool(False), 
0062     useEGammaSupercluster = cms.bool(False),
0063     rejectTracks_Step45 = cms.bool(False),
0064     usePFNuclearInteractions = cms.bool(False),  
0065     blocks = cms.InputTag("hltParticleFlowBlock"), 
0066     egammaElectrons = cms.InputTag(""),
0067     useVerticesForNeutral = cms.bool(False),
0068     PFEGammaCandidates = cms.InputTag(""),
0069     useProtectionsForJetMET = cms.bool(False),
0070     usePFConversions = cms.bool(False),
0071     rejectTracks_Bad = cms.bool(False),
0072     muons = cms.InputTag(""),
0073     postMuonCleaning = cms.bool(False),
0074 )
0075 
0076 
0077 hltParticleFlowForJets = cms.Sequence( 
0078    particleFlowRecHitECAL*
0079    particleFlowRecHitHBHE*
0080    particleFlowRecHitHF*
0081    particleFlowRecHitHO*
0082    particleFlowClusterECALUncorrected*
0083    #particleFlowClusterECAL*
0084    particleFlowClusterHBHE*
0085    particleFlowClusterHCAL*
0086    particleFlowClusterHF*
0087    particleFlowClusterHO*
0088    hltParticleFlowBlock*
0089    hltParticleFlow
0090 )
0091 
0092