Skip to content

Split the dR plot for neutral hadrons in two eta ranges in the EB (ma… #42009

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

Conversation

nancymarinelli
Copy link
Contributor

PR description:

Minor update in Validation/RecoEgamma/plugins/PhotonValidator.cc, .h. The plot in EB of dR between PF photon candidate and PF neutral hadron candidates is now split
in two |eta| regions (<1 and >1) mainly needed for Phase2, where |eta| >1 receives contributions from the HGCAL reco

PR validation:
Test was made locally using the cmsDriver for PhaseI and PhaseII on the HggGluonfusion sample. All works fine
This PR needs to be backported to the 13_1_X series

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42009/35971

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@nancymarinelli
Copy link
Contributor Author

nancymarinelli commented Jun 27, 2023 via email

@swagata87
Copy link
Contributor

type egamma

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-42009/36083

  • This PR adds an extra 48KB to repository

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Validation/RecoEgamma (dqm)

@nothingface0, @emanueleusai, @cmsbuild, @pmandrik, @syuvivida, @tjavaid, @micsucmed, @rvenditti can you please review it and eventually sign? Thanks.
@missirol this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@emanueleusai
Copy link
Member

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: ClangBuild
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-59077c/33428/summary.html
COMMIT: 03c82a2
CMSSW: CMSSW_13_2_X_2023-06-27-2300/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/42009/33428/install.sh to create a dev area with all the needed externals and cmssw changes.

Clang Build

I found compilation warning while trying to compile with clang. Command used:

USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

See details on the summary page.

@nancymarinelli
Copy link
Contributor Author

nancymarinelli commented Jul 18, 2023 via email

@emanueleusai
Copy link
Member

Hi Nancy,

in the tests the compiler produced warnings that supposedly come from the code in this PR. The code should be modified so that there are no compilation warnings.
Now, I cannot see the warnings because the tests are old and the results have been deleted. I'll re-trigger the tests.

You should also be able to reproduce the warnings running this:
/cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/42009/33428/install.sh

and then compiling with:
USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

@emanueleusai
Copy link
Member

please test

@nancymarinelli
Copy link
Contributor Author

nancymarinelli commented Jul 18, 2023 via email

@cmsbuild
Copy link
Contributor

-1

Failed Tests: ClangBuild
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-59077c/33763/summary.html
COMMIT: 03c82a2
CMSSW: CMSSW_13_3_X_2023-07-18-1100/el8_amd64_gcc11
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/42009/33763/install.sh to create a dev area with all the needed externals and cmssw changes.

Clang Build

I found compilation warning while trying to compile with clang. Command used:

USER_CUDA_FLAGS='--expt-relaxed-constexpr' USER_CXXFLAGS='-Wno-register -fsyntax-only' scram build -k -j 32 COMPILER='llvm compile'

See details on the summary page.

@emanueleusai
Copy link
Member

The test ran pretty quick so now we can see what triggered the warnings without running the commands. Here are the warnings:

Validation/RecoEgamma/plugins/PhotonValidator.cc
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_3_X_2023-07-18-1100/src/Validation/RecoEgamma/plugins/PhotonValidator.cc:3245:9: warning: variable 'iTrk' set but not used [-Wunused-but-set-variable]
/data/cmsbld/jenkins/workspace/ib-run-pr-tests/CMSSW_13_3_X_2023-07-18-1100/src/Validation/RecoEgamma/plugins/PhotonValidator.cc:3246:9: warning: variable 'nHits' set but not used [-Wunused-but-set-variable]

It looks like iTrk and nHits are set, but not used anywhere and could be deleted.

@nancymarinelli
Copy link
Contributor Author

nancymarinelli commented Jul 19, 2023 via email

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.

5 participants