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
Hcal DD Rec and Sim Constants Cleanup #10214
Hcal DD Rec and Sim Constants Cleanup #10214
Conversation
ianna
commented
Jul 15, 2015
- Pick up vectors directly from HcalParameters record
@bsunanda - Please, check this. I've removed a few locally cached vectors and replaced them with directly accessed from HcalParameters record. Thanks. |
A new Pull Request was created by @ianna (Ianna Osborne) for CMSSW_7_6_X. Hcal DD Rec and Sim Constants Cleanup It involves the following packages: Geometry/HcalCommonData @cmsbuild, @civanch, @Dr15Jones, @ianna, @mdhildreth can you please review it and eventually sign? Thanks. |
std::vector<int> iEtaMin, iEtaMax; // Minimum and maximum eta | ||
std::vector<int> maxDepth; // Maximum depth in HB/HE/HF/HO | ||
int nEta; // Number of bins in eta for HB and HE | ||
std::vector<int> phiGroup; // Eta Grouping | ||
std::vector<double> phibin; // Phi step for all eta bins (HB, HE, HO) |
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.
@bsunanda - would it make sense to add the remaining vectors which are calculated at initialisation of this class to HcalParameters? The same for Sim part?
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.
I dont know which could be persistent and which could be transient variables. This depends on the analysis if you could make some computation at the beginning and use them later on. At this stage I suggest please do not change the payload and whatever can be calculated may be there at initialization.
From: Ianna Osborne [notifications@github.com]
Sent: 15 July 2015 16:50
To: cms-sw/cmssw
Cc: Sunanda Banerjee
Subject: Re: [cmssw] Hcal DD Rec and Sim Constants Cleanup (#10214)
In Geometry/HcalCommonData/interface/HcalDDDRecConstants.hhttps://github.com//pull/10214#discussion_r34686162:
std::vector ietaMap; // Map Sim level ieta to Rec level ieta
- std::vector iEtaMin, iEtaMax; // Minimum and maximum eta
- std::vector maxDepth; // Maximum depth in HB/HE/HF/HO
- int nEta; // Number of bins in eta for HB and HE
- std::vector phiGroup; // Eta Grouping
std::vector phibin; // Phi step for all eta bins (HB, HE, HO)
@bsunandahttps://github.com/bsunanda - would it make sense to add the remaining vectors which are calculated at initialisation of this class to HcalParameters? The same for Sim part?
—
Reply to this email directly or view it on GitHubhttps://github.com//pull/10214/files#r34686162.
@cmsbuild please test |
+1 |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs or unless it breaks tests. This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_6_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @Degano, @smuzaffar |
+1 |
Hcal DD Rec and Sim Constants Cleanup
Dear Yana I am reverting back some of the changes and keeping most of the ones which are surely improvements. I shall commit the changes sometime today and please see that they get integrated quickly enough. I am running out of time for pre2. I want all geometry related stuff to go in by pre2. Best regards Sunanda From: Ianna Osborne [notifications@github.com] +1 — |