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

Developing offline JetMET DQM for Scouting jets #47212

Merged
merged 29 commits into from
Feb 8, 2025
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
9dd9772
JetAnalyzer.h: Adding tokens and boolean for Scouting datasets
etzovara Aug 30, 2024
0a63644
JetAnalyzer_cff.py: Adding inputs for Scouting datasets
etzovara Aug 30, 2024
ab90359
JetAnalyzer_cfi.py: Adding inputs for Scouting datasets
etzovara Aug 30, 2024
e1432b7
JetAnalyzer.cc: Adding inputs for Scouting datasets
etzovara Aug 30, 2024
24e63ea
jetAnalyzer_cff.py: changing naming of Scouting DQM analyzer to Uncle…
etzovara Sep 3, 2024
5444094
jetAnalyzer_cfi.py: minor change to 'JetCleaningFlag'
etzovara Sep 3, 2024
03e7bd7
jetMETDQMOfflineSource_cff.py: only minor comments for now
etzovara Sep 3, 2024
382eb60
JetAnalyzer.cc: adding 'iEvent.getByToken(...)' for Scouting jets'
etzovara Sep 3, 2024
47de822
JetAnalyzer.h: declaring new variables for Scouting jets
etzovara Jan 16, 2025
2b36bc0
JetAnalyzer.cc: rebase fix - Adding new histos for Scouting jets (jet…
etzovara Jan 30, 2025
575d4b7
jetAnalyzer_cff.py: removing minor comments
etzovara Jan 16, 2025
aa95e13
jetAnalyzer_cfi.py: Fixixing parameters related to JECs for Scouting …
etzovara Jan 16, 2025
1cffdc1
jetMETDQMOfflineSource_cff.py: Defining/Including variables related t…
etzovara Jan 16, 2025
5df93c3
jetAnalyzer_cff.py: Removing unnecessary comments
etzovara Jan 27, 2025
ee04d3e
jetAnalyzer_cfi.py: Removing unnecessary comments
etzovara Jan 27, 2025
9229d17
jetMETDQMOfflineSource_cff.py: Using offline rho temporarily -> to be…
etzovara Jan 27, 2025
2d0e042
JetAnalyzer.cc: Removing unnecessary comments
etzovara Jan 27, 2025
d6be7ee
JetAnalyzer.h: Fixing code-format issues
etzovara Jan 30, 2025
1fa69ec
CaloTowerAnalyzer.cc: Fixing code-format issues
etzovara Jan 30, 2025
1f4b4ad
HCALRecHitAnalyzer.cc: Fixing code-format issues
etzovara Jan 30, 2025
fdf9423
JetMETDQMDCSFilter.cc: Fixing code-format issues
etzovara Jan 30, 2025
3671351
JetAnalyzer.cc: Fixing code-format issues
etzovara Jan 30, 2025
59cdc1d
JetAnalyzer.cc: Fixing again code-format issues
etzovara Jan 31, 2025
2829a96
CaloTowerAnalyzer.cc: Fixing again code-format issues
etzovara Jan 31, 2025
3008d97
HCALRecHitAnalyzer.cc: Fixing again code-format issues
etzovara Jan 31, 2025
1578ba2
JetMETDQMDCSFilter.cc: Fixing again code-format issues
etzovara Jan 31, 2025
f0aa1ef
jetMETDQMOfflineSource_cff.py: Using offline rho temporarily until 20…
etzovara Feb 1, 2025
706017b
jetAnalyzer_cff.py: Creating dedicated Scouting DQM analyzer sequence…
etzovara Feb 5, 2025
00c6808
jetMETDQMOfflineSource_cff.py: Creating dedicated Scouting DQMOffline…
etzovara Feb 5, 2025
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
Next Next commit
JetAnalyzer.cc: adding 'iEvent.getByToken(...)' for Scouting jets'
  • Loading branch information
etzovara committed Jan 30, 2025
commit 382eb6027522c84408fa58671f2093ea54eab762
6 changes: 4 additions & 2 deletions DQMOffline/JetMET/src/JetAnalyzer.cc
Original file line number Diff line number Diff line change
@@ -298,13 +298,13 @@ void JetAnalyzer::bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRu
DirName = "JetMET/Jet/Uncleaned" + mInputCollection_.label();
}

jetME = ibooker.book1D("jetReco", "jetReco", 5, 1, 5); //###--->change 5 to 6 ???
jetME = ibooker.book1D("jetReco", "jetReco", 6, 1, 6); //###--->change 5 to 6 ???
jetME->setBinLabel(1, "CaloJets", 1);
jetME->setBinLabel(2, "PFJets", 1);
jetME->setBinLabel(3, "JPTJets", 1);
jetME->setBinLabel(4, "MiniAODJets", 1);
jetME->setBinLabel(5, "PUPPIJets", 1);
//jetME->setBinLabel(6, "ScoutingJets", 1); //###<------is it needed ---> it is used only for "jetReco" plot in each sbdir, but not filled properly in all of them ???
jetME->setBinLabel(6, "ScoutingJets", 1); //###<------is it needed ---> it is used only for "jetReco" plot in each sbdir, but not filled properly in all of them ???

map_of_MEs.insert(std::pair<std::string, MonitorElement*>(DirName + "/" + "jetReco", jetME));

@@ -2540,6 +2540,8 @@ void JetAnalyzer::analyze(const edm::Event& iEvent, const edm::EventSetup& iSetu
}
}
}
if (isScoutingJet_)
iEvent.getByToken(scoutingPfJetsToken_, scoutingJets);
if (isMiniAODJet_)
iEvent.getByToken(patJetsToken_, patJets);