Navigation Menu

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

SimHit vs. RecHit Validation #16734

Merged
merged 5 commits into from Dec 4, 2016
Merged

Conversation

kencall
Copy link
Contributor

@kencall kencall commented Nov 22, 2016

Restores SimHit vs. RecHit comparisons removed from Validation/HcalRecHits/HcalRecHitsValidation in PR #PR. It adds support for testNumber in SimHit collection which is currently being used in 2023 workflows.

…lRecHits/HcalRecHitsValidation in PR #

Support for testNumbering in the SimHit collection is added.
…alRecHits/interface/HcalRecHitsValidation.h

fixed testNumbering customization in Validation/HcalRecHits/python/HcalRecHitParam_cfi.py
standardized profile booking to remove unused y-axis binning
@cmsbuild
Copy link
Contributor

A new Pull Request was created by @kencall for CMSSW_9_0_X.

It involves the following packages:

Validation/HcalRecHits

@cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@kpedro88
Copy link
Contributor

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 23, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/16568/console

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar


if ( r < partR ){ // just energy in the small cone
enSimHits += en;
if(sub == static_cast<int>(HcalBarrel)) enSimHitsHB += en;
Copy link
Contributor

Choose a reason for hiding this comment

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

@kencall - can you clarify the difference between "sub" and "subdet_" in this module? thanks

Copy link
Contributor

Choose a reason for hiding this comment

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

@davidlange6 it looks like subdet_ is used to control which histograms actually get filled by the analyzer. sub is the per-SimHit subdetector (all Hcal SimHits are grouped together in one collection).

Copy link
Contributor

Choose a reason for hiding this comment

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

thats what I thought to - but then I would expect an if ( sub != subdet_ ) continue...re-rereading, maybe that is exactly what should be added..(and the 5 energy and cone variables could become 2..)?

Copy link
Contributor

Choose a reason for hiding this comment

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

There could be some simplification - it would have to be (sub!=subdet_ and subdet_==5) continue, and there would still have to be a check for HF to fill the separate long and short energy deposits. I guess this could also be done when filling the RecHit variables like eHcalConeHB.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

HF has to be handled separately regardless since HF simhit energy is defined in p.e.'s and not GeV.

I think that it still makes sense to compare SimHit to RecHit energy for each subdetector, especially when their are different electronics in HB and HE.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think @davidlange6 is just saying that, in the case where subdet_ is set to a specific index, there's no need to fill variables for the other subdets.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok, that makes sense -- especially since the values are never used if subdet_ is set to a specific detector.

@davidlange6
Copy link
Contributor

davidlange6 commented Nov 29, 2016 via email

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2016

Pull request #16734 was updated. @cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please check and sign again.

@kpedro88
Copy link
Contributor

kpedro88 commented Dec 1, 2016

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/16727/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2016

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 1, 2016

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

The workflows 1003.0, 1001.0, 1000.0, 140.53, 136.731, 4.22 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 2, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@davidlange6
Copy link
Contributor

+1

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

5 participants