CMS 3D CMS Logo

heavyIonJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoHI.HiJetAlgos.hiSignalParticleProducer_cfi import hiSignalParticleProducer as hiSignalGenParticles
4 from RecoJets.Configuration.GenJetParticles_cff import genParticlesForJets
5 from RecoHI.HiJetAlgos.HiGenCleaner_cff import hiPartons
6 from RecoHI.HiJetAlgos.HiGenJets_cff import ak4HiGenJets
7 from RecoHI.HiJetAlgos.HiGenCleaner_cff import heavyIonCleanedGenJets
8 from RecoHI.HiJetAlgos.hiSignalGenJetProducer_cfi import hiSignalGenJetProducer
9 ak4HiSignalGenJets = hiSignalGenJetProducer.clone(src = "ak4HiGenJets")
10 
11 allPartons = cms.EDProducer(
12  "PartonSelector",
13  src = cms.InputTag('hiSignalGenParticles'),
14  withLeptons = cms.bool(False),
15  )
16 
17 from Configuration.ProcessModifiers.genJetSubEvent_cff import genJetSubEvent
18 genJetSubEvent.toModify(allPartons,src = "genParticles")
19 
20 cleanedPartons = hiPartons.clone(
21  src = 'allPartons',
22  )
23 
24 hiGenJetsTask = cms.Task(
25  hiSignalGenParticles,
26  genParticlesForJets,
27  allPartons,
28  ak4HiGenJets,
29  ak4HiSignalGenJets
30 )
31 
32 ak4HiGenJetsCleaned = heavyIonCleanedGenJets.clone(src = "ak4HiGenJets")
33 hiCleanedGenJetsTask_ = hiGenJetsTask.copyAndExclude([hiSignalGenParticles,ak4HiSignalGenJets])
34 hiCleanedGenJetsTask_.add(cleanedPartons,ak4HiGenJetsCleaned)
35 genJetSubEvent.toReplaceWith(hiGenJetsTask,hiCleanedGenJetsTask_)
36 
37 from RecoHI.HiJetAlgos.HiRecoPFJets_cff import PFTowers, pfEmptyCollection, ak4PFJetsForFlow, hiPuRho, hiFJRhoFlowModulation, akCs4PFJets
38 from RecoHI.HiTracking.highPurityGeneralTracks_cfi import highPurityGeneralTracks
40 from RecoBTag.Configuration.RecoBTag_cff import impactParameterTagInfos, trackCountingHighEffBJetTags, trackCountingHighPurBJetTags, jetProbabilityBJetTags, jetBProbabilityBJetTags, secondaryVertexTagInfos, combinedSecondaryVertexV2BJetTags, simpleSecondaryVertexHighEffBJetTags, simpleSecondaryVertexHighPurBJetTags
41 ak5JetTracksAssociatorAtVertex
51 
52 recoPFJetsHIpostAODTask = cms.Task(
53  PFTowers,
54  pfEmptyCollection,
55  ak4PFJetsForFlow,
56  hiFJRhoFlowModulation,
57  hiPuRho,
58  highPurityGeneralTracks,
59  akCs4PFJets,
60  ak5JetTracksAssociatorAtVertex,
61  impactParameterTagInfos,
62  trackCountingHighEffBJetTags,
63  trackCountingHighPurBJetTags,
64  jetProbabilityBJetTags,
65  jetBProbabilityBJetTags,
66  secondaryVertexTagInfos,
67  combinedSecondaryVertexV2BJetTags,
68  simpleSecondaryVertexHighEffBJetTags,
69  simpleSecondaryVertexHighPurBJetTags,
70  patJetCorrFactors
71 )
72 
73 recoJetsHIpostAODTask = cms.Task(
74  recoPFJetsHIpostAODTask,
75  allPartons,
76  hiGenJetsTask,
77  )
RecoBTag_cff
simpleSecondaryVertex3TrkComputer_cfi
trackCounting3D3rdComputer_cfi
ak5JTA_cff
jetProbabilityComputer_cfi
GenJetParticles_cff
combinedSecondaryVertexV2Computer_cfi
jetCorrFactors_cfi
heavyIonCSVComputer_cfi
HiRecoPFJets_cff
simpleSecondaryVertex2TrkComputer_cfi
HiGenCleaner_cff
genjet cleaning for improved matching in HI environment
jetBProbabilityComputer_cfi
trackCounting3D2ndComputer_cfi
HiGenJets_cff