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

MDIReader: Added "photons" and "general" input flags #20

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

aciarma
Copy link
Contributor

@aciarma aciarma commented Dec 16, 2022

added the possibility to read photons coming from BDSIM for SR studies, and a "general" flag to read custom input text files for particles to be tracked in the detector.

@BrieucF
Copy link
Contributor

BrieucF commented Mar 30, 2023

Hi Andrea, what is the status of this PR?

@@ -21,7 +21,7 @@ GaudiAlgorithm(name, svcLoc),
declareProperty("GenParticles", m_genphandle, "Generated particles collection (output)");
declareProperty("CrossingAngle",xing,"Half the crossing angle beam in [rad]");
declareProperty("LongitudinalCut",cut_z,"the value for cut_z used in GP++ in [um]");
declareProperty("InputType",input_type,"string: guineapig, xtrack");
declareProperty("InputType",input_type,"string: guineapig, xtrack, photons, general");
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add here an explanation about what those input types correspond to? It is not immediately obvious to me, especially the two new additions.

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.

3 participants