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

ntuplemaker fixes #1253

Open
wants to merge 5 commits into
base: phase2-l1t-integration-14_0_0_pre3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 7 additions & 7 deletions L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1819,15 +1819,15 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even
m_trkjetemExt_ntracks->clear();
m_trkjetemExt_nxtracks->clear();
}

m_pv_L1reco->clear();
m_pv_L1reco_sum->clear();
m_pv_L1reco_emu->clear();
m_pv_L1reco_sum_emu->clear();
m_pv_MC->clear();
m_MC_lep->clear();
}

m_pv_L1reco->clear();
m_pv_L1reco_sum->clear();
m_pv_L1reco_emu->clear();
m_pv_L1reco_sum_emu->clear();
m_pv_MC->clear();
m_MC_lep->clear();

// -----------------------------------------------------------------------------------------------
// retrieve various containers
// -----------------------------------------------------------------------------------------------
Expand Down
8 changes: 3 additions & 5 deletions L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
process = cms.Process(L1TRK_INST)

#L1TRKALGO = 'HYBRID' #baseline, 4par fit
# L1TRKALGO = 'HYBRID_DISPLACED' #extended, 5par fit
#L1TRKALGO = 'HYBRID_DISPLACED' #extended, 5par fit
L1TRKALGO = 'HYBRID_PROMPTANDDISP'

DISPLACED = ''
Expand Down Expand Up @@ -45,8 +45,7 @@
process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(20))

readFiles = cms.untracked.vstring(
'file:/eos/cms/store/cmst3/group/l1tr/gpetrucc/prod125X/WTo3Pion_pythia8_PU200/WTo3Pion_pythia8_PU200.batch3.job99.root'
# '/store/relval/CMSSW_13_0_0/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/130X_mcRun4_realistic_v2_2026D95noPU-v1/00000/16f6615d-f98c-475f-ad33-0e89934b6c7f.root'
'/store/mc/Phase2Spring23DIGIRECOMiniAOD/TT_TuneCP5_14TeV-powheg-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_L1TFix_Trk1GeV_131X_mcRun4_realistic_v9-v1/50000/1cc5c14c-5bae-4e68-a369-04e230788660.root'
)
secFiles = cms.untracked.vstring()

Expand Down Expand Up @@ -127,8 +126,6 @@
VertexAssociator = process.l1tTrackVertexNNAssociationProducer
AssociationName = "l1tTrackVertexNNAssociationProducer"
else:
process.l1tVertexFinderEmulator = process.l1tVertexProducer.clone()
process.l1tVertexFinderEmulator.VertexReconstruction.Algorithm = "FHEmulation"
VertexAssociator = process.l1tTrackVertexAssociationProducer
AssociationName = "l1tTrackVertexAssociationProducer"

Expand All @@ -152,6 +149,7 @@
process.pTkMETEmu = cms.Path(process.l1tTrackerEmuEtMiss)
process.pTkMHT = cms.Path(process.l1tTrackerHTMiss)
process.pTkMHTEmulator = cms.Path(process.l1tTrackerEmuHTMiss)
process.pL1TrackTripletEmulator = cms.Path(process.l1tTrackTripletEmulation)
DISPLACED = 'Prompt'

# HYBRID: extended tracking
Expand Down