Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-03 19:40:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoHI.HiJetAlgos.hiSignalParticleProducer_cfi import hiSignalParticleProducer as hiSignalGenParticles
0004 from RecoJets.Configuration.GenJetParticles_cff import genParticlesForJets
0005 from RecoHI.HiJetAlgos.HiGenCleaner_cff import hiPartons
0006 from RecoHI.HiJetAlgos.HiGenJets_cff import ak4HiGenJets
0007 from RecoHI.HiJetAlgos.HiGenCleaner_cff import heavyIonCleanedGenJets
0008 from RecoHI.HiJetAlgos.hiSignalGenJetProducer_cfi import hiSignalGenJetProducer
0009 ak4HiSignalGenJets = hiSignalGenJetProducer.clone(src = "ak4HiGenJets")
0010 
0011 allPartons = cms.EDProducer(
0012     "PartonSelector",
0013     src = cms.InputTag('hiSignalGenParticles'),
0014     withLeptons = cms.bool(False),
0015     )
0016 
0017 from Configuration.ProcessModifiers.genJetSubEvent_cff import genJetSubEvent
0018 genJetSubEvent.toModify(allPartons,src = "genParticles")
0019 
0020 cleanedPartons = hiPartons.clone(
0021     src = 'allPartons',
0022     )
0023 
0024 hiGenJetsTask = cms.Task(
0025     hiSignalGenParticles,
0026     genParticlesForJets,
0027     allPartons,
0028     ak4HiGenJets,
0029     ak4HiSignalGenJets
0030 )
0031 
0032 ak4HiGenJetsCleaned = heavyIonCleanedGenJets.clone(src = "ak4HiGenJets")
0033 hiCleanedGenJetsTask_ = hiGenJetsTask.copyAndExclude([hiSignalGenParticles,ak4HiSignalGenJets])
0034 hiCleanedGenJetsTask_.add(cleanedPartons,ak4HiGenJetsCleaned)
0035 genJetSubEvent.toReplaceWith(hiGenJetsTask,hiCleanedGenJetsTask_)
0036 
0037 from RecoHI.HiJetAlgos.PackedPFTowers_cfi import PackedPFTowers
0038 from RecoHI.HiJetAlgos.HiRecoPFJets_cff import pfEmptyCollection, ak4PFJetsForFlow, hiPuRho, hiFJRhoFlowModulation, akCs4PFJets
0039 from RecoHI.HiTracking.highPurityGeneralTracks_cfi import highPurityGeneralTracks
0040 from RecoJets.JetAssociationProducers.ak5JTA_cff import *
0041 from RecoBTag.Configuration.RecoBTag_cff import impactParameterTagInfos, trackCountingHighEffBJetTags, trackCountingHighPurBJetTags, jetProbabilityBJetTags, jetBProbabilityBJetTags, secondaryVertexTagInfos, combinedSecondaryVertexV2BJetTags, simpleSecondaryVertexHighEffBJetTags, simpleSecondaryVertexHighPurBJetTags
0042 ak5JetTracksAssociatorAtVertex
0043 from RecoBTag.SecondaryVertex.simpleSecondaryVertex2TrkComputer_cfi import *
0044 from RecoBTag.SecondaryVertex.simpleSecondaryVertex3TrkComputer_cfi import *
0045 from RecoBTag.SecondaryVertex.combinedSecondaryVertexV2Computer_cfi import *
0046 from RecoBTag.Combined.heavyIonCSVComputer_cfi import *
0047 from RecoBTag.ImpactParameter.jetBProbabilityComputer_cfi import *
0048 from RecoBTag.ImpactParameter.jetProbabilityComputer_cfi import *
0049 from RecoBTag.ImpactParameter.trackCounting3D2ndComputer_cfi import *
0050 from RecoBTag.ImpactParameter.trackCounting3D3rdComputer_cfi import *
0051 from PhysicsTools.PatAlgos.recoLayer0.jetCorrFactors_cfi import *
0052 
0053 recoPFJetsHIpostAODTask = cms.Task(
0054     PackedPFTowers,
0055     pfEmptyCollection,
0056     ak4PFJetsForFlow,
0057     hiFJRhoFlowModulation,
0058     hiPuRho,
0059     highPurityGeneralTracks,
0060     akCs4PFJets,
0061     ak5JetTracksAssociatorAtVertex,
0062     impactParameterTagInfos,
0063     trackCountingHighEffBJetTags,
0064     trackCountingHighPurBJetTags,
0065     jetProbabilityBJetTags,
0066     jetBProbabilityBJetTags,
0067     secondaryVertexTagInfos,
0068     combinedSecondaryVertexV2BJetTags,
0069     simpleSecondaryVertexHighEffBJetTags,
0070     simpleSecondaryVertexHighPurBJetTags,
0071     patJetCorrFactors
0072 )
0073 
0074 from Configuration.ProcessModifiers.run2_miniAOD_pp_on_AA_103X_cff import run2_miniAOD_pp_on_AA_103X
0075 from RecoJets.JetProducers.ak4PFJets_cfi import ak4PFJets,ak4PFJetsCHS
0076 from CommonTools.ParticleFlow.pfNoPileUpJME_cff import *
0077 _recoPFJetsHIpostAODTask = recoPFJetsHIpostAODTask.copy()
0078 _recoPFJetsHIpostAODTask.add(ak4PFJets,pfNoPileUpJMETask,ak4PFJetsCHS)
0079 run2_miniAOD_pp_on_AA_103X.toReplaceWith(recoPFJetsHIpostAODTask, _recoPFJetsHIpostAODTask)
0080 
0081 
0082 recoJetsHIpostAODTask = cms.Task(
0083     recoPFJetsHIpostAODTask,
0084     allPartons,
0085     hiGenJetsTask,
0086     )