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
Update me0Digi validation #18394
Update me0Digi validation #18394
Conversation
A new Pull Request was created by @calabria (Cesare Calabria) for master. It involves the following packages: Validation/MuonME0Validation @cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
double pos_helper = 1.0; | ||
for(int j=0; j<7; ++j) {neutral += neuBkg[j]*pos_helper; pos_helper *= pos;} | ||
pos_helper = 1.0; | ||
for(int j=0; j<7; ++j) {charged += eleBkg[j]*pos_helper; pos_helper *= pos;} |
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.
Couldn't this loop be combined with the previous loop?
please test |
The tests are being triggered in jenkins. |
Pull request #18394 was updated. @cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please check and sign again. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison job queued. |
@@ -119,7 +119,7 @@ TH1F* MuonME0DigisHarvestor::ComputeBKG(TH1F* hist1, TH1F* hist2, std::string na | |||
} | |||
|
|||
int nEvts = hist2->GetEntries(); | |||
float scale = 6*2*nEvts*9*25e-9; | |||
float scale = 6*2*nEvts*3*25e-9; |
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.
Hi @calabria - please add a comment to explain this set of magic numbers
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.
6 layers, 2 endcap regions, we are saving hits only from 3 BXs (-1,0,+1) of 25 ns (before it was 9)
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 meant in the code:) Thanks for adding it
[but can "3" be deduced from some other source of information?]
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.
at the moment this information can be taken from here https://github.com/cms-sw/cmssw/blob/master/SimMuon/GEMDigitizer/python/muonME0ReDigis_cfi.py#L11 , when we move to the realistic digitizer from similar lines
if there are no further comments can we integrate this PR? Thanks. |
it is need of adding a comment to the code to explain the line discussed above |
Pull request #18394 was updated. @cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please check and sign again. |
+1 |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @Muzaffar, @davidlange6, @smuzaffar |
-1 Tested at: fe19ab2 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: RelVals
When I ran the RelVals I found an error in the following worklfows: runTheMatrix-results/4.53_RunPhoton2012B+RunPhoton2012B+HLTD+RECODR1reHLT+HARVESTDR1reHLT/step2_RunPhoton2012B+RunPhoton2012B+HLTD+RECODR1reHLT+HARVESTDR1reHLT.log |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
Adding plots for the expected background rates (given the results from FLUKAxGEANT). Update the binning to match the me0 8 eta-partition geometry.
@kpedro88