for level in jecLevels: ak8JetCorrection.AddCorrectionFromFile( jecPattern.format(level=level, jettype='AK8PFchs')) goodAK8Jets = looseAK4Jets.clone('GoodAK8Jets', InputName=ak8JetCorrection.GetOutputName(), OutputName='GoodAK8Jets') ak8JetExtender = mithep.FatJetExtenderMod( 'AK8JetExtender', InputName=goodAK8Jets.GetOutputName(), OutputName='XlAK8Jets', ProcessNJets=4, ConeSize=0.8, PFCandsName=mithep.Names.gkPFCandidatesBrn, VertexesName=goodPVFilterMod.GetOutputName(), UseSoftDropLib=False, SoftDropR0=0.8, SoftDropZCut=0.1, QGTaggingOn=False, DoShowerDeconstruction=False, DoECF=False, DoQjets=False, BeVerbose=False) ca15JetCorrection = mithep.JetCorrectionMod( 'CA15JetCorrection', InputName='CA15FatJetsCHS', CorrectedJetsName='CorrectedCA15Jets', RhoAlgo=mithep.PileupEnergyDensity.kFixedGridFastjetAll)
for level in jecLevels: ak8JetCorrection.AddCorrectionFromFile(jecPattern.format(level = level, jettype = 'AK8PFchs')) goodAK8Jets = looseAK4Jets.clone('GoodAK8Jets', InputName = ak8JetCorrection.GetOutputName(), OutputName = 'GoodAK8Jets' ) ak8JetExtender = mithep.FatJetExtenderMod('AK8JetExtender', InputName = goodAK8Jets.GetOutputName(), OutputName = 'XlAK8Jets', ProcessNJets = 4, ConeSize = 0.8, PFCandsName = mithep.Names.gkPFCandidatesBrn, VertexesName = goodPVFilterMod.GetOutputName(), UseSoftDropLib = False, SoftDropR0 = 0.8, SoftDropZCut = 0.1, QGTaggingOn = False, DoShowerDeconstruction = False, DoECF = False, DoQjets = False, BeVerbose = False ) ca15JetCorrection = mithep.JetCorrectionMod('CA15JetCorrection', InputName = 'CA15FatJetsCHS', CorrectedJetsName = 'CorrectedCA15Jets', RhoAlgo = mithep.PileupEnergyDensity.kFixedGridFastjetAll )