From c2e029e9dd53aec5e6a8e3923d2df5b793ed9c9a Mon Sep 17 00:00:00 2001 From: Nick Manganelli Date: Tue, 4 Apr 2023 19:58:41 +0200 Subject: [PATCH] Update L1TrackObjectNtupleMaker Add updated L1TrackObjectNtupleMaker code and config, removed redundant l1vertices input tags. Apply code-format updates to L1TrackObjectNtupleMaker.cc --- .../test/L1TrackObjectNtupleMaker.cc | 514 +++++++++++++++++- .../test/L1TrackObjectNtupleMaker_cfg.py | 74 ++- 2 files changed, 553 insertions(+), 35 deletions(-) diff --git a/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker.cc b/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker.cc index 41eeaf5baf170..a0631dc9bb7c7 100644 --- a/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker.cc +++ b/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker.cc @@ -142,16 +142,36 @@ class L1TrackObjectNtupleMaker : public edm::one::EDAnalyzer ttTrackGTTToken_; edm::EDGetTokenT ttTrackSelectedToken_; edm::EDGetTokenT ttTrackSelectedEmulationToken_; + edm::EDGetTokenT ttTrackSelectedAssociatedToken_; + edm::EDGetTokenT ttTrackSelectedAssociatedEmulationToken_; + edm::EDGetTokenT ttTrackSelectedForJetsToken_; + edm::EDGetTokenT ttTrackSelectedEmulationForJetsToken_; + edm::EDGetTokenT ttTrackSelectedAssociatedForJetsToken_; + edm::EDGetTokenT ttTrackSelectedAssociatedEmulationForJetsToken_; + edm::EDGetTokenT ttTrackSelectedForEtMissToken_; + edm::EDGetTokenT ttTrackSelectedEmulationForEtMissToken_; + edm::EDGetTokenT ttTrackSelectedAssociatedForEtMissToken_; + edm::EDGetTokenT ttTrackSelectedAssociatedEmulationForEtMissToken_; edm::EDGetTokenT ttTrackExtendedToken_; edm::EDGetTokenT> ttTrackMCTruthExtendedToken_; edm::EDGetTokenT ttTrackExtendedGTTToken_; edm::EDGetTokenT ttTrackExtendedSelectedToken_; edm::EDGetTokenT ttTrackExtendedSelectedEmulationToken_; + edm::EDGetTokenT ttTrackExtendedSelectedAssociatedToken_; + edm::EDGetTokenT ttTrackExtendedSelectedAssociatedEmulationToken_; + edm::EDGetTokenT ttTrackExtendedSelectedForJetsToken_; + edm::EDGetTokenT ttTrackExtendedSelectedEmulationForJetsToken_; + edm::EDGetTokenT ttTrackExtendedSelectedAssociatedForJetsToken_; + edm::EDGetTokenT ttTrackExtendedSelectedAssociatedEmulationForJetsToken_; + edm::EDGetTokenT ttTrackExtendedSelectedForEtMissToken_; + edm::EDGetTokenT ttTrackExtendedSelectedEmulationForEtMissToken_; + edm::EDGetTokenT ttTrackExtendedSelectedAssociatedForEtMissToken_; + edm::EDGetTokenT ttTrackExtendedSelectedAssociatedEmulationForEtMissToken_; edm::EDGetTokenT> TrackingParticleToken_; edm::EDGetTokenT> TrackingVertexToken_; @@ -273,6 +313,16 @@ class L1TrackObjectNtupleMaker : public edm::one::EDAnalyzer* m_trk_gtt_phi; std::vector* m_trk_selected_index; std::vector* m_trk_selected_emulation_index; + std::vector* m_trk_selected_associated_index; + std::vector* m_trk_selected_associated_emulation_index; + std::vector* m_trk_selected_forjets_index; + std::vector* m_trk_selected_emulation_forjets_index; + std::vector* m_trk_selected_associated_forjets_index; + std::vector* m_trk_selected_associated_emulation_forjets_index; + std::vector* m_trk_selected_foretmiss_index; + std::vector* m_trk_selected_emulation_foretmiss_index; + std::vector* m_trk_selected_associated_foretmiss_index; + std::vector* m_trk_selected_associated_emulation_foretmiss_index; // all L1 tracks (extended) std::vector* m_trkExt_pt; @@ -309,6 +359,16 @@ class L1TrackObjectNtupleMaker : public edm::one::EDAnalyzer* m_trkExt_gtt_phi; std::vector* m_trkExt_selected_index; std::vector* m_trkExt_selected_emulation_index; + std::vector* m_trkExt_selected_associated_index; + std::vector* m_trkExt_selected_associated_emulation_index; + std::vector* m_trkExt_selected_forjets_index; + std::vector* m_trkExt_selected_emulation_forjets_index; + std::vector* m_trkExt_selected_associated_forjets_index; + std::vector* m_trkExt_selected_associated_emulation_forjets_index; + std::vector* m_trkExt_selected_foretmiss_index; + std::vector* m_trkExt_selected_emulation_foretmiss_index; + std::vector* m_trkExt_selected_associated_foretmiss_index; + std::vector* m_trkExt_selected_associated_emulation_foretmiss_index; // all tracking particles std::vector* m_tp_pt; @@ -498,6 +558,23 @@ L1TrackObjectNtupleMaker::L1TrackObjectNtupleMaker(edm::ParameterSet const& iCon L1TrackGTTInputTag = iConfig.getParameter("L1TrackGTTInputTag"); L1TrackSelectedInputTag = iConfig.getParameter("L1TrackSelectedInputTag"); L1TrackSelectedEmulationInputTag = iConfig.getParameter("L1TrackSelectedEmulationInputTag"); + L1TrackSelectedAssociatedInputTag = iConfig.getParameter("L1TrackSelectedAssociatedInputTag"); + L1TrackSelectedAssociatedEmulationInputTag = + iConfig.getParameter("L1TrackSelectedAssociatedEmulationInputTag"); + L1TrackSelectedForJetsInputTag = iConfig.getParameter("L1TrackSelectedForJetsInputTag"); + L1TrackSelectedEmulationForJetsInputTag = + iConfig.getParameter("L1TrackSelectedEmulationForJetsInputTag"); + L1TrackSelectedAssociatedForJetsInputTag = + iConfig.getParameter("L1TrackSelectedAssociatedForJetsInputTag"); + L1TrackSelectedAssociatedEmulationForJetsInputTag = + iConfig.getParameter("L1TrackSelectedAssociatedEmulationForJetsInputTag"); + L1TrackSelectedForEtMissInputTag = iConfig.getParameter("L1TrackSelectedForEtMissInputTag"); + L1TrackSelectedEmulationForEtMissInputTag = + iConfig.getParameter("L1TrackSelectedEmulationForEtMissInputTag"); + L1TrackSelectedAssociatedForEtMissInputTag = + iConfig.getParameter("L1TrackSelectedAssociatedForEtMissInputTag"); + L1TrackSelectedAssociatedEmulationForEtMissInputTag = + iConfig.getParameter("L1TrackSelectedAssociatedEmulationForEtMissInputTag"); TrackFastJetsInputTag = iConfig.getParameter("TrackFastJetsInputTag"); TrackJetsInputTag = iConfig.getParameter("TrackJetsInputTag"); TrackJetsEmuInputTag = iConfig.getParameter("TrackJetsEmuInputTag"); @@ -511,6 +588,20 @@ L1TrackObjectNtupleMaker::L1TrackObjectNtupleMaker(edm::ParameterSet const& iCon ttTrackGTTToken_ = consumes(L1TrackGTTInputTag); ttTrackSelectedToken_ = consumes(L1TrackSelectedInputTag); ttTrackSelectedEmulationToken_ = consumes(L1TrackSelectedEmulationInputTag); + ttTrackSelectedAssociatedToken_ = consumes(L1TrackSelectedAssociatedInputTag); + ttTrackSelectedAssociatedEmulationToken_ = + consumes(L1TrackSelectedAssociatedEmulationInputTag); + ttTrackSelectedForJetsToken_ = consumes(L1TrackSelectedForJetsInputTag); + ttTrackSelectedEmulationForJetsToken_ = consumes(L1TrackSelectedEmulationForJetsInputTag); + ttTrackSelectedAssociatedForJetsToken_ = consumes(L1TrackSelectedAssociatedForJetsInputTag); + ttTrackSelectedAssociatedEmulationForJetsToken_ = + consumes(L1TrackSelectedAssociatedEmulationForJetsInputTag); + ttTrackSelectedForEtMissToken_ = consumes(L1TrackSelectedForEtMissInputTag); + ttTrackSelectedEmulationForEtMissToken_ = consumes(L1TrackSelectedEmulationForEtMissInputTag); + ttTrackSelectedAssociatedForEtMissToken_ = + consumes(L1TrackSelectedAssociatedForEtMissInputTag); + ttTrackSelectedAssociatedEmulationForEtMissToken_ = + consumes(L1TrackSelectedAssociatedEmulationForEtMissInputTag); TrackFastJetsToken_ = consumes>(TrackFastJetsInputTag); TrackJetsToken_ = consumes(TrackJetsInputTag); TrackJetsEmuToken_ = consumes(TrackJetsEmuInputTag); @@ -527,6 +618,26 @@ L1TrackObjectNtupleMaker::L1TrackObjectNtupleMaker(edm::ParameterSet const& iCon L1TrackExtendedSelectedInputTag = iConfig.getParameter("L1TrackExtendedSelectedInputTag"); L1TrackExtendedSelectedEmulationInputTag = iConfig.getParameter("L1TrackExtendedSelectedEmulationInputTag"); + L1TrackExtendedSelectedAssociatedInputTag = + iConfig.getParameter("L1TrackExtendedSelectedAssociatedInputTag"); + L1TrackExtendedSelectedAssociatedEmulationInputTag = + iConfig.getParameter("L1TrackExtendedSelectedAssociatedEmulationInputTag"); + L1TrackExtendedSelectedForJetsInputTag = + iConfig.getParameter("L1TrackExtendedSelectedForJetsInputTag"); + L1TrackExtendedSelectedEmulationForJetsInputTag = + iConfig.getParameter("L1TrackExtendedSelectedEmulationForJetsInputTag"); + L1TrackExtendedSelectedAssociatedForJetsInputTag = + iConfig.getParameter("L1TrackExtendedSelectedAssociatedForJetsInputTag"); + L1TrackExtendedSelectedAssociatedEmulationForJetsInputTag = + iConfig.getParameter("L1TrackExtendedSelectedAssociatedEmulationForJetsInputTag"); + L1TrackExtendedSelectedForEtMissInputTag = + iConfig.getParameter("L1TrackExtendedSelectedForEtMissInputTag"); + L1TrackExtendedSelectedEmulationForEtMissInputTag = + iConfig.getParameter("L1TrackExtendedSelectedEmulationForEtMissInputTag"); + L1TrackExtendedSelectedAssociatedForEtMissInputTag = + iConfig.getParameter("L1TrackExtendedSelectedAssociatedForEtMissInputTag"); + L1TrackExtendedSelectedAssociatedEmulationForEtMissInputTag = + iConfig.getParameter("L1TrackExtendedSelectedAssociatedEmulationForEtMissInputTag"); TrackFastJetsExtendedInputTag = iConfig.getParameter("TrackFastJetsExtendedInputTag"); TrackJetsExtendedInputTag = iConfig.getParameter("TrackJetsExtendedInputTag"); TrackJetsExtendedEmuInputTag = iConfig.getParameter("TrackJetsExtendedEmuInputTag"); @@ -541,6 +652,23 @@ L1TrackObjectNtupleMaker::L1TrackObjectNtupleMaker(edm::ParameterSet const& iCon ttTrackExtendedGTTToken_ = consumes(L1TrackExtendedGTTInputTag); ttTrackExtendedSelectedToken_ = consumes(L1TrackExtendedSelectedInputTag); ttTrackExtendedSelectedEmulationToken_ = consumes(L1TrackExtendedSelectedEmulationInputTag); + ttTrackExtendedSelectedAssociatedToken_ = consumes(L1TrackExtendedSelectedAssociatedInputTag); + ttTrackExtendedSelectedAssociatedEmulationToken_ = + consumes(L1TrackExtendedSelectedAssociatedEmulationInputTag); + ttTrackExtendedSelectedForJetsToken_ = consumes(L1TrackExtendedSelectedForJetsInputTag); + ttTrackExtendedSelectedEmulationForJetsToken_ = + consumes(L1TrackExtendedSelectedEmulationForJetsInputTag); + ttTrackExtendedSelectedAssociatedForJetsToken_ = + consumes(L1TrackExtendedSelectedAssociatedForJetsInputTag); + ttTrackExtendedSelectedAssociatedEmulationForJetsToken_ = + consumes(L1TrackExtendedSelectedAssociatedEmulationForJetsInputTag); + ttTrackExtendedSelectedForEtMissToken_ = consumes(L1TrackExtendedSelectedForEtMissInputTag); + ttTrackExtendedSelectedEmulationForEtMissToken_ = + consumes(L1TrackExtendedSelectedEmulationForEtMissInputTag); + ttTrackExtendedSelectedAssociatedForEtMissToken_ = + consumes(L1TrackExtendedSelectedAssociatedForEtMissInputTag); + ttTrackExtendedSelectedAssociatedEmulationForEtMissToken_ = + consumes(L1TrackExtendedSelectedAssociatedEmulationForEtMissInputTag); TrackFastJetsExtendedToken_ = consumes>(TrackFastJetsExtendedInputTag); TrackJetsExtendedToken_ = consumes(TrackJetsExtendedInputTag); TrackJetsExtendedEmuToken_ = consumes(TrackJetsExtendedEmuInputTag); @@ -574,6 +702,226 @@ L1TrackObjectNtupleMaker::~L1TrackObjectNtupleMaker() {} void L1TrackObjectNtupleMaker::endJob() { // things to be done at the exit of the event Loop // edm::LogVerbatim("Tracklet") << "L1TrackObjectNtupleMaker::endJob"; + // clean up raw pointers + delete m_trk_pt; + delete m_trk_eta; + delete m_trk_phi; + delete m_trk_phi_local; + delete m_trk_z0; + delete m_trk_d0; + delete m_trk_chi2; + delete m_trk_chi2dof; + delete m_trk_chi2rphi; + delete m_trk_chi2rz; + delete m_trk_bendchi2; + delete m_trk_MVA1; + delete m_trk_nstub; + delete m_trk_lhits; + delete m_trk_dhits; + delete m_trk_seed; + delete m_trk_hitpattern; + delete m_trk_phiSector; + delete m_trk_genuine; + delete m_trk_loose; + delete m_trk_unknown; + delete m_trk_combinatoric; + delete m_trk_fake; + delete m_trk_matchtp_pdgid; + delete m_trk_matchtp_pt; + delete m_trk_matchtp_eta; + delete m_trk_matchtp_phi; + delete m_trk_matchtp_z0; + delete m_trk_matchtp_dxy; + delete m_trk_gtt_pt; + delete m_trk_gtt_eta; + delete m_trk_gtt_phi; + delete m_trk_selected_index; + delete m_trk_selected_emulation_index; + delete m_trk_selected_associated_index; + delete m_trk_selected_associated_emulation_index; + delete m_trk_selected_forjets_index; + delete m_trk_selected_emulation_forjets_index; + delete m_trk_selected_associated_forjets_index; + delete m_trk_selected_associated_emulation_forjets_index; + delete m_trk_selected_foretmiss_index; + delete m_trk_selected_emulation_foretmiss_index; + delete m_trk_selected_associated_foretmiss_index; + delete m_trk_selected_associated_emulation_foretmiss_index; + + delete m_trkExt_pt; + delete m_trkExt_eta; + delete m_trkExt_phi; + delete m_trkExt_phi_local; + delete m_trkExt_z0; + delete m_trkExt_d0; + delete m_trkExt_chi2; + delete m_trkExt_chi2dof; + delete m_trkExt_chi2rphi; + delete m_trkExt_chi2rz; + delete m_trkExt_bendchi2; + delete m_trkExt_MVA; + delete m_trkExt_nstub; + delete m_trkExt_lhits; + delete m_trkExt_dhits; + delete m_trkExt_seed; + delete m_trkExt_hitpattern; + delete m_trkExt_phiSector; + delete m_trkExt_genuine; + delete m_trkExt_loose; + delete m_trkExt_unknown; + delete m_trkExt_combinatoric; + delete m_trkExt_fake; + delete m_trkExt_matchtp_pdgid; + delete m_trkExt_matchtp_pt; + delete m_trkExt_matchtp_eta; + delete m_trkExt_matchtp_phi; + delete m_trkExt_matchtp_z0; + delete m_trkExt_matchtp_dxy; + delete m_trkExt_gtt_pt; + delete m_trkExt_gtt_eta; + delete m_trkExt_gtt_phi; + delete m_trkExt_selected_index; + delete m_trkExt_selected_emulation_index; + delete m_trkExt_selected_associated_index; + delete m_trkExt_selected_associated_emulation_index; + delete m_trkExt_selected_forjets_index; + delete m_trkExt_selected_emulation_forjets_index; + delete m_trkExt_selected_associated_forjets_index; + delete m_trkExt_selected_associated_emulation_forjets_index; + delete m_trkExt_selected_foretmiss_index; + delete m_trkExt_selected_emulation_foretmiss_index; + delete m_trkExt_selected_associated_foretmiss_index; + delete m_trkExt_selected_associated_emulation_foretmiss_index; + + delete m_tp_pt; + delete m_tp_eta; + delete m_tp_phi; + delete m_tp_dxy; + delete m_tp_d0; + delete m_tp_z0; + delete m_tp_d0_prod; + delete m_tp_z0_prod; + delete m_tp_pdgid; + delete m_tp_nmatch; + delete m_tp_nstub; + delete m_tp_eventid; + delete m_tp_charge; + + delete m_gen_pt; + delete m_gen_phi; + delete m_gen_pdgid; + delete m_gen_z0; + + delete m_matchtrk_pt; + delete m_matchtrk_eta; + delete m_matchtrk_phi; + delete m_matchtrk_z0; + delete m_matchtrk_d0; + delete m_matchtrk_chi2; + delete m_matchtrk_chi2dof; + delete m_matchtrk_chi2rphi; + delete m_matchtrk_chi2rz; + delete m_matchtrk_bendchi2; + delete m_matchtrk_MVA1; + delete m_matchtrk_nstub; + delete m_matchtrk_dhits; + delete m_matchtrk_lhits; + delete m_matchtrk_seed; + delete m_matchtrk_hitpattern; + + delete m_matchtrkExt_pt; + delete m_matchtrkExt_eta; + delete m_matchtrkExt_phi; + delete m_matchtrkExt_z0; + delete m_matchtrkExt_d0; + delete m_matchtrkExt_chi2; + delete m_matchtrkExt_chi2dof; + delete m_matchtrkExt_chi2rphi; + delete m_matchtrkExt_chi2rz; + delete m_matchtrkExt_bendchi2; + delete m_matchtrkExt_MVA; + delete m_matchtrkExt_nstub; + delete m_matchtrkExt_dhits; + delete m_matchtrkExt_lhits; + delete m_matchtrkExt_seed; + delete m_matchtrkExt_hitpattern; + + delete m_allstub_x; + delete m_allstub_y; + delete m_allstub_z; + delete m_allstub_isBarrel; + delete m_allstub_layer; + delete m_allstub_isPSmodule; + delete m_allstub_trigDisplace; + delete m_allstub_trigOffset; + delete m_allstub_trigPos; + delete m_allstub_trigBend; + delete m_allstub_matchTP_pdgid; + delete m_allstub_matchTP_pt; + delete m_allstub_matchTP_eta; + delete m_allstub_matchTP_phi; + delete m_allstub_genuine; + + delete m_pv_L1reco; + delete m_pv_L1reco_sum; + delete m_pv_L1reco_emu; + delete m_pv_L1reco_sum_emu; + delete m_pv_MC; + delete m_MC_lep; + + delete m_trkjet_eta; + delete m_trkjet_vz; + delete m_trkjet_phi; + delete m_trkjet_p; + delete m_trkjet_pt; + delete m_trkjet_ntracks; + delete m_trkjet_nDisplaced; + delete m_trkjet_nTight; + delete m_trkjet_nTightDisplaced; + delete m_trkjet_ntdtrk; + + delete m_trkjetem_pt; + delete m_trkjetem_phi; + delete m_trkjetem_eta; + delete m_trkjetem_z; + delete m_trkjetem_ntracks; + delete m_trkjetem_nxtracks; + + delete m_trkfastjet_eta; + delete m_trkfastjet_vz; + delete m_trkfastjet_phi; + delete m_trkfastjet_p; + delete m_trkfastjet_pt; + delete m_trkfastjet_ntracks; + delete m_trkfastjet_tp_sumpt; + delete m_trkfastjet_truetp_sumpt; + + delete m_trkjetExt_eta; + delete m_trkjetExt_vz; + delete m_trkjetExt_phi; + delete m_trkjetExt_p; + delete m_trkjetExt_pt; + delete m_trkjetExt_ntracks; + delete m_trkjetExt_nDisplaced; + delete m_trkjetExt_nTight; + delete m_trkjetExt_nTightDisplaced; + delete m_trkjetExt_ntdtrk; + + delete m_trkjetemExt_pt; + delete m_trkjetemExt_phi; + delete m_trkjetemExt_eta; + delete m_trkjetemExt_z; + delete m_trkjetemExt_ntracks; + delete m_trkjetemExt_nxtracks; + + delete m_trkfastjetExt_eta; + delete m_trkfastjetExt_vz; + delete m_trkfastjetExt_phi; + delete m_trkfastjetExt_p; + delete m_trkfastjetExt_pt; + delete m_trkfastjetExt_ntracks; + delete m_trkfastjetExt_tp_sumpt; + delete m_trkfastjetExt_truetp_sumpt; } //////////// @@ -624,6 +972,16 @@ void L1TrackObjectNtupleMaker::beginJob() { m_trk_gtt_phi = new std::vector; m_trk_selected_index = new std::vector; m_trk_selected_emulation_index = new std::vector; + m_trk_selected_associated_index = new std::vector; + m_trk_selected_associated_emulation_index = new std::vector; + m_trk_selected_forjets_index = new std::vector; + m_trk_selected_emulation_forjets_index = new std::vector; + m_trk_selected_associated_forjets_index = new std::vector; + m_trk_selected_associated_emulation_forjets_index = new std::vector; + m_trk_selected_foretmiss_index = new std::vector; + m_trk_selected_emulation_foretmiss_index = new std::vector; + m_trk_selected_associated_foretmiss_index = new std::vector; + m_trk_selected_associated_emulation_foretmiss_index = new std::vector; m_trkExt_pt = new std::vector; m_trkExt_eta = new std::vector; @@ -659,6 +1017,16 @@ void L1TrackObjectNtupleMaker::beginJob() { m_trkExt_gtt_phi = new std::vector; m_trkExt_selected_index = new std::vector; m_trkExt_selected_emulation_index = new std::vector; + m_trkExt_selected_associated_index = new std::vector; + m_trkExt_selected_associated_emulation_index = new std::vector; + m_trkExt_selected_forjets_index = new std::vector; + m_trkExt_selected_emulation_forjets_index = new std::vector; + m_trkExt_selected_associated_forjets_index = new std::vector; + m_trkExt_selected_associated_emulation_forjets_index = new std::vector; + m_trkExt_selected_foretmiss_index = new std::vector; + m_trkExt_selected_emulation_foretmiss_index = new std::vector; + m_trkExt_selected_associated_foretmiss_index = new std::vector; + m_trkExt_selected_associated_emulation_foretmiss_index = new std::vector; m_tp_pt = new std::vector; m_tp_eta = new std::vector; @@ -827,6 +1195,18 @@ void L1TrackObjectNtupleMaker::beginJob() { eventTree->Branch("trk_gtt_phi", &m_trk_gtt_phi); eventTree->Branch("trk_gtt_selected_index", &m_trk_selected_index); eventTree->Branch("trk_gtt_selected_emulation_index", &m_trk_selected_emulation_index); + eventTree->Branch("trk_gtt_selected_associated_index", &m_trk_selected_associated_index); + eventTree->Branch("trk_gtt_selected_associated_emulation_index", &m_trk_selected_associated_emulation_index); + eventTree->Branch("trk_gtt_selected_forjets_index", &m_trk_selected_forjets_index); + eventTree->Branch("trk_gtt_selected_emulation_forjets_index", &m_trk_selected_emulation_forjets_index); + eventTree->Branch("trk_gtt_selected_associated_forjets_index", &m_trk_selected_associated_forjets_index); + eventTree->Branch("trk_gtt_selected_associated_emulation_forjets_index", + &m_trk_selected_associated_emulation_forjets_index); + eventTree->Branch("trk_gtt_selected_foretmiss_index", &m_trk_selected_foretmiss_index); + eventTree->Branch("trk_gtt_selected_emulation_foretmiss_index", &m_trk_selected_emulation_foretmiss_index); + eventTree->Branch("trk_gtt_selected_associated_foretmiss_index", &m_trk_selected_associated_foretmiss_index); + eventTree->Branch("trk_gtt_selected_associated_emulation_foretmiss_index", + &m_trk_selected_associated_emulation_foretmiss_index); } if (SaveAllTracks && (Displaced == "Displaced" || Displaced == "Both")) { @@ -864,6 +1244,18 @@ void L1TrackObjectNtupleMaker::beginJob() { eventTree->Branch("trkExt_gtt_phi", &m_trkExt_gtt_phi); eventTree->Branch("trkExt_gtt_selected_index", &m_trkExt_selected_index); eventTree->Branch("trkExt_gtt_selected_emulation_index", &m_trkExt_selected_emulation_index); + eventTree->Branch("trkExt_gtt_selected_associated_index", &m_trkExt_selected_associated_index); + eventTree->Branch("trkExt_gtt_selected_associated_emulation_index", &m_trkExt_selected_associated_emulation_index); + eventTree->Branch("trkExt_gtt_selected_forjets_index", &m_trkExt_selected_forjets_index); + eventTree->Branch("trkExt_gtt_selected_emulation_forjets_index", &m_trkExt_selected_emulation_forjets_index); + eventTree->Branch("trkExt_gtt_selected_associated_forjets_index", &m_trkExt_selected_associated_forjets_index); + eventTree->Branch("trkExt_gtt_selected_associated_emulation_forjets_index", + &m_trkExt_selected_associated_emulation_forjets_index); + eventTree->Branch("trkExt_gtt_selected_foretmiss_index", &m_trkExt_selected_foretmiss_index); + eventTree->Branch("trkExt_gtt_selected_emulation_foretmiss_index", &m_trkExt_selected_emulation_foretmiss_index); + eventTree->Branch("trkExt_gtt_selected_associated_foretmiss_index", &m_trkExt_selected_associated_foretmiss_index); + eventTree->Branch("trkExt_gtt_selected_associated_emulation_foretmiss_index", + &m_trkExt_selected_associated_emulation_foretmiss_index); } eventTree->Branch("tp_pt", &m_tp_pt); eventTree->Branch("tp_eta", &m_tp_eta); @@ -1076,6 +1468,16 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even m_trk_gtt_phi->clear(); m_trk_selected_index->clear(); m_trk_selected_emulation_index->clear(); + m_trk_selected_associated_index->clear(); + m_trk_selected_associated_emulation_index->clear(); + m_trk_selected_forjets_index->clear(); + m_trk_selected_emulation_forjets_index->clear(); + m_trk_selected_associated_forjets_index->clear(); + m_trk_selected_associated_emulation_forjets_index->clear(); + m_trk_selected_foretmiss_index->clear(); + m_trk_selected_emulation_foretmiss_index->clear(); + m_trk_selected_associated_foretmiss_index->clear(); + m_trk_selected_associated_emulation_foretmiss_index->clear(); } if (SaveAllTracks && (Displaced == "Displaced" || Displaced == "Both")) { m_trkExt_pt->clear(); @@ -1112,6 +1514,16 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even m_trkExt_gtt_phi->clear(); m_trkExt_selected_index->clear(); m_trkExt_selected_emulation_index->clear(); + m_trkExt_selected_associated_index->clear(); + m_trkExt_selected_associated_emulation_index->clear(); + m_trkExt_selected_forjets_index->clear(); + m_trkExt_selected_emulation_forjets_index->clear(); + m_trkExt_selected_associated_forjets_index->clear(); + m_trkExt_selected_associated_emulation_forjets_index->clear(); + m_trkExt_selected_foretmiss_index->clear(); + m_trkExt_selected_emulation_foretmiss_index->clear(); + m_trkExt_selected_associated_foretmiss_index->clear(); + m_trkExt_selected_associated_emulation_foretmiss_index->clear(); } m_tp_pt->clear(); m_tp_eta->clear(); @@ -1317,8 +1729,28 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even edm::Handle TTTrackExtendedGTTHandle; edm::Handle TTTrackSelectedHandle; edm::Handle TTTrackSelectedEmulationHandle; + edm::Handle TTTrackSelectedAssociatedHandle; + edm::Handle TTTrackSelectedAssociatedEmulationHandle; + edm::Handle TTTrackSelectedForJetsHandle; + edm::Handle TTTrackSelectedEmulationForJetsHandle; + edm::Handle TTTrackSelectedAssociatedForJetsHandle; + edm::Handle TTTrackSelectedAssociatedEmulationForJetsHandle; + edm::Handle TTTrackSelectedForEtMissHandle; + edm::Handle TTTrackSelectedEmulationForEtMissHandle; + edm::Handle TTTrackSelectedAssociatedForEtMissHandle; + edm::Handle TTTrackSelectedAssociatedEmulationForEtMissHandle; + edm::Handle TTTrackExtendedSelectedAssociatedHandle; + edm::Handle TTTrackExtendedSelectedAssociatedEmulationHandle; edm::Handle TTTrackExtendedSelectedHandle; edm::Handle TTTrackExtendedSelectedEmulationHandle; + edm::Handle TTTrackExtendedSelectedAssociatedForJetsHandle; + edm::Handle TTTrackExtendedSelectedAssociatedEmulationForJetsHandle; + edm::Handle TTTrackExtendedSelectedForJetsHandle; + edm::Handle TTTrackExtendedSelectedEmulationForJetsHandle; + edm::Handle TTTrackExtendedSelectedAssociatedForEtMissHandle; + edm::Handle TTTrackExtendedSelectedAssociatedEmulationForEtMissHandle; + edm::Handle TTTrackExtendedSelectedForEtMissHandle; + edm::Handle TTTrackExtendedSelectedEmulationForEtMissHandle; L1TrackCollection::const_iterator iterL1Track; if (Displaced == "Prompt" || Displaced == "Both") { @@ -1334,6 +1766,17 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even iEvent.getByToken(ttTrackGTTToken_, TTTrackGTTHandle); iEvent.getByToken(ttTrackSelectedToken_, TTTrackSelectedHandle); iEvent.getByToken(ttTrackSelectedEmulationToken_, TTTrackSelectedEmulationHandle); + iEvent.getByToken(ttTrackSelectedAssociatedToken_, TTTrackSelectedAssociatedHandle); + iEvent.getByToken(ttTrackSelectedAssociatedEmulationToken_, TTTrackSelectedAssociatedEmulationHandle); + iEvent.getByToken(ttTrackSelectedForJetsToken_, TTTrackSelectedForJetsHandle); + iEvent.getByToken(ttTrackSelectedEmulationForJetsToken_, TTTrackSelectedEmulationForJetsHandle); + iEvent.getByToken(ttTrackSelectedAssociatedForJetsToken_, TTTrackSelectedAssociatedForJetsHandle); + iEvent.getByToken(ttTrackSelectedAssociatedEmulationForJetsToken_, TTTrackSelectedAssociatedEmulationForJetsHandle); + iEvent.getByToken(ttTrackSelectedForEtMissToken_, TTTrackSelectedForEtMissHandle); + iEvent.getByToken(ttTrackSelectedEmulationForEtMissToken_, TTTrackSelectedEmulationForEtMissHandle); + iEvent.getByToken(ttTrackSelectedAssociatedForEtMissToken_, TTTrackSelectedAssociatedForEtMissHandle); + iEvent.getByToken(ttTrackSelectedAssociatedEmulationForEtMissToken_, + TTTrackSelectedAssociatedEmulationForEtMissHandle); } if (Displaced == "Displaced" || Displaced == "Both") { iEvent.getByToken(TrackFastJetsExtendedToken_, TrackFastJetsExtendedHandle); @@ -1347,6 +1790,20 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even iEvent.getByToken(ttTrackExtendedGTTToken_, TTTrackExtendedGTTHandle); iEvent.getByToken(ttTrackExtendedSelectedToken_, TTTrackExtendedSelectedHandle); iEvent.getByToken(ttTrackExtendedSelectedEmulationToken_, TTTrackExtendedSelectedEmulationHandle); + iEvent.getByToken(ttTrackExtendedSelectedAssociatedToken_, TTTrackExtendedSelectedAssociatedHandle); + iEvent.getByToken(ttTrackExtendedSelectedAssociatedEmulationToken_, + TTTrackExtendedSelectedAssociatedEmulationHandle); + iEvent.getByToken(ttTrackExtendedSelectedForJetsToken_, TTTrackExtendedSelectedForJetsHandle); + iEvent.getByToken(ttTrackExtendedSelectedEmulationForJetsToken_, TTTrackExtendedSelectedEmulationForJetsHandle); + iEvent.getByToken(ttTrackExtendedSelectedAssociatedForJetsToken_, TTTrackExtendedSelectedAssociatedForJetsHandle); + iEvent.getByToken(ttTrackExtendedSelectedAssociatedEmulationForJetsToken_, + TTTrackExtendedSelectedAssociatedEmulationForJetsHandle); + iEvent.getByToken(ttTrackExtendedSelectedForEtMissToken_, TTTrackExtendedSelectedForEtMissHandle); + iEvent.getByToken(ttTrackExtendedSelectedEmulationForEtMissToken_, TTTrackExtendedSelectedEmulationForEtMissHandle); + iEvent.getByToken(ttTrackExtendedSelectedAssociatedForEtMissToken_, + TTTrackExtendedSelectedAssociatedForEtMissHandle); + iEvent.getByToken(ttTrackExtendedSelectedAssociatedEmulationForEtMissToken_, + TTTrackExtendedSelectedAssociatedEmulationForEtMissHandle); } //Loop over gen particles @@ -1670,6 +2127,23 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even m_trk_gtt_phi->push_back(l1track_ref->momentum().phi()); m_trk_selected_index->push_back(getSelectedTrackIndex(l1track_ref, TTTrackSelectedHandle)); m_trk_selected_emulation_index->push_back(getSelectedTrackIndex(l1track_ref, TTTrackSelectedEmulationHandle)); + m_trk_selected_associated_index->push_back(getSelectedTrackIndex(l1track_ref, TTTrackSelectedAssociatedHandle)); + m_trk_selected_associated_emulation_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackSelectedAssociatedEmulationHandle)); + m_trk_selected_forjets_index->push_back(getSelectedTrackIndex(l1track_ref, TTTrackSelectedForJetsHandle)); + m_trk_selected_emulation_forjets_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackSelectedEmulationForJetsHandle)); + m_trk_selected_associated_forjets_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackSelectedAssociatedForJetsHandle)); + m_trk_selected_associated_emulation_forjets_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackSelectedAssociatedEmulationForJetsHandle)); + m_trk_selected_foretmiss_index->push_back(getSelectedTrackIndex(l1track_ref, TTTrackSelectedForEtMissHandle)); + m_trk_selected_emulation_foretmiss_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackSelectedEmulationForEtMissHandle)); + m_trk_selected_associated_foretmiss_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackSelectedAssociatedForEtMissHandle)); + m_trk_selected_associated_emulation_foretmiss_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackSelectedAssociatedEmulationForEtMissHandle)); } //end track loop } //end if SaveAllTracks @@ -1864,6 +2338,26 @@ void L1TrackObjectNtupleMaker::analyze(const edm::Event& iEvent, const edm::Even m_trkExt_selected_index->push_back(getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedHandle)); m_trkExt_selected_emulation_index->push_back( getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedEmulationHandle)); + m_trkExt_selected_associated_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedAssociatedHandle)); + m_trkExt_selected_associated_emulation_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedAssociatedEmulationHandle)); + m_trkExt_selected_forjets_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedForJetsHandle)); + m_trkExt_selected_emulation_forjets_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedEmulationForJetsHandle)); + m_trkExt_selected_associated_forjets_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedAssociatedForJetsHandle)); + m_trkExt_selected_associated_emulation_forjets_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedAssociatedEmulationForJetsHandle)); + m_trkExt_selected_foretmiss_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedForEtMissHandle)); + m_trkExt_selected_emulation_foretmiss_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedEmulationForEtMissHandle)); + m_trkExt_selected_associated_foretmiss_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedAssociatedForEtMissHandle)); + m_trkExt_selected_associated_emulation_foretmiss_index->push_back( + getSelectedTrackIndex(l1track_ref, TTTrackExtendedSelectedAssociatedEmulationForEtMissHandle)); } //end track loop } //end if SaveAllTracks (displaced) diff --git a/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker_cfg.py b/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker_cfg.py index fec76b17dc647..1ed60ec5c6553 100644 --- a/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker_cfg.py +++ b/L1Trigger/L1TTrackMatch/test/L1TrackObjectNtupleMaker_cfg.py @@ -83,6 +83,7 @@ process.load("L1Trigger.TrackFindingTracklet.L1HybridEmulationTracks_cff") process.load("L1Trigger.L1TTrackMatch.l1tTrackSelectionProducer_cfi") +process.load("L1Trigger.L1TTrackMatch.l1tTrackVertexAssociationProducer_cfi") process.load("L1Trigger.L1TTrackMatch.l1tTrackJets_cfi") process.load("L1Trigger.L1TTrackMatch.l1tGTTInputProducer_cfi") process.load("L1Trigger.L1TTrackMatch.l1tTrackJetsEmulation_cfi") @@ -97,30 +98,19 @@ ############################################################ # Primary vertex ############################################################ -process.l1tVertexFinder = process.l1tVertexProducer.clone() process.pPV = cms.Path(process.l1tVertexFinder) -process.l1tVertexFinderEmulator = process.l1tVertexProducer.clone() -process.l1tVertexFinderEmulator.VertexReconstruction.Algorithm = "fastHistoEmulation" -process.l1tVertexFinderEmulator.l1TracksInputTag = cms.InputTag("l1tGTTInputProducer","Level1TTTracksConverted") -process.l1tVertexFinderEmulator.VertexReconstruction.VxMinTrackPt = cms.double(0.0) process.pPVemu = cms.Path(process.l1tVertexFinderEmulator) -process.l1tTrackFastJets.L1PrimaryVertexTag = cms.InputTag("l1tVertexFinder", "l1vertices") -process.l1tTrackFastJetsExtended.L1PrimaryVertexTag = cms.InputTag("l1tVertexFinder", "l1vertices") -process.l1tTrackJets.L1PVertexInputTag = cms.InputTag("l1tVertexFinderEmulator","l1verticesEmulation") -process.l1tTrackJetsExtended.L1PVertexInputTag = cms.InputTag("l1tVertexFinderEmulator","l1verticesEmulation") -process.l1tTrackerEtMiss.L1VertexInputTag = cms.InputTag("l1tVertexFinder", "l1vertices") -process.l1tTrackerHTMiss.L1VertexInputTag = cms.InputTag("l1tVertexFinder", "l1vertices") -process.l1tTrackerEtMissExtended.L1VertexInputTag = cms.InputTag("l1tVertexFinder", "l1vertices") -process.l1tTrackerHTMissExtended.L1VertexInputTag = cms.InputTag("l1tVertexFinder", "l1vertices") -process.l1tTrackerEmuEtMiss.L1VertexInputTag = cms.InputTag("l1tVertexFinderEmulator", "l1verticesEmulation") - - # HYBRID: prompt tracking if (L1TRKALGO == 'HYBRID'): process.TTTracksEmu = cms.Path(process.L1THybridTracks) process.TTTracksEmuWithTruth = cms.Path(process.L1THybridTracksWithAssociators) - process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer) + process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer * + process.l1tTrackSelectionProducerForJets * + process.l1tTrackSelectionProducerForEtMiss) + process.pL1TrackVertexAssociation = cms.Path(process.l1tTrackVertexAssociationProducer* + process.l1tTrackVertexAssociationProducerForJets* + process.l1tTrackVertexAssociationProducerForEtMiss) process.pL1TrackJets = cms.Path(process.l1tTrackJets) process.pL1TrackFastJets=cms.Path(process.l1tTrackFastJets) process.pL1GTTInput = cms.Path(process.l1tGTTInputProducer) @@ -135,7 +125,13 @@ elif (L1TRKALGO == 'HYBRID_DISPLACED'): process.TTTracksEmu = cms.Path(process.L1TExtendedHybridTracks) process.TTTracksEmuWithTruth = cms.Path(process.L1TExtendedHybridTracksWithAssociators) - process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducerExtended) + process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer * + process.l1tTrackSelectionProducerExtended * + process.l1tTrackSelectionProducerExtendedForJets * + process.l1tTrackSelectionProducerExtendedForEtMiss) + process.pL1TrackVertexAssociation = cms.Path(process.l1tTrackVertexAssociationProducerExtended * + process.l1tTrackVertexAssociationProducerExtendedForJets * + process.l1tTrackVertexAssociationProducerExtendedForEtMiss) process.pL1TrackJets = cms.Path(process.l1tTrackJetsExtended) process.pL1TrackFastJets = cms.Path(process.l1tTrackFastJetsExtended) process.pL1GTTInput = cms.Path(process.l1tGTTInputProducerExtended) @@ -149,7 +145,12 @@ elif (L1TRKALGO == 'HYBRID_PROMPTANDDISP'): process.TTTracksEmu = cms.Path(process.L1TPromptExtendedHybridTracks) process.TTTracksEmuWithTruth = cms.Path(process.L1TPromptExtendedHybridTracksWithAssociators) - process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer*process.l1tTrackSelectionProducerExtended) + process.pL1TrackSelection = cms.Path(process.l1tTrackSelectionProducer * process.l1tTrackSelectionProducerExtended * + process.l1tTrackSelectionProducerForJets * process.l1tTrackSelectionProducerExtendedForJets * + process.l1tTrackSelectionProducerForEtMiss * process.l1tTrackSelectionProducerExtendedForEtMiss) + process.pL1TrackVertexAssociation = cms.Path(process.l1tTrackVertexAssociationProducer * process.l1tTrackVertexAssociationProducerExtended * + process.l1tTrackVertexAssociationProducerForJets * process.l1tTrackVertexAssociationProducerExtendedForJets * + process.l1tTrackVertexAssociationProducerForEtMiss * process.l1tTrackVertexAssociationProducerExtendedForEtMiss) process.pL1TrackJets = cms.Path(process.l1tTrackJets*process.l1tTrackJetsExtended) process.pL1TrackFastJets = cms.Path(process.l1tTrackFastJets*process.l1tTrackFastJetsExtended) process.pL1GTTInput = cms.Path(process.l1tGTTInputProducer*process.l1tGTTInputProducerExtended) @@ -193,8 +194,34 @@ L1TrackExtendedGTTInputTag = cms.InputTag("l1tGTTInputProducerExtended","Level1TTTracksExtendedConverted"), # TTTracks, extended, GTT converted L1TrackSelectedInputTag = cms.InputTag("l1tTrackSelectionProducer", "Level1TTTracksSelected"), # TTTracks, prompt, selected L1TrackSelectedEmulationInputTag = cms.InputTag("l1tTrackSelectionProducer", "Level1TTTracksSelectedEmulation"), # TTTracks, prompt, emulation, selected - L1TrackExtendedSelectedInputTag = cms.InputTag("l1tTrackSelectionProducerExtended", "Level1TTTracksExtendedSelected"), # TTTracks, extended, selected - L1TrackExtendedSelectedEmulationInputTag = cms.InputTag("l1tTrackSelectionProducerExtended", "Level1TTTracksExtendedSelectedEmulation"), # TTTracks, extended, emulation, selected + L1TrackSelectedAssociatedInputTag = cms.InputTag("l1tTrackVertexAssociationProducer", "Level1TTTracksSelectedAssociated"), # TTTracks, prompt, selected, associated + L1TrackSelectedAssociatedEmulationInputTag = cms.InputTag("l1tTrackVertexAssociationProducer", "Level1TTTracksSelectedAssociatedEmulation"), # TTTracks, prompt, emulation, selected, associated + + L1TrackSelectedForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerForJets", "Level1TTTracksSelected"), # TTTracks, prompt, selected + L1TrackSelectedEmulationForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerForJets", "Level1TTTracksSelectedEmulation"), # TTTracks, prompt, emulation, selected + L1TrackSelectedAssociatedForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForJets", "Level1TTTracksSelectedAssociated"), # TTTracks, prompt, selected, associated + L1TrackSelectedAssociatedEmulationForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForJets", "Level1TTTracksSelectedAssociatedEmulation"), # TTTracks, prompt, emulation, selected, associated + + L1TrackSelectedForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerForEtMiss", "Level1TTTracksSelected"), # TTTracks, prompt, selected + L1TrackSelectedEmulationForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerForEtMiss", "Level1TTTracksSelectedEmulation"), # TTTracks, prompt, emulation, selected + L1TrackSelectedAssociatedForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForEtMiss", "Level1TTTracksSelectedAssociated"), # TTTracks, prompt, selected, associated + L1TrackSelectedAssociatedEmulationForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerForEtMiss", "Level1TTTracksSelectedAssociatedEmulation"), # TTTracks, prompt, emulation, selected, associated + + L1TrackExtendedSelectedInputTag = cms.InputTag("l1tTrackSelectionProducerExtended", "Level1TTTracksExtendedSelected"), # TTTracks, extended, selected + L1TrackExtendedSelectedEmulationInputTag = cms.InputTag("l1tTrackSelectionProducerExtended", "Level1TTTracksExtendedSelectedEmulation"), # TTTracks, extended, emulation, selected + L1TrackExtendedSelectedAssociatedInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtended", "Level1TTTracksExtendedSelectedAssociated"), # TTTracks, extended, selected, associated + L1TrackExtendedSelectedAssociatedEmulationInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtended", "Level1TTTracksExtendedSelectedAssociatedEmulation"), # TTTracks, extended, emulation, selected, associated + + L1TrackExtendedSelectedForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForJets", "Level1TTTracksExtendedSelected"), # TTTracks, extended, selected + L1TrackExtendedSelectedEmulationForJetsInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForJets", "Level1TTTracksExtendedSelectedEmulation"), # TTTracks, extended, emulation, selected + L1TrackExtendedSelectedAssociatedForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForJets", "Level1TTTracksExtendedSelectedAssociated"), # TTTracks, extended, selected, associated + L1TrackExtendedSelectedAssociatedEmulationForJetsInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForJets", "Level1TTTracksExtendedSelectedAssociatedEmulation"), # TTTracks, extended, emulation, selected, associated + + L1TrackExtendedSelectedForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForEtMiss", "Level1TTTracksExtendedSelected"), # TTTracks, extended, selected + L1TrackExtendedSelectedEmulationForEtMissInputTag = cms.InputTag("l1tTrackSelectionProducerExtendedForEtMiss", "Level1TTTracksExtendedSelectedEmulation"), # TTTracks, extended, emulation, selected + L1TrackExtendedSelectedAssociatedForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForEtMiss", "Level1TTTracksExtendedSelectedAssociated"), # TTTracks, extended, selected, associated + L1TrackExtendedSelectedAssociatedEmulationForEtMissInputTag = cms.InputTag("l1tTrackVertexAssociationProducerExtendedForEtMiss", "Level1TTTracksExtendedSelectedAssociatedEmulation"), # TTTracks, extended, emulation, selected, associated + L1StubInputTag = cms.InputTag("TTStubsFromPhase2TrackerDigis","StubAccepted"), MCTruthClusterInputTag = cms.InputTag("TTClusterAssociatorFromPixelDigis", "ClusterAccepted"), MCTruthStubInputTag = cms.InputTag("TTStubAssociatorFromPixelDigis", "StubAccepted"), @@ -238,7 +265,4 @@ # use this if cluster/stub associators not available # process.schedule = cms.Schedule(process.TTClusterStubTruth,process.TTTracksEmuWithTruth,process.ntuple) -process.schedule = cms.Schedule(process.TTClusterStub, process.TTClusterStubTruth, process.dtc, process.TTTracksEmuWithTruth, process.pL1GTTInput, process.pPV, process.pPVemu, process.pL1TrackSelection, process.pL1TrackJets, process.pL1TrackJetsEmu,process.pL1TrackFastJets, process.pTkMET, process.pTkMETEmu, process.pTkMHT, process.pTkMHTEmulator, process.ntuple) - - - +process.schedule = cms.Schedule(process.TTClusterStub, process.TTClusterStubTruth, process.dtc, process.TTTracksEmuWithTruth, process.pL1GTTInput, process.pL1TrackSelection, process.pPV, process.pPVemu,process.pL1TrackVertexAssociation, process.pL1TrackJets, process.pL1TrackJetsEmu,process.pL1TrackFastJets, process.pTkMET, process.pTkMETEmu, process.pTkMHT, process.pTkMHTEmulator, process.ntuple)