1 import FWCore.ParameterSet.Config
as cms
6 from EventFilter.L1TRawToDigi.gtStage2Digis_cfi
import gtStage2Digis
12 particleTask = cms.Task(scoutingPFCands)
13 particleTableTask = cms.Task(particleScoutingTable)
14 ak4JetTableTask = cms.Task(ak4ScoutingJets,ak4ScoutingJetParticleNetJetTagInfos,ak4ScoutingJetParticleNetJetTags,ak4ScoutingJetTable)
15 ak8JetTableTask = cms.Task(ak8ScoutingJets,ak8ScoutingJetsSoftDrop,ak8ScoutingJetsSoftDropMass,ak8ScoutingJetEcfNbeta1,ak8ScoutingJetNjettiness,ak8ScoutingJetParticleNetJetTagInfos,ak8ScoutingJetParticleNetJetTags,ak8ScoutingJetParticleNetMassRegressionJetTags,ak8ScoutingJetTable)
17 gtStage2DigisScouting = gtStage2Digis.clone(InputLabel=
"hltFEDSelectorL1")
18 l1bitsScouting = l1bits.clone(src=
"gtStage2DigisScouting")
19 patTriggerScouting = patTrigger.clone(l1tAlgBlkInputTag=
"gtStage2DigisScouting",l1tExtBlkInputTag=
"gtStage2DigisScouting")
20 selectedPatTriggerScouting = selectedPatTrigger.clone(src=
"patTriggerScouting")
21 slimmedPatTriggerScouting = slimmedPatTrigger.clone(src=
"selectedPatTriggerScouting")
22 unpackedPatTriggerScouting = unpackedPatTrigger.clone(patTriggerObjectsStandAlone=
"slimmedPatTriggerScouting")
23 triggerObjectTableScouting = triggerObjectTable.clone(src=
"unpackedPatTriggerScouting")
25 triggerTask = cms.Task(gtStage2DigisScouting,unpackedPatTriggerScouting,triggerObjectTableScouting,l1bitsScouting)
26 triggerSequence = cms.Sequence(L1TRawToDigi+patTriggerScouting+selectedPatTriggerScouting+slimmedPatTriggerScouting+cms.Sequence(triggerTask))
29 genJetTask = cms.Task(ak4ScoutingJetMatchGen,ak4ScoutingJetExtTable,ak8ScoutingJetMatchGen,ak8ScoutingJetExtTable)
30 puTask = cms.Task(puTable)
32 nanoTableTaskCommon = cms.Task(photonScoutingTable,muonScoutingTable,electronScoutingTable,trackScoutingTable,primaryvertexScoutingTable,displacedvertexScoutingTable,rhoScoutingTable,metScoutingTable,particleTask,particleTableTask,ak4JetTableTask,ak8JetTableTask)
34 nanoSequenceCommon = cms.Sequence(triggerSequence,nanoTableTaskCommon)
36 nanoSequence = cms.Sequence(nanoSequenceCommon)
38 nanoSequenceMC = cms.Sequence(nanoSequenceCommon + cms.Sequence(cms.Task(genJetTask,puTask)))
def nanoAOD_customizeCommon(process)