-
Notifications
You must be signed in to change notification settings - Fork 5
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
Normal incidence #112
base: main
Are you sure you want to change the base?
Normal incidence #112
Conversation
I had it in my local copy, and pushed and old commit yesterday before your suggestions. Co-authored-by: Wouter Deconinck <[email protected]>
Accepted. Co-authored-by: Christopher Dilks <[email protected]>
src/test_pixel_gap_cuts.cpp
Outdated
@@ -72,6 +74,12 @@ int main(int argc, char** argv) { | |||
|
|||
auto cellID = sim_hit.getCellID(); | |||
auto pos = sim_hit.getPosition(); | |||
auto mom = sim_hit.getMomentum(); | |||
TVector3 p; p.SetX(mom.x); p.SetY(mom.y); p.SetZ(mom.z); |
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.
TVector3 p; p.SetX(mom.x); p.SetY(mom.y); p.SetZ(mom.z); | |
TVector3 p(mom.x, mom.y, mom.z); |
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.
The one you suggested was what I tried for the first time. The compilation failed and it complained that this method not found (LoL) and so I had to move to SetX(). This morning I have updated my eic-shell
, I will try once more.
a3396bc
to
cd0356f
Compare
With eic/EICrecon#1068 merged, is this ready? |
Briefly, what does this PR introduce?
The PR tries to estimate the incidence angle of the impinging MC photons.
For the testing purpose I am just using the existic test_pixel_gap_cuts.cpp; will move to a total new code in case the procedure is right.
What kind of change does this PR introduce?
Please check if this PR fulfills the following:
@c-dilks is aware of the studies and he has been asked to kindly review the changes made in EICRecon to get the sensor normalZ.
Does this PR introduce breaking changes? What changes might users need to make to their code?
Does this PR change default behavior?