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

cleanup HLTHcalCalibTypeFilter #35315

Merged
merged 3 commits into from
Sep 20, 2021

Conversation

fwyzard
Copy link
Contributor

@fwyzard fwyzard commented Sep 17, 2021

Remove unused variables, and merge the header file into the implementation.

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 17, 2021

please test

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35315/25352

ERROR: Build errors found during clang-tidy run.

HLTrigger/special/plugins/HLTHcalCalibTypeFilter.cc:90:40: error: member reference type 'const FEDRawDataCollection' is not a pointer; did you mean to use '.'? [clang-diagnostic-error]
    const FEDRawData& fedData = rawdata->FEDData(fed);
                                       ^~
                                       .
--
gmake: *** [config/SCRAM/GMake/Makefile.coderules:129: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 17, 2021

please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35315/25354

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @fwyzard (Andrea Bocci) for master.

It involves the following packages:

  • HLTrigger/special (hlt)

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

cms-bot commands are listed here

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb3dc8/18698/summary.html
COMMIT: 0f69a4e
CMSSW: CMSSW_12_1_X_2021-09-16-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35315/18698/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 17-Sep-2021 12:29:11 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=HLTHcalCalibTypeFilter label='hltHcalCalibTypeFilter'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'FilterSummary'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 17-Sep-2021 12:29:49 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=HLTHcalCalibTypeFilter label='hltHcalCalibTypeFilter'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'FilterSummary'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 17-Sep-2021 12:30:06 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=HLTHcalCalibTypeFilter label='hltHcalCalibTypeFilter'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'FilterSummary'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

RelVals-INPUT

  • 158.1158.1_QCD_Pt_80_120_13_HI+QCD_Pt_80_120_13_HIINPUT+DIGIHI2018PPRECO+RECOHI2018PPRECO+HARVESTHI2018PPRECO/step2_QCD_Pt_80_120_13_HI+QCD_Pt_80_120_13_HIINPUT+DIGIHI2018PPRECO+RECOHI2018PPRECO+HARVESTHI2018PPRECO.log
  • 158.2158.2_PhotonJets_Pt_10_13_HI+PhotonJets_Pt_10_13_HIINPUT+DIGIHI2018PPRECO+RECOHI2018PPRECO+HARVESTHI2018PPRECO/step2_PhotonJets_Pt_10_13_HI+PhotonJets_Pt_10_13_HIINPUT+DIGIHI2018PPRECO+RECOHI2018PPRECO+HARVESTHI2018PPRECO.log
  • 158.3158.3_ZEEMM_13_HI+ZEEMM_13_HIINPUT+DIGIHI2018PPRECO+RECOHI2018PPRECO+HARVESTHI2018PPRECO/step2_ZEEMM_13_HI+ZEEMM_13_HIINPUT+DIGIHI2018PPRECO+RECOHI2018PPRECO+HARVESTHI2018PPRECO.log
Expand to see more relval errors ...

AddOn Tests

----- Begin Fatal Exception 17-Sep-2021 12:12:36 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=HLTHcalCalibTypeFilter label='hltHcalCalibTypeFilter'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'FilterSummary'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 17-Sep-2021 12:14:01 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=HLTHcalCalibTypeFilter label='hltHcalCalibTypeFilter'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'FilterSummary'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 17-Sep-2021 12:12:30 CEST-----------------------
An exception of category 'Configuration' occurred while
   [0] Constructing the EventProcessor
   [1] Validating configuration of module: class=HLTHcalCalibTypeFilter label='hltHcalCalibTypeFilter'
Exception Message:
Illegal parameter found in configuration.  The parameter is named:
 'FilterSummary'
You could be trying to use a parameter name that is not
allowed for this plugin or it could be misspelled.
----- End Fatal Exception -------------------------------------------------
Expand to see more addon errors ...

@Martin-Grunewald
Copy link
Contributor

It seems you need to code a customisation function in customiseHLTforCMSSW which deletes the removed parameter(s) in all instances of the plugin where they are still present. (if hasattr... delattr)

@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 17, 2021 via email

@fwyzard fwyzard force-pushed the HLTHcalCalibTypeFilter_cleanup branch from 0f69a4e to 1e2b058 Compare September 19, 2021 09:45
@fwyzard
Copy link
Contributor Author

fwyzard commented Sep 19, 2021

please test

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35315/25379

@cmsbuild
Copy link
Contributor

Pull request #35315 was updated. @Martin-Grunewald can you please check and sign again.

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-cb3dc8/18736/summary.html
COMMIT: 1e2b058
CMSSW: CMSSW_12_1_X_2021-09-19-0000/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/35315/18736/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 0
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3211058
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 39 files compared)
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 8cb2dd1 into cms-sw:master Sep 20, 2021
@fwyzard fwyzard deleted the HLTHcalCalibTypeFilter_cleanup branch July 31, 2022 13:45
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.

4 participants