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
HBHE: add M2-chi2 into the HBHErecHit data formats #15916
HBHE: add M2-chi2 into the HBHErecHit data formats #15916
Conversation
A new Pull Request was created by @mariadalfonso for CMSSW_8_1_X. It involves the following packages: DataFormats/HcalRecHit @cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
@mariadalfonso |
@cmsbuild please test |
The tests are being triggered in jenkins. |
@slava77 |
@mariadalfonso @igv4321 Also, as more values are added, to the event content, the cost on disk increases, even if it is with a shorter life time. |
@@ -22,6 +22,9 @@ class HBHERecHit : public CaloRecHit { | |||
/// get the id | |||
inline HcalDetId id() const { return HcalDetId(detid()); } | |||
|
|||
inline void setChiSquared(const float chi2) {chiSquared_ = chi2;} | |||
inline float getChiSquared() const {return chiSquared_;} |
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.
please change to chiSquared
to preserve the style with all other access methods, which do not have a "get" prefix.
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.
... better yet, use chi2 in the method names to match what we have in track and ecal hit classes.
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.
@slava77 renamed getChiSquared into chi2
a2c6139
to
be23969
Compare
Pull request #15916 was updated. @cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please check and sign again. |
@slava77 The ndof is not needed at the moment. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
|
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar |
+1 |
Added the Method 2-chisquare into the HBHERecHit data formats.
@igv4321