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

Adding an HLT filter for matching between PPS local tracks and central jet properties #31045

Merged
merged 8 commits into from Aug 14, 2020

Conversation

maaraujo94
Copy link
Contributor

PR description:

This PR implements an HLT filter which requires the matching between the proton track information from the PPS detector and the jet properties from the central CMS detector.

The filter can require matching of mass+rapidity and/or of xi - fractional energy loss of the scattered proton.

PR validation:

Filter has been run on data and MC and has worked as expected. More information on tests done is shown here

if this PR is a backport please specify the original PR and why you need to backport that PR:

PR is not a backport.

cc: @fabferro @jjhollar @kshcheli @jan-kaspar

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 4, 2020

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 4, 2020

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31045/17543

  • This PR adds an extra 20KB to repository

  • Found files with invalid states:

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 4, 2020

A new Pull Request was created by @maaraujo94 for master.

It involves the following packages:

HLTrigger/special

@cmsbuild, @Martin-Grunewald, @fwyzard can you please review it and eventually sign? Thanks.
@Martin-Grunewald this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@Martin-Grunewald
Copy link
Contributor

-1
Class name must be the same as file name and start with HLT... .
Header file not needed unless another cc file would need to include it.
Should use std::abs instead of abs
This filter does not use/does not inherit from / any HLTFilter functionality, so why does it have to be an HLTFilter in an HLT package?

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@maaraujo94
Copy link
Contributor Author

The issues indicated have been corrected.
Regarding the last issue, I am not sure what is meant. We are using an EDFilter because the filter does not use HLTFilter functionality, following the advice given in a previous PR. We are submitting this filter as it is meant to be used in an HLT trigger proposal. If we should change from EDFilter to something else, of course we will be happy to change it.

@cmsbuild
Copy link
Contributor

-code-checks

ERROR: Build errors found during clang-tidy run.

HLTrigger/special/plugins/HLTPPSJetComparisonFilter.cc:147:58: error: no member named 'getRPId' in 'CTPPSLocalTrackLite' [clang-diagnostic-error]
            (*proton.contributingLocalTracks().begin())->getRPId());  // get RP ID (rpId.arm() is 0 for 45 and 1 for 56)
                                                         ^
HLTrigger/special/plugins/HLTPPSJetComparisonFilter.cc:174:59: error: no member named 'getRPId' in 'CTPPSLocalTrackLite' [clang-diagnostic-error]
            (*proton1.contributingLocalTracks().begin())->getRPId());  // get RP ID (rpId.arm() is 0 for 45 and 1 for 56)
                                                          ^
HLTrigger/special/plugins/HLTPPSJetComparisonFilter.cc:181:78: error: no member named 'getRPId' in 'CTPPSLocalTrackLite' [clang-diagnostic-error]
              CTPPSDetId rpId2((*proton2.contributingLocalTracks().begin())->getRPId());
                                                                             ^
Suppressed 1529 warnings (1524 in non-user code, 4 NOLINT, 1 with check filters).
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:128: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

desc.add<bool>("do_xi", true)->setComment("flag to require xi matching");
desc.add<bool>("do_my", false)->setComment("flag to require m,y matching");

descriptions.add("hltCTPPSKinematicFilter", desc);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be descriptions.addWithDefaultLabel(desc);

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31045/17748

  • This PR adds an extra 24KB to repository

  • Found files with invalid states:

@cmsbuild
Copy link
Contributor

Pull request #31045 was updated. @cmsbuild, @Martin-Grunewald, @fwyzard can you please check and sign again.

@Martin-Grunewald
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Aug 14, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: c1f7e49
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-df0fd7/8751/summary.html
CMSSW: CMSSW_11_2_X_2020-08-13-2300
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

Comparison job queued.

@Martin-Grunewald
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-df0fd7/8751/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2608246
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2608197
  • DQMHistoTests: Total skipped: 48
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@qliphy
Copy link
Contributor

qliphy commented Aug 14, 2020

+1

@cmsbuild cmsbuild merged commit ed643cb into cms-sw:master Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants