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
Addition of a parameter in HLTMuonTrkFilter to cut on absEta #5767
Addition of a parameter in HLTMuonTrkFilter to cut on absEta #5767
Conversation
A new Pull Request was created by @HuguesBrun (Hugues BRUN) for CMSSW_7_3_X. Addition of a parameter in HLTMuonTrkFilter to cut on absEta It involves the following packages: HLTrigger/Muon @Martin-Grunewald, @perrotta, @cmsbuild, @nclopezo, @fwyzard can you please review it and eventually sign? Thanks. |
@@ -82,6 +84,7 @@ HLTMuonTrkFilter::hltFilter(edm::Event& iEvent, const edm::EventSetup& iSetup, t | |||
} | |||
if ( muon.isTrackerMuon() && !muon::isGoodMuon(muon,m_trkMuonId) ) continue; | |||
if ( muon.pt() < m_minPt ) continue; | |||
if ( fabs(muon.eta()) > m_maxAbsEta ) continue; |
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.
This should be std::abs instead of fabs!
Also, make a PR for 72X. |
-1 |
Hello, |
+1 |
HLTrigger/Muon -- Addition of a parameter in HLTMuonTrkFilter to cut on absEta
This parameter permits to cut on the AbsEta of the trackers muon at HLT