Skip to content

Commit

Permalink
minor fixes to l1t renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
ccaillol committed Sep 7, 2022
1 parent 01d1d01 commit 65f532c
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Multiclusters = cms.InputTag('l1tCaloTruthCellsProducer'),
Prefix = cms.untracked.string('cl3dfulltruth')
)
L1THGCalTriggerNtuplizer.Ntuples.append(ntuple_multiclusters_fulltruth)
l1tHGCalTriggerNtuplizer.Ntuples.append(ntuple_multiclusters_fulltruth)

# If caloTruthCellsProducer.makeCellsCollection is True, can run the clustering algorithm over output cells too

Expand Down Expand Up @@ -39,6 +39,6 @@
Prefix = cms.untracked.string('towertruth')
)

L1THGCalTriggerNtuplizer.Ntuples.append(ntuple_triggercells_truth)
L1THGCalTriggerNtuplizer.Ntuples.append(ntuple_multiclusters_truth)
L1THGCalTriggerNtuplizer.Ntuples.append(ntuple_towers_truth)
l1tHGCalTriggerNtuplizer.Ntuples.append(ntuple_triggercells_truth)
l1tHGCalTriggerNtuplizer.Ntuples.append(ntuple_multiclusters_truth)
l1tHGCalTriggerNtuplizer.Ntuples.append(ntuple_towers_truth)
10 changes: 5 additions & 5 deletions L1Trigger/L1THGCalUtilities/python/customNtuples.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import FWCore.ParameterSet.Config as cms

def custom_ntuples_layer1_truncation(process):
ntuples = process.L1THGCalTriggerNtuplizer.Ntuples
ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
for ntuple in ntuples:
if ntuple.NtupleName=='HGCalTriggerNtupleHGCClusters' or \
ntuple.NtupleName=='HGCalTriggerNtupleHGCTriggerCells' or \
Expand All @@ -10,7 +10,7 @@ def custom_ntuples_layer1_truncation(process):
return process

def custom_ntuples_stage1_truncation(process):
ntuples = process.L1THGCalTriggerNtuplizer.Ntuples
ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
for ntuple in ntuples:
if ntuple.NtupleName=='HGCalTriggerNtupleHGCClusters' or \
ntuple.NtupleName=='HGCalTriggerNtupleHGCTriggerCells' or \
Expand All @@ -20,7 +20,7 @@ def custom_ntuples_stage1_truncation(process):
return process

def custom_ntuples_standalone_clustering(process):
ntuples = process.L1THGCalTriggerNtuplizer.Ntuples
ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
for ntuple in ntuples:
if ntuple.NtupleName=='HGCalTriggerNtupleHGCTriggerCells' or \
ntuple.NtupleName=='HGCalTriggerNtupleHGCClusters' or \
Expand All @@ -30,7 +30,7 @@ def custom_ntuples_standalone_clustering(process):


def custom_ntuples_standalone_tower(process):
ntuples = process.L1THGCalTriggerNtuplizer.Ntuples
ntuples = process.l1tHGCalTriggerNtuplizer.Ntuples
for ntuple in ntuples:
if ntuple.NtupleName=='HGCalTriggerNtupleHGCTowers':
ntuple.Towers = cms.InputTag('l1tHGCalTowerProducer:HGCalTowerProcessorSA')
Expand Down Expand Up @@ -62,6 +62,6 @@ def __call__(self, process, inputs):
elif ntuple=='multiclusters':
pset.Multiclusters = cms.InputTag(inputs[2])
vpset.append(pset)
ntuplizer = process.L1THGCalTriggerNtuplizer.clone()
ntuplizer = process.l1tHGCalTriggerNtuplizer.clone()
ntuplizer.Ntuples = cms.VPSet(vpset)
return ntuplizer
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
Towers = cms.InputTag('l1tHGCalTowerProducer:HGCalTowerProcessor')
)

L1THGCalTriggerNtuplizer = cms.EDAnalyzer(
l1tHGCalTriggerNtuplizer = cms.EDAnalyzer(
"HGCalTriggerNtupleManager",
Ntuples = cms.VPSet(
ntuple_event,
Expand Down
6 changes: 2 additions & 4 deletions L1Trigger/L1TTrackMatch/python/L1TkMETAnalyser_cfi.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.L1TTrackMatch.L1TrackerEtMissEmulatorProducer_cfi import l1tTrackerEmuEtMiss
from L1Trigger.L1TTrackMatch.L1TrackerEtMissProducer_cfi import l1tTrackerEtMiss

L1TkMETAnalyser = cms.EDAnalyzer('L1TkMETAnalyser',
TrackMETInputTag = cms.InputTag("l1tTrackerEtMiss",l1tTrackerEtMiss.L1MetCollectionName.value()),
TrackMETEmuInputTag = cms.InputTag("l1tTrackerEmuEtMiss",l1tTrackerEmuEtMiss.L1MetCollectionName.value()),
TrackMETInputTag = cms.InputTag("l1tTrackerEtMiss","l1tTrackerEtMiss"),
TrackMETEmuInputTag = cms.InputTag("l1tTrackerEmuEtMiss","L1TrackerEmuEtMiss"),
TrackMETHWInputTag = cms.InputTag("GTTOutputFileReader"),
HW_Analysis = cms.bool(False)
)
2 changes: 1 addition & 1 deletion L1Trigger/Phase2L1GMT/test/runGMT.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
process.FEVTDEBUGHLToutput_step = cms.EndPath(process.FEVTDEBUGHLToutput)

# Schedule definition
process.schedule = cms.Schedule(process.raw2digi_step,process.L1TTrackTrigger_step,process.testpath,process.endjob_step,process.FEVTDEBUGHLToutput_step)
process.schedule = cms.Schedule(process.raw2digi_step,process.L1TrackTrigger_step,process.testpath,process.endjob_step,process.FEVTDEBUGHLToutput_step)
from PhysicsTools.PatAlgos.tools.helpers import associatePatAlgosToolsTask
associatePatAlgosToolsTask(process)

Expand Down
2 changes: 1 addition & 1 deletion L1Trigger/VertexFinder/python/InputDataProducer_cff.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.VertexFinder.VertexNTupler_cff import l1tVertexNTupler
from L1Trigger.VertexFinder.VertexNTupler_cfi import l1tVertexNTupler
from L1Trigger.VertexFinder.VertexProducer_cfi import l1tVertexProducer

InputDataProducer = cms.EDProducer('InputDataProducer',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FWCore.ParameterSet.Config as cms
from L1Trigger.VertexFinder.VertexNTupler_cff import l1tVertexNTupler
from L1Trigger.VertexFinder.VertexNTupler_cfi import l1tVertexNTupler
from L1Trigger.VertexFinder.VertexProducer_cfi import l1tVertexProducer

TPStubValueMapProducer = cms.EDProducer('TPStubValueMapProducer',
Expand Down
2 changes: 1 addition & 1 deletion L1Trigger/VertexFinder/test/vertexNTupler_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
process.load('L1Trigger.VertexFinder.TPStubValueMapProducer_cff')
process.load('L1Trigger.VertexFinder.InputDataProducer_cff')

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

if process.L1TVertexNTupler.debug == 0:
Expand Down

0 comments on commit 65f532c

Please sign in to comment.