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

reachedEE logic #61

Closed
rovere opened this issue Aug 29, 2018 · 7 comments
Closed

reachedEE logic #61

rovere opened this issue Aug 29, 2018 · 7 comments

Comments

@rovere
Copy link
Contributor

rovere commented Aug 29, 2018

I'm not sure I can follow the logic of reachedEE in this code snippet. To my limited understanding and debugging, the reachedEE==1 case is never a valid one.
Also the hardcoded 160 and 25 are something we should avoid as much as possible.

@artlbv
Copy link
Member

artlbv commented Aug 29, 2018

If I remember correctly, @beaudett told me that reachedEE = 1 means that the electron hits the barrel. So it does not happen for HGCAL, true, but could still be useful.

@beaudett
Copy link
Contributor

beaudett commented Aug 29, 2018 via email

@rovere
Copy link
Contributor Author

rovere commented Aug 30, 2018

I see. Then, also in this case, I'd get rid (or customise) the hard-coded numbers and also add the reachedEE explanation in the Definitions.md.

@beaudett
Copy link
Contributor

beaudett commented Aug 30, 2018 via email

@rovere
Copy link
Contributor Author

rovere commented Aug 30, 2018

@beaudett Yes, I think. I was thinking if there's an easy way of deriving all those constants from the geometry itself since that would really cut the discussion, but I am not sure if it is possible in a generic enough way.
So, config values are definitely ok.

@beaudett
Copy link
Contributor

beaudett commented Sep 4, 2018 via email

@rovere
Copy link
Contributor Author

rovere commented Sep 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants