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
Implement Phase2 HLT Taus and L1HPSTaus #16
Implement Phase2 HLT Taus and L1HPSTaus #16
Conversation
…gger studies to dedicated branch
cms-tau-pog/TauMLTools#24 configurable via python config
This configuration is based on - the Tracking v6.1 baseline configuration - the TICL v3 configuration
The b-tagging paths should be consistent with the Jets/MET configuration.
Remove unused sequences and modules: - BProbability for Puppi and PF jets, and their corresponding submodules; - HLTObjects and L1Objects; - DeepCSV and DeepJet paths for PFCHS jets, and their corresponding submodules. Merge all noFilter paths into MC_BTV. Various renames: - remove _v1 tags from path names; - rename L1T filters to match the implementation; - rename hltDoublePFPuppiJets128Eta2p3MaxDeta1p6_cfi to hltDoublePFPuppiJets128Eta2p4MaxDeta1p6_cfi because of wrong eta cut in name.
At the same time: - remove unused PSets and modules - clean up whitespcaes - clean up the imports in the main configuration file
@@ -0,0 +1,27 @@ | |||
#include "HLTrigger/Phase2HLTPFTaus/plugins/PFRecoTauChargedHadronQualityPluginHGCalWorkaround.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this plugin should go into RecoTauTag/RecoTau/
?
@@ -0,0 +1,108 @@ | |||
#include "HLTrigger/Phase2HLTPFTaus/plugins/PFTauPairProducer.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this plugin should go under RecoTauTag/HLTProducers/
?
@@ -0,0 +1,45 @@ | |||
#ifndef HLTrigger_Phase2HLTPFTaus_PFTauPairProducer_h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you merge the class declaration into the .cc file ?
PFTauPairProducer::~PFTauPairProducer() | ||
{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to the class declaration as ~PFTauPairProducer() = default;
|
||
void PFTauPairProducer::produce(edm::Event& evt, const edm::EventSetup& es) | ||
{ | ||
std::unique_ptr<reco::PFTauPairCollection> pfTauPairs(new reco::PFTauPairCollection()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
std::unique_ptr<reco::PFTauPairCollection> pfTauPairs(new reco::PFTauPairCollection()); | |
auto pfTauPairs = std::make_unique<reco::PFTauPairCollection>(); |
{ | ||
public: | ||
explicit RecoTauCleanerPluginHGCalWorkaround(const edm::ParameterSet& cfg, edm::ConsumesCollector&& cc); | ||
~RecoTauCleanerPluginHGCalWorkaround() override {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~RecoTauCleanerPluginHGCalWorkaround() override {} | |
~RecoTauCleanerPluginHGCalWorkaround() override = default; |
Some more general comments:
|
Dear Andrea, I have modified all the code considering your all comments. There were merge conflict with some files in RecoTauTag/RecoTau/interface/DeepTauBase.h I have kept these from default i.e. which are in CMSSW_11_1_8 and I have renamed the new files updated by Christian RecoTauTag/RecoTau/interface/DeepTauBaseForHLT.h |
Hi Sandeep,
yes, those are the conflicts I was talking about earlier.
I don't think having two different versions of the same modules of a good
idea.
Can you work with Christian to update the HLT set up to use the version in
the release ? Or, if anything is missing in the code, to update it
accordingly ?
Thank you,
.Andrea
|
ok I will talk to Christian about it. |
The present code can reproduce the HLT TDR results but still there are 2 technical issues to solve. |
So those 2 technical issues are also solved now |
4e6142d
to
205db68
Compare
PR description:
PR validation:
if this PR is a backport please specify the original PR and why you need to backport that PR:
Before submitting your pull requests, make sure you followed this checklist: