Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[L1T] Backport - L1T modules/sequences/tasks renaming #39354

Merged
merged 4 commits into from
Sep 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
rename cfis
(cherry picked from commit 7801862)
ccaillol committed Sep 14, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 6f2b07178515117db66685160a3409bed3def71b
28 changes: 14 additions & 14 deletions L1Trigger/Configuration/python/SimL1Emulator_cff.py
Original file line number Diff line number Diff line change
@@ -89,25 +89,25 @@
# Barrel and EndCap EGamma
# ########################################################################

from L1Trigger.L1CaloTrigger.L1EGammaCrystalsEmulatorProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tEGammaCrystalsEmulatorProducer_cfi import *
_phase2_siml1emulator.add(l1tEGammaClusterEmuProducer)

# Barrel and EndCap CaloJet/HT
# ########################################################################
# ---- Produce the calibrated tower collection combining Barrel, HGCal, HF
from L1Trigger.L1CaloTrigger.L1TowerCalibrationProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tTowerCalibrationProducer_cfi import *
l1tTowerCalibration = l1tTowerCalibrationProducer.clone(
L1HgcalTowersInputTag = ("l1tHGCalTowerProducer","HGCalTowerProcessor",""),
l1CaloTowers = ("l1tEGammaClusterEmuProducer","L1CaloTowerCollection","")
)
# ---- Produce the L1CaloJets
from L1Trigger.L1CaloTrigger.L1CaloJetProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tCaloJetProducer_cfi import *
l1tCaloJet = l1tCaloJetProducer.clone (
l1CaloTowers = ("l1tTowerCalibration","L1CaloTowerCalibratedCollection",""),
L1CrystalClustersInputTag = ("l1tEGammaClusterEmuProducer", "","")
)
# ---- Produce the CaloJet HTT Sums
from L1Trigger.L1CaloTrigger.L1CaloJetHTTProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tCaloJetHTTProducer_cfi import *
l1tCaloJetHTT = l1tCaloJetHTTProducer.clone(
BXVCaloJetsInputTag = ("L1CaloJet", "CaloJets")
)
@@ -120,8 +120,8 @@
# ########################################################################
# Phase-2 L1T - TrackTrigger dependent modules
# ########################################################################
from L1Trigger.L1TTrackMatch.L1GTTInputProducer_cfi import *
from L1Trigger.VertexFinder.VertexProducer_cfi import *
from L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi import *
from L1Trigger.VertexFinder.l1tVertexProducer_cfi import *
l1tVertexFinder = l1tVertexProducer.clone()
l1tVertexFinderEmulator = l1tVertexProducer.clone()
l1tVertexFinderEmulator.VertexReconstruction.Algorithm = "fastHistoEmulation"
@@ -145,10 +145,10 @@

# Tracker Objects
# ########################################################################
from L1Trigger.L1TTrackMatch.L1TrackJetProducer_cfi import *
from L1Trigger.L1TTrackMatch.L1TrackFastJetProducer_cfi import *
from L1Trigger.L1TTrackMatch.L1TrackerEtMissProducer_cfi import *
from L1Trigger.L1TTrackMatch.L1TkHTMissProducer_cfi import *
from L1Trigger.L1TTrackMatch.l1tTrackJets_cfi import *
from L1Trigger.L1TTrackMatch.l1tTrackFastJets_cfi import *
from L1Trigger.L1TTrackMatch.l1tTrackerEtMiss_cfi import *
from L1Trigger.L1TTrackMatch.l1tTrackerHTMiss_cfi import *
# make the input tags consistent with the choice L1VertexFinder above
l1tTrackJets.L1PVertexCollection = ("L1VertexFinder", "l1vertices")
l1tTrackJetsExtended.L1PVertexCollection = ("L1VertexFinder", "l1vertices")
@@ -162,15 +162,15 @@
_phase2_siml1emulator.add(l1tTrackerHTMiss)

#Emulated tracker objects
from L1Trigger.L1TTrackMatch.L1TrackJetEmulationProducer_cfi import *
from L1Trigger.L1TTrackMatch.l1tTrackJetsEmulation_cfi import *
_phase2_siml1emulator.add(l1tTrackJetsEmulation)
_phase2_siml1emulator.add(l1tTrackJetsExtendedEmulation)

from L1Trigger.L1TTrackMatch.L1TrackerEtMissEmulatorProducer_cfi import *
from L1Trigger.L1TTrackMatch.l1tTrackerEmuEtMiss_cfi import *
l1tTrackerEmuEtMiss.L1VertexInputTag = ("L1VertexFinderEmulator","l1verticesEmulation")
_phase2_siml1emulator.add(l1tTrackerEmuEtMiss)

from L1Trigger.L1TTrackMatch.L1TkHTMissEmulatorProducer_cfi import *
from L1Trigger.L1TTrackMatch.l1tTrackerEmuHTMiss_cfi import *
_phase2_siml1emulator.add(l1tTrackerEmuHTMiss)
_phase2_siml1emulator.add(l1tTrackerEmuHTMissExtended)

@@ -204,7 +204,7 @@
from L1Trigger.Phase2L1ParticleFlow.l1pfJetMet_cff import *
_phase2_siml1emulator.add(L1TPFJetsTask)

from L1Trigger.Phase2L1ParticleFlow.L1MetPfProducer_cfi import *
from L1Trigger.Phase2L1ParticleFlow.l1tMETPFProducer_cfi import *
_phase2_siml1emulator.add(l1tMETPFProducer)


Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@
)

process.load("L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff")
process.load('L1Trigger.L1TTrackMatch.L1GTTInputProducer_cfi')
process.load('L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi')
process.load('L1Trigger.VertexFinder.VertexProducer_cff')
process.load('L1Trigger.DemonstratorTools.GTTFileWriter_cff')

8 changes: 4 additions & 4 deletions L1Trigger/L1CaloTrigger/python/L1CaloJets_cff.py
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@
#
# ---- Produce the L1EGCrystal clusters using Emulator

from L1Trigger.L1CaloTrigger.L1EGammaCrystalsEmulatorProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tEGammaCrystalsEmulatorProducer_cfi import *
l1tEGammaClusterEmuProducer.ecalTPEB = cms.InputTag("simEcalEBTriggerPrimitiveDigis","","")


# --------------------------------------------------------------------------------------------
#
# ---- Produce the calibrated tower collection combining Barrel, HGCal, HF

from L1Trigger.L1CaloTrigger.L1TowerCalibrationProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tTowerCalibrationProducer_cfi import *
l1tTowerCalibrationProducer.L1HgcalTowersInputTag = cms.InputTag("l1tHGCalTowerProducer","HGCalTowerProcessor","")
l1tTowerCalibrationProducer.l1CaloTowers = cms.InputTag("l1tEGammaClusterEmuProducer","L1CaloTowerCollection","")

@@ -26,7 +26,7 @@
#
# ---- Produce the L1CaloJets

from L1Trigger.L1CaloTrigger.L1CaloJetProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tCaloJetProducer_cfi import *
l1tCaloJetProducer.l1CaloTowers = cms.InputTag("l1tTowerCalibrationProducer","L1CaloTowerCalibratedCollection","")
l1tCaloJetProducer.L1CrystalClustersInputTag = cms.InputTag("l1tEGammaClusterEmuProducer", "L1EGXtalClusterEmulator","")

@@ -36,7 +36,7 @@
#
# ---- Produce the CaloJet HTT Sums

from L1Trigger.L1CaloTrigger.L1CaloJetHTTProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tCaloJetHTTProducer_cfi import *



6 changes: 3 additions & 3 deletions L1Trigger/L1CaloTrigger/python/Phase1L1TJets_9x9_cff.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1CaloTrigger.Phase1L1TJetProducer_cfi import l1tPhase1JetProducer
from L1Trigger.L1CaloTrigger.Phase1L1TJetCalibrator_9x9Jets_cfi import l1tPhase1JetCalibrator9
from L1Trigger.L1CaloTrigger.Phase1L1TJetSumsProducer_cfi import l1tPhase1JetSumsProducer
from L1Trigger.L1CaloTrigger.l1tPhase1JetProducer_cfi import l1tPhase1JetProducer
from L1Trigger.L1CaloTrigger.l1tPhase1JetCalibrator9_cfi import l1tPhase1JetCalibrator9
from L1Trigger.L1CaloTrigger.l1tPhase1JetSumsProducer_cfi import l1tPhase1JetSumsProducer

l1tPhase1JetProducer9x9 = l1tPhase1JetProducer.clone(
jetIEtaSize = 9,
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1CaloTrigger.Phase1L1TJetProducer_cfi import l1tPhase1JetProducer
from L1Trigger.L1CaloTrigger.Phase1L1TJetCalibrator_9x9trimmedJets_cfi import l1tPhase1JetCalibrator
from L1Trigger.L1CaloTrigger.Phase1L1TJetSumsProducer_cfi import l1tPhase1JetSumsProducer
from L1Trigger.L1CaloTrigger.l1tPhase1JetProducer_cfi import l1tPhase1JetProducer
from L1Trigger.L1CaloTrigger.l1tPhase1JetCalibrator_9x9trimmed_cfi import l1tPhase1JetCalibrator_9x9trimmed
from L1Trigger.L1CaloTrigger.l1tPhase1JetSumsProducer_cfi import l1tPhase1JetSumsProducer

l1tPhase1JetProducer9x9trimmed = l1tPhase1JetProducer.clone(
jetIEtaSize = 9,
@@ -11,7 +11,7 @@
outputCollectionName = "UncalibratedPhase1L1TJetFromPfCandidates"
)

l1tPhase1JetCalibrator9x9trimmed = l1tPhase1JetCalibrator.clone(
l1tPhase1JetCalibrator9x9trimmed = l1tPhase1JetCalibrator_9x9trimmed.clone(
inputCollectionTag = ("l1tPhase1JetProducer9x9trimmed", "UncalibratedPhase1L1TJetFromPfCandidates", ""),
outputCollectionName = "Phase1L1TJetFromPfCandidates"
)
6 changes: 3 additions & 3 deletions L1Trigger/L1CaloTrigger/python/Phase1L1TJets_cff.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1CaloTrigger.Phase1L1TJetProducer_cfi import l1tPhase1JetProducer
from L1Trigger.L1CaloTrigger.Phase1L1TJetCalibrator_cfi import l1tPhase1JetCalibrator
from L1Trigger.L1CaloTrigger.Phase1L1TJetSumsProducer_cfi import l1tPhase1JetSumsProducer
from L1Trigger.L1CaloTrigger.l1tPhase1JetProducer_cfi import l1tPhase1JetProducer
from L1Trigger.L1CaloTrigger.l1tPhase1JetCalibrator_cfi import l1tPhase1JetCalibrator
from L1Trigger.L1CaloTrigger.l1tPhase1JetSumsProducer_cfi import l1tPhase1JetSumsProducer

L1TPhase1JetsSequence = cms.Sequence(
l1tPhase1JetProducer +
2 changes: 1 addition & 1 deletion L1Trigger/L1CaloTrigger/python/l1EgammaStaProducers_cff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1CaloTrigger.L1EGammaCrystalsEmulatorProducer_cfi import *
from L1Trigger.L1CaloTrigger.l1tEGammaCrystalsEmulatorProducer_cfi import *

L1TEgammaStaProducers = cms.Sequence(l1tEGammaClusterEmuProducer)

Original file line number Diff line number Diff line change
@@ -182,7 +182,7 @@
)
)

l1tPhase1JetCalibrator = cms.EDProducer('Phase1L1TJetCalibrator',
l1tPhase1JetCalibrator_9x9trimmed = cms.EDProducer('Phase1L1TJetCalibrator',
inputCollectionTag = cms.InputTag("l1tPhase1JetProducer", "UncalibratedPhase1L1TJetFromPfCandidates", ""),
absEtaBinning = cms.vdouble([p.etaMin.value() for p in calibration] + [calibration[-1].etaMax.value()]),
calibration = calibration,
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@
# ---- Produce the L1EGCrystal clusters using Emulator


process.load('L1Trigger.L1CaloTrigger.L1EGammaCrystalsEmulatorProducer_cfi')
process.load('L1Trigger.L1CaloTrigger.l1tEGammaCrystalsEmulatorProducer_cfi')

process.pL1EG = cms.Path( process.l1tEGammaClusterEmuProducer )

4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/python/customClustering.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import dummy_C2d_params, \
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import dummy_C2d_params, \
distance_C2d_params, \
topological_C2d_params, \
constrTopological_C2d_params
from L1Trigger.L1THGCal.hgcalBackEndLayer2Producer_cfi import distance_C3d_params, \
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer2Producer_cfi import distance_C3d_params, \
dbscan_C3d_params, \
histoMax_C3d_clustering_params, \
histoMaxVariableDR_C3d_params, \
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCal/python/customHistoSeeding.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.hgcalBackEndLayer2Producer_cfi import histoMax_C3d_seeding_params, \
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer2Producer_cfi import histoMax_C3d_seeding_params, \
histoSecondaryMax_C3d_params, \
histoInterpolatedMax_C3d_params, \
histoThreshold_C3d_params, \
6 changes: 3 additions & 3 deletions L1Trigger/L1THGCal/python/customNewProcessors.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import layer1truncation_proc
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import stage1truncation_proc
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import truncation_params
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import layer1truncation_proc
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import stage1truncation_proc
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import truncation_params

def custom_layer1_truncation(process):
parameters = layer1truncation_proc.clone()
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCal/python/customTriggerCellSelect.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms
import SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi as digiparam
from L1Trigger.L1THGCal.hgcalConcentratorProducer_cfi import threshold_conc_proc, best_conc_proc, supertc_conc_proc, coarsetc_onebitfraction_proc, coarsetc_equalshare_proc, bestchoice_ndata_decentralized, custom_conc_proc, autoEncoder_conc_proc
from L1Trigger.L1THGCal.l1tHGCalConcentratorProducer_cfi import threshold_conc_proc, best_conc_proc, supertc_conc_proc, coarsetc_onebitfraction_proc, coarsetc_equalshare_proc, bestchoice_ndata_decentralized, custom_conc_proc, autoEncoder_conc_proc

def custom_triggercellselect_supertriggercell(process,
stcSize=supertc_conc_proc.stcSize,
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCal/python/customVFE.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from L1Trigger.L1THGCal.hgcalVFEProducer_cfi import vfe_proc
from L1Trigger.L1THGCal.l1tHGCalVFEProducer_cfi import vfe_proc

def custom_hgcroc_oot(process,
oot_coefficients=vfe_proc.linearizationCfg_si.oot_coefficients
4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/python/hgcalBackEndLayer1_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import *


L1THGCalBackEndLayer1 = cms.Task(l1tHGCalBackEndLayer1Producer)
4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/python/hgcalBackEndLayer2_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalBackEndLayer2Producer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer2Producer_cfi import *


L1THGCalBackEndLayer2 = cms.Task(l1tHGCalBackEndLayer2Producer)
4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/python/hgcalConcentrator_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalConcentratorProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalConcentratorProducer_cfi import *


L1THGCalConcentrator = cms.Task(l1tHGCalConcentratorProducer)
4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/python/hgcalTowerMap_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalTowerMapProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTowerMapProducer_cfi import *


L1THGCalTowerMap = cms.Task(l1tHGCalTowerMapProducer)
4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/python/hgcalTower_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalTowerProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTowerProducer_cfi import *


L1THGCalTower = cms.Task(l1tHGCalTowerProducer)
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCal/python/hgcalTriggerPrimitivesNew_cff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalVFE_cff import *
from L1Trigger.L1THGCal.hgcalConcentrator_cff import *
from L1Trigger.L1THGCal.hgcalBackEndLayer1_cff import *
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCal/python/hgcalTriggerPrimitives_cff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalVFE_cff import *
from L1Trigger.L1THGCal.hgcalConcentrator_cff import *
from L1Trigger.L1THGCal.hgcalBackEndLayer1_cff import *
4 changes: 2 additions & 2 deletions L1Trigger/L1THGCal/python/hgcalVFE_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalVFEProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalVFEProducer_cfi import *

L1THGCalVFE = cms.Task(l1tHGCalVFEProducer)
L1THFnoseVFE = cms.Task(l1tHFnoseVFEProducer)
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@
rounding = cms.bool(True),
)

from L1Trigger.L1THGCal.hgcalVFEProducer_cfi import vfe_proc
from L1Trigger.L1THGCal.l1tHGCalVFEProducer_cfi import vfe_proc
best_conc_proc = cms.PSet(ProcessorName = cms.string('HGCalConcentratorProcessorSelection'),
Method = cms.vstring(['bestChoiceSelect']*3),
NData = cms.vuint32(bestchoice_ndata_decentralized),
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FWCore.ParameterSet.Config as cms
import L1Trigger.L1THGCal.hgcalTowerMapProducer_cfi as hgcalTowerMapProducer_cfi
import L1Trigger.L1THGCal.l1tHGCalTowerMapProducer_cfi as hgcalTowerMapProducer_cfi

tower = cms.PSet( ProcessorName = cms.string('HGCalTowerProcessor'),
includeTrigCells = cms.bool(False),
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import absolute_import
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *

import SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi as digiparam
import RecoLocalCalo.HGCalRecProducers.HGCalUncalibRecHit_cfi as recoparam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import dummy_C2d_params
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import dummy_C2d_params

l1tCaloTruthCellsProducer = cms.EDProducer('CaloTruthCellsProducer',
caloParticles = cms.InputTag('mix', 'MergedCaloTruth'),
10 changes: 5 additions & 5 deletions L1Trigger/L1THGCalUtilities/python/caloTruthCells_cff.py
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@
if l1tCaloTruthCellsProducer.makeCellsCollection:
## cluster and tower sequence

from L1Trigger.L1THGCal.hgcalConcentratorProducer_cfi import l1tHGCalConcentratorProducer
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import l1tHGCalBackEndLayer1Producer
from L1Trigger.L1THGCal.hgcalBackEndLayer2Producer_cfi import l1tHGCalBackEndLayer2Producer
from L1Trigger.L1THGCal.hgcalTowerMapProducer_cfi import l1tHGCalTowerMapProducer
from L1Trigger.L1THGCal.hgcalTowerProducer_cfi import l1tHGCalTowerProducer
from L1Trigger.L1THGCal.l1tHGCalConcentratorProducer_cfi import l1tHGCalConcentratorProducer
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import l1tHGCalBackEndLayer1Producer
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer2Producer_cfi import l1tHGCalBackEndLayer2Producer
from L1Trigger.L1THGCal.l1tHGCalTowerMapProducer_cfi import l1tHGCalTowerMapProducer
from L1Trigger.L1THGCal.l1tHGCalTowerProducer_cfi import l1tHGCalTowerProducer

l1tHGCalTruthConcentratorProducer = l1tHGCalConcentratorProducer.clone(
InputTriggerCells = cms.InputTag('l1tCaloTruthCellsProducer')
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCalUtilities/python/clustering2d.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import dummy_C2d_params, \
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import dummy_C2d_params, \
distance_C2d_params, \
topological_C2d_params, \
constrTopological_C2d_params, \
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCalUtilities/python/clustering2d_v2.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import dummy_C2d_params, \
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import dummy_C2d_params, \
stage1truncation_proc, \
truncation_params

2 changes: 1 addition & 1 deletion L1Trigger/L1THGCalUtilities/python/clustering3d.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1THGCal.hgcalBackEndLayer2Producer_cfi import distance_C3d_params, \
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer2Producer_cfi import distance_C3d_params, \
dbscan_C3d_params, \
histoMax_C3d_clustering_params, \
histoMax_C3d_seeding_params, \
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCalUtilities/python/concentrator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import FWCore.ParameterSet.Config as cms
import SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi as digiparam
from L1Trigger.L1THGCal.hgcalConcentratorProducer_cfi import threshold_conc_proc, best_conc_proc, supertc_conc_proc, coarsetc_onebitfraction_proc, custom_conc_proc, autoEncoder_conc_proc
from L1Trigger.L1THGCal.l1tHGCalConcentratorProducer_cfi import threshold_conc_proc, best_conc_proc, supertc_conc_proc, coarsetc_onebitfraction_proc, custom_conc_proc, autoEncoder_conc_proc


class CreateSuperTriggerCell(object):
2 changes: 1 addition & 1 deletion L1Trigger/L1THGCalUtilities/python/vfe.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalVFEProducer_cfi import vfe_proc
from L1Trigger.L1THGCal.l1tHGCalVFEProducer_cfi import vfe_proc

class CreateVfe(object):
def __init__(self,
12 changes: 6 additions & 6 deletions L1Trigger/L1TTrackMatch/python/L1TkObjectProducers_cff.py
Original file line number Diff line number Diff line change
@@ -50,15 +50,15 @@
# from L1Trigger.L1TTrackMatch.L1TkCaloJetProducer_cfi import L1TkCaloJets
# pL1TkCaloJets = cms.Path( L1TkCaloJets)

from L1Trigger.VertexFinder.VertexProducer_cfi import l1tVertexProducer
from L1Trigger.VertexFinder.l1tVertexProducer_cfi import l1tVertexProducer
pVertexProducer = cms.Path( l1tVertexProducer )

# from L1Trigger.L1TTrackMatch.L1TrackerEtMissProducer_cfi import L1TrackerEtMiss
# pL1TrkMET = cms.Path( L1TrackerEtMiss )
# from L1Trigger.L1TTrackMatch.l1tTrackerEtMiss_cfi import l1tTrackerEtMiss
# pL1TrkMET = cms.Path( l1tTrackerEtMiss )

# from L1Trigger.L1TTrackMatch.L1TkHTMissProducer_cfi import L1TkCaloHTMissVtx, L1TrackerHTMiss
# pL1TkCaloHTMissVtx = cms.Path( L1TkCaloHTMissVtx )
# pL1TrackerHTMiss = cms.Path( L1TrackerHTMiss )
# from L1Trigger.L1TTrackMatch.l1tTrackerHTMiss_cfi import l1tTkCaloHTMissVtx, l1tTrackerHTMiss
# pL1TkCaloHTMissVtx = cms.Path( l1tTkCaloHTMissVtx )
# pL1TrackerHTMiss = cms.Path( l1tTrackerHTMiss )

from L1Trigger.L1TTrackMatch.L1TkMuonProducer_cfi import L1TkMuons, L1TkMuonsTP
pL1TkMuon = cms.Path( L1TkMuons * L1TkMuonsTP )
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
# To bypass GTT input module use cms.InputTag("TTTracksFromTrackletEmulation", "Level1TTTracks")
# and set useGTTinput to false
L1VertexInputTag = cms.InputTag("l1tVertexProducer", "l1vertices"),
# This will use the vertex algorithm as specified in VertexProducer_cfi, if using emulated vertex
# This will use the vertex algorithm as specified in l1tVertexProducer_cfi, if using emulated vertex
# set useVertexEmulator to true
L1MetCollectionName = cms.string("L1TrackerEmuEtMiss"),

8 changes: 4 additions & 4 deletions L1Trigger/L1TTrackMatch/test/L1TrackMET_cfg.py
Original file line number Diff line number Diff line change
@@ -58,20 +58,20 @@
producerSum = None

if GTTInput:
process.load('L1Trigger.L1TTrackMatch.L1GTTInputProducer_cfi')
process.load('L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi')
producerSum = producerSum + process.L1GTTInputProducer



process.load("L1Trigger.L1TTrackMatch.L1TrackerEtMissProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TrackerEtMissEmulatorProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackerEtMiss_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackerEmuEtMiss_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TkMETAnalyser_cfi")

############################################################
# Primary vertex
############################################################

process.load('L1Trigger.VertexFinder.VertexProducer_cfi')
process.load('L1Trigger.VertexFinder.l1tVertexProducer_cfi')
process.l1tVertexProducer.l1TracksInputTag = cms.InputTag("l1tTTTracksFromTrackletEmulation", "Level1TTTracks")


20 changes: 10 additions & 10 deletions L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker_cfg.py
Original file line number Diff line number Diff line change
@@ -87,16 +87,16 @@
process.dtc = cms.Path(process.TrackerDTCProducer)#*process.TrackerDTCAnalyzer)

process.load("L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff")
process.load("L1Trigger.L1TTrackMatch.L1TrackSelectionProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TrackJetProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1GTTInputProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TrackJetEmulationProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TrackFastJetProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TrackerEtMissProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TrackerEtMissEmulatorProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TkHTMissProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.L1TkHTMissEmulatorProducer_cfi")
process.load('L1Trigger.VertexFinder.VertexProducer_cfi')
process.load("L1Trigger.L1TTrackMatch.l1tTrackSelectionProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackJets_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackJetsEmulation_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackFastJets_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackerEtMiss_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackerEmuEtMiss_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackerHTMiss_cfi")
process.load("L1Trigger.L1TTrackMatch.l1tTrackerEmuHTMiss_cfi")
process.load('L1Trigger.VertexFinder.l1tVertexProducer_cfi')


############################################################
6 changes: 3 additions & 3 deletions L1Trigger/Phase2L1ParticleFlow/python/l1ctLayer1_cff.py
Original file line number Diff line number Diff line change
@@ -2,10 +2,10 @@

import math

from L1Trigger.Phase2L1ParticleFlow.pfTracksFromL1Tracks_cfi import l1tPFTracksFromL1Tracks
from L1Trigger.Phase2L1ParticleFlow.pfClustersFromL1EGClusters_cfi import l1tPFClustersFromL1EGClusters
from L1Trigger.Phase2L1ParticleFlow.l1tPFTracksFromL1Tracks_cfi import l1tPFTracksFromL1Tracks
from L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromL1EGClusters_cfi import l1tPFClustersFromL1EGClusters
from L1Trigger.Phase2L1ParticleFlow.pfClustersFromCombinedCalo_cff import l1tPFClustersFromCombinedCaloHCal, l1tPFClustersFromCombinedCaloHF
from L1Trigger.Phase2L1ParticleFlow.pfClustersFromHGC3DClusters_cfi import l1tPFClustersFromHGC3DClusters
from L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromHGC3DClusters_cfi import l1tPFClustersFromHGC3DClusters

from L1Trigger.Phase2L1ParticleFlow.l1TkEgAlgoEmulator_cfi import tkEgAlgoParameters,tkEgSorterParameters

6 changes: 3 additions & 3 deletions L1Trigger/Phase2L1ParticleFlow/python/l1pfJetMet_cff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.Phase2L1ParticleFlow.L1SeedConePFJetProducer_cfi import l1tSeedConePFJetProducer, l1tSeedConePFJetEmulatorProducer
from L1Trigger.Phase2L1ParticleFlow.DeregionizerProducer_cfi import l1tDeregionizerProducer as l1tLayer2Deregionizer
from L1Trigger.Phase2L1ParticleFlow.l1tSeedConePFJetProducer_cfi import l1tSeedConePFJetProducer, l1tSeedConePFJetEmulatorProducer
from L1Trigger.Phase2L1ParticleFlow.l1tDeregionizerProducer_cfi import l1tDeregionizerProducer as l1tLayer2Deregionizer
l1tSCPFL1PF = l1tSeedConePFJetProducer.clone(L1PFObjects = 'l1tLayer1:PF')
l1tSCPFL1Puppi = l1tSeedConePFJetProducer.clone()
l1tSCPFL1PuppiEmulator = l1tSeedConePFJetEmulatorProducer.clone(L1PFObjects = 'l1tLayer2Deregionizer:Puppi')
@@ -19,7 +19,7 @@

l1tSCPFL1PuppiCorrectedEmulator = _correctedJets.clone(jets = 'l1tSCPFL1PuppiEmulator', correctorDir = 'L1PuppiSC4EmuDeregJets')

from L1Trigger.Phase2L1ParticleFlow.L1MhtPfProducer_cfi import l1tMHTPFProducer
from L1Trigger.Phase2L1ParticleFlow.l1tMHTPFProducer_cfi import l1tMHTPFProducer
l1tSCPFL1PuppiCorrectedEmulatorMHT = l1tMHTPFProducer.clone()

L1TPFJetsTask = cms.Task(
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FWCore.ParameterSet.Config as cms

import L1Trigger.Phase2L1ParticleFlow.pfClustersFromHGC3DClusters_cfi
import L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromHGC3DClusters_cfi

pfClustersFromHGC3DClustersEM = L1Trigger.Phase2L1ParticleFlow.pfClustersFromHGC3DClusters_cfi.pfClustersFromHGC3DClusters.clone(
l1tPFClustersFromHGC3DClustersEM = L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromHGC3DClusters_cfi.l1tPFClustersFromHGC3DClusters.clone(
emOnly = cms.bool(True),
useEMInterpretation = cms.string("emOnly"), # use EM intepretation to redefine the energy
etMin = cms.double(0.0),
@@ -19,7 +19,7 @@

from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
phase2_hgcalV10.toModify(pfClustersFromHGC3DClustersEM,
phase2_hgcalV10.toModify(l1tPFClustersFromHGC3DClustersEM,
corrector = "L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc_106X.root",
resol = cms.PSet(
etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
@@ -28,7 +28,7 @@
kind = cms.string('calo')
),
)
phase2_hgcalV11.toModify(pfClustersFromHGC3DClustersEM,
phase2_hgcalV11.toModify(l1tPFClustersFromHGC3DClustersEM,
corrector = "L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc_110X.root",
resol = cms.PSet(
etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.Phase2L1ParticleFlow.pfClustersFromCombinedCalo_cfi import l1tPFClustersFromCombinedCalo
from L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromCombinedCalo_cfi import l1tPFClustersFromCombinedCalo

# Using phase2_hgcalV10 to customize the config for all 106X samples, since there's no other modifier for it
from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
Original file line number Diff line number Diff line change
@@ -32,8 +32,8 @@
process.load("L1Trigger.Phase2L1ParticleFlow.l1ParticleFlow_cff")
process.load('L1Trigger.Phase2L1ParticleFlow.l1ctLayer1_cff')
process.load('L1Trigger.Phase2L1ParticleFlow.l1ctLayer2EG_cff')
process.load('L1Trigger.L1TTrackMatch.L1GTTInputProducer_cfi')
process.load('L1Trigger.VertexFinder.VertexProducer_cfi')
process.load('L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi')
process.load('L1Trigger.VertexFinder.l1tVertexProducer_cfi')
process.l1tVertexFinderEmulator = process.l1tVertexProducer.clone()
process.l1tVertexFinderEmulator.VertexReconstruction.Algorithm = "fastHistoEmulation"
process.l1tVertexFinderEmulator.l1TracksInputTag = cms.InputTag("l1tGTTInputProducer", "Level1TTTracksConverted")
6 changes: 3 additions & 3 deletions L1Trigger/Phase2L1Taus/python/l1emulator_cff.py
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
from SimCalorimetry.EcalEBTrigPrimProducers.ecalEBTriggerPrimitiveDigis_cff import *
l1emulator += simEcalEBTriggerPrimitiveDigis

from L1Trigger.TrackFindingTracklet.Tracklet_cfi import *
from L1Trigger.TrackFindingTracklet.l1tTTTracksFromTrackletEmulation_cfi import *
L1TRK_NAME = "l1tTTTracksFromTrackletEmulation"
L1TRK_LABEL = "Level1TTTracks"

@@ -24,13 +24,13 @@
TTTrackAssociatorFromPixelDigis.TTTracks = cms.VInputTag( cms.InputTag(L1TRK_NAME, L1TRK_LABEL) )
l1emulator += TrackTriggerAssociatorTracks

from L1Trigger.VertexFinder.VertexProducer_cfi import *
from L1Trigger.VertexFinder.l1tVertexProducer_cfi import *
l1emulator += l1tVertexProducer

from Configuration.StandardSequences.SimL1Emulator_cff import *
l1emulator += SimL1Emulator

from L1Trigger.Phase2L1ParticleFlow.pfTracksFromL1Tracks_cfi import *
from L1Trigger.Phase2L1ParticleFlow.l1tPFTracksFromL1Tracks_cfi import *
l1emulator += l1tPFTracksFromL1Tracks

from L1Trigger.Phase2L1ParticleFlow.l1ParticleFlow_cff import *
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

from RecoVertex.BeamSpotProducer.BeamSpot_cfi import *

from L1Trigger.TrackFindingTracklet.Tracklet_cfi import *
from L1Trigger.TrackFindingTracklet.l1tTTTracksFromTrackletEmulation_cfi import *

from SimTracker.TrackTriggerAssociation.TrackTriggerAssociator_cff import *

Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.VertexFinder.VertexNTupler_cfi import l1tVertexNTupler
from L1Trigger.VertexFinder.VertexProducer_cfi import l1tVertexProducer
from L1Trigger.VertexFinder.l1tVertexNTupler_cfi import l1tVertexNTupler
from L1Trigger.VertexFinder.l1tVertexProducer_cfi import l1tVertexProducer

InputDataProducer = cms.EDProducer('InputDataProducer',
l1tInputDataProducer = cms.EDProducer('InputDataProducer',
#=== The name of the output collection
outputCollectionName = cms.string("InputData"),

@@ -22,7 +22,7 @@
hepMCInputTag = cms.InputTag("generatorSmeared","","SIM"),
genParticleInputTag = cms.InputTag("genParticles",""),
tpInputTag = cms.InputTag("mix", "MergedTrackTruth"),
tpValueMapInputTag = cms.InputTag("TPStubValueMapProducer:TPs"),
tpValueMapInputTag = cms.InputTag("l1tTPStubValueMapProducer:TPs"),
stubInputTag = cms.InputTag("TTStubsFromPhase2TrackerDigis", "StubAccepted"),

#=== Debug printout
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.VertexFinder.VertexNTupler_cfi import l1tVertexNTupler
from L1Trigger.VertexFinder.VertexProducer_cfi import l1tVertexProducer
from L1Trigger.VertexFinder.l1tVertexNTupler_cfi import l1tVertexNTupler
from L1Trigger.VertexFinder.l1tVertexProducer_cfi import l1tVertexProducer

TPStubValueMapProducer = cms.EDProducer('TPStubValueMapProducer',
l1tTPStubValueMapProducer = cms.EDProducer('TPStubValueMapProducer',
#=== The name of the output collection
outputCollectionNames = cms.vstring("TPs","TPsUse","allMatchedTPs"),

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import FWCore.ParameterSet.Config as cms

l1tVertexNTupler = cms.EDAnalyzer('VertexNTupler',
inputDataInputTag = cms.InputTag("InputDataProducer","InputData"),
inputDataInputTag = cms.InputTag("l1tInputDataProducer","InputData"),
genParticleInputTag = cms.InputTag("genParticles",""),
l1TracksInputTags = cms.VInputTag( cms.InputTag("l1tTTTracksFromTrackletEmulation", "Level1TTTracks") ),
l1TracksTruthMapInputTags = cms.VInputTag( cms.InputTag("TTTrackAssociatorFromPixelDigis", "Level1TTTracks") ),
l1TracksTPInputTags = cms.InputTag("TPStubValueMapProducer:allMatchedTPs"),
l1TracksTPValueMapInputTags = cms.InputTag("TPStubValueMapProducer:TPs"),
l1TracksTPInputTags = cms.InputTag("l1tTPStubValueMapProducer:allMatchedTPs"),
l1TracksTPValueMapInputTags = cms.InputTag("l1tTPStubValueMapProducer:TPs"),
l1TracksBranchNames = cms.vstring('hybrid'),
l1VertexInputTags = cms.VInputTag( cms.InputTag("l1tVertexProducer", "l1vertices") ),
l1VertexTrackInputs = cms.vstring('hybrid'),
2 changes: 1 addition & 1 deletion L1Trigger/VertexFinder/test/vertexFinder_cfg.py
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@


#--- Load config fragment that configures vertex producer
process.load('L1Trigger.VertexFinder.VertexProducer_cfi')
process.load('L1Trigger.VertexFinder.l1tVertexProducer_cfi')
process.l1tVertexProducer.l1TracksInputTag = l1TracksTag

#--- Load config fragment that configures vertex analyzer
30 changes: 15 additions & 15 deletions L1Trigger/VertexFinder/test/vertexNTupler_cfg.py
Original file line number Diff line number Diff line change
@@ -79,16 +79,16 @@
numberOfStreams = cms.untracked.uint32(options.streams if options.streams>0 else 0)
)

process.load('L1Trigger.VertexFinder.VertexProducer_cfi')
process.load('L1Trigger.VertexFinder.l1tVertexProducer_cfi')
process.l1tVertexProducer.l1TracksInputTag = l1TracksTag

process.load('L1Trigger.VertexFinder.TPStubValueMapProducer_cff')
process.load('L1Trigger.VertexFinder.InputDataProducer_cff')
process.load('L1Trigger.VertexFinder.l1tTPStubValueMapProducer_cfi')
process.load('L1Trigger.VertexFinder.l1tInputDataProducer_cfi')

process.load('L1Trigger.VertexFinder.VertexNTupler_cfi')
process.L1TVertexNTupler.l1TracksInputTag = l1TracksTag
process.load('L1Trigger.VertexFinder.l1tVertexNTupler_cfi')
process.l1tVertexNTupler.l1TracksInputTag = l1TracksTag

if process.L1TVertexNTupler.debug == 0:
if process.l1tVertexNTupler.debug == 0:
process.MessageLogger.cerr.FwkReport.reportEvery = 50
process.Timing = cms.Service("Timing", summaryOnly = cms.untracked.bool(True))

@@ -103,16 +103,16 @@

if "Emulation" in algo:
if "L1GTTInputProducer" not in process.producerNames():
process.load('L1Trigger.L1TTrackMatch.L1GTTInputProducer_cfi')
process.load('L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi')
producer.l1TracksInputTag = cms.InputTag("l1tGTTInputProducer","Level1TTTracksConverted")
producerSum = process.L1GTTInputProducer + producerSum

process.L1TVertexNTupler.emulationVertexInputTags.append( cms.InputTag(producerName, 'l1verticesEmulation') )
process.L1TVertexNTupler.emulationVertexBranchNames.append(algo)
process.l1tVertexNTupler.emulationVertexInputTags.append( cms.InputTag(producerName, 'l1verticesEmulation') )
process.l1tVertexNTupler.emulationVertexBranchNames.append(algo)
else:
process.L1TVertexNTupler.l1VertexInputTags.append( cms.InputTag(producerName, 'l1vertices') )
process.L1TVertexNTupler.l1VertexBranchNames.append(algo)
process.L1TVertexNTupler.l1VertexTrackInputs.append('hybrid')
process.l1tVertexNTupler.l1VertexInputTags.append( cms.InputTag(producerName, 'l1vertices') )
process.l1tVertexNTupler.l1VertexBranchNames.append(algo)
process.l1tVertexNTupler.l1VertexTrackInputs.append('hybrid')

setattr(process, producerName, producer)
producerSum += producer
@@ -145,8 +145,8 @@
print "producer name =", producerName
setattr(process, producerName, producer)
producerNames += [producerName]
process.L1TVertexNTupler.extraVertexDescriptions += ['DBSCAN(dist={0},minPt={1},minDensity={2},seedTrackPt{3})'.format(dist, minPt, minDensity, seedTrackPt)]
process.L1TVertexNTupler.extraVertexInputTags.append( cms.InputTag(producerName, 'l1vertices'))
process.l1tVertexNTupler.extraVertexDescriptions += ['DBSCAN(dist={0},minPt={1},minDensity={2},seedTrackPt{3})'.format(dist, minPt, minDensity, seedTrackPt)]
process.l1tVertexNTupler.extraVertexInputTags.append( cms.InputTag(producerName, 'l1vertices'))
producerSum += producer

print "Total number of producers =", len(additionalProducerAlgorithms)+1
@@ -173,7 +173,7 @@
process.add_(cms.Service("Tracer", dumpPathsAndConsumes = cms.untracked.bool(True)))

# SETUP THE PATH
process.p = cms.Path(producerSum + process.TPStubValueMapProducer + process.InputDataProducer + process.L1TVertexNTupler)
process.p = cms.Path(producerSum + process.l1tTPStubValueMapProducer + process.l1tInputDataProducer + process.l1tVertexNTupler)

# DUMP AND EXIT
if options.dump:
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.hgcalVFEProducer_cfi import *
from L1Trigger.L1THGCal.hgcalConcentratorProducer_cfi import *
from L1Trigger.L1THGCal.hgcalBackEndLayer1Producer_cfi import *
from L1Trigger.L1THGCal.hgcalBackEndLayer2Producer_cfi import *
from L1Trigger.L1THGCal.hgcalTowerMapProducer_cfi import *
from L1Trigger.L1THGCal.hgcalTowerProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalVFEProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalConcentratorProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer1Producer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalBackEndLayer2Producer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTowerMapProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTowerProducer_cfi import *
from L1Trigger.L1THGCal.hgcalTriggerPrimitives_cff import *
from Validation.HGCalValidation.hgcalValidationTPG_cfi import *

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

from L1Trigger.L1THGCal.hgcalTriggerGeometryESProducer_cfi import *
from L1Trigger.L1THGCal.l1tHGCalTriggerGeometryESProducer_cfi import *
from Validation.HGCalValidation.hgcalValidationTPG_cfi import *

runHGCALValidationTPG = cms.Sequence(hgcalTrigPrimValidation)