Skip to content

feat(r3bgen): Added INCL-like vertex smearing and general Lorentz boost in CALIFATestGenerator#1337

Merged
jose-luis-rs merged 1 commit intoR3BRootGroup:devfrom
Mrunmoy-Jena:CALIFA
Apr 27, 2026
Merged

feat(r3bgen): Added INCL-like vertex smearing and general Lorentz boost in CALIFATestGenerator#1337
jose-luis-rs merged 1 commit intoR3BRootGroup:devfrom
Mrunmoy-Jena:CALIFA

Conversation

@Mrunmoy-Jena
Copy link
Copy Markdown
Contributor

@Mrunmoy-Jena Mrunmoy-Jena commented Apr 20, 2026

r3bgen : Modified the R3BCALIFATestGenerator class to make simulation of gamma emission more realistic

  • Add 3D vertex distribution (Gaussian in x,y and uniform in z)
  • Add a method to sample outgoing beam direction from a 2D Gaussian distribution (corresponding to angular divergence of outgoing fragment), so that photon theta is taken wrt to this outgoing fragment direction instead of the z axis; needed for accurate Doppler correction
  • A general Lorentz boost is now applied in the direction of the outgoing fragment unit vector

Copy link
Copy Markdown
Contributor

@jose-luis-rs jose-luis-rs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the minor changes required for approval

Comment thread r3bgen/R3BCALIFATestGenerator.cxx Outdated
Comment thread r3bgen/R3BCALIFATestGenerator.h Outdated
@Mrunmoy-Jena
Copy link
Copy Markdown
Contributor Author

Mrunmoy-Jena commented Apr 21, 2026

Thanks for pointing out, I have now restored the headers back to the original format.

@jose-luis-rs
Copy link
Copy Markdown
Contributor

@Mrunmoy-Jena, you may consider including the angular dispersion of the incoming beam, as it would also affect the CALIFA response

@Mrunmoy-Jena
Copy link
Copy Markdown
Contributor Author

@jose-luis-rs Thank you for the suggestion. In my opinion, the angular dispersion of incoming beam (which corresponds to then an x,y spread in vertex position) is accounted for already in a sense by introducing the vertex distribution. What is important for the CALIFA response function is to include an angular spread of the outgoing fragment and sample theta (of the gamma wrt to outgoing fragment) from it (instead of simply taking CALIFA cluster theta) which is then to be used for the proper Doppler correction.
I have modified the R3BCALIFATestGenerator class accordingly, and will update the pull request with the modified files if you agree to this.

@jose-luis-rs
Copy link
Copy Markdown
Contributor

At the entrance of the LH2 target, the beam is characterized by the mean values of its positions and angles, as well as by the corresponding spatial and angular spreads (dispersion). So your point is correct 👍

Please don't forget to apply the clang-format.

clang-formatting applied

clang-formatting fixed for R3BCALIFATestGenerator.cxx

Fixed headers back to original

Added angular spread of the outgoing fragment and sample theta from it for accurate Doppler correction

aaply clang-format
@Mrunmoy-Jena Mrunmoy-Jena changed the title feat(r3bgen): Added INCL-like vertex smearing in CALIFATestGenerator feat(r3bgen): Added INCL-like vertex smearing and general Lorentz boost in CALIFATestGenerator Apr 27, 2026
@Mrunmoy-Jena
Copy link
Copy Markdown
Contributor Author

Okay, now I updated it and ensured clang-format is applied. Thanks for the useful suggestions !

@jose-luis-rs jose-luis-rs merged commit 3f9ed9a into R3BRootGroup:dev Apr 27, 2026
25 checks passed
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

Successfully merging this pull request may close these issues.

2 participants