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

Add Polished Aluminium material #195

Merged
merged 3 commits into from
Feb 27, 2023
Merged

Conversation

mariandbt
Copy link
Contributor

@mariandbt mariandbt commented Feb 16, 2023

This PR adds Polished Aluminum material to Optical Material Properties because, by placing an Aluminum disk at one end of the fibers, the number of photons collected by the sensor at the other end is higher. This way there's no need to work with 2 photosensors, one at each end of the fibers.

The values for the reflectance are taken from:
Polished Aluminum Reflectance vs Wavelength plot
DOI:10.4236/ampc.2015.511046

The values for the refractive index are taken from:
Polished Aluminum Refractive Index vs Energy plot

Move some code lines for better readability
@paolafer
Copy link
Contributor

paolafer commented Feb 21, 2023

I suggest that you write the references directly in the code, as done with other materials. This way, it is easier to retrieve them, when needed. Nevermind, I found it :-).

{
G4MaterialPropertiesTable* mpt = new G4MaterialPropertiesTable();

// REFLECTIVITY
Copy link
Contributor

@paolafer paolafer Feb 24, 2023

Choose a reason for hiding this comment

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

I would remove these commented lines.

Copy link
Contributor

@paolafer paolafer left a comment

Choose a reason for hiding this comment

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

A new material with its optical properties has been added. The code is well structured and documented, compiles and runs, therefore I approve it! Good job on your first contribution, @mariandbt!

@paolafer paolafer merged commit 2503c8d into next-exp:master Feb 27, 2023
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