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 basic_detector.gdml based on original raindrop geometry #88

Merged
merged 4 commits into from
Jan 10, 2025

Conversation

plexoos
Copy link
Member

@plexoos plexoos commented Jan 10, 2025

The key definition for the optical surface properties of the container walls is provided in the following line:

<opticalsurface finish="polished" model="glisur" name="medium_container_bs0x560299397a10" type="dielectric_metal" value="1">

https://github.com/Geant4/geant4/blob/32390e802bd84a8b85ac02a90a3d31cf205dd5b7/source/materials/include/G4SurfaceProperty.hh#L58-L68

enum G4SurfaceType
{
  dielectric_metal,       // dielectric-metal interface
  dielectric_dielectric,  // dielectric-dielectric interface
  dielectric_LUT,         // dielectric-Look-Up-Table interface
  dielectric_LUTDAVIS,    // dielectric-Look-Up-Table DAVIS interface
  dielectric_dichroic,    // dichroic filter interface
  firsov,                 // for Firsov Process
  x_ray,                  // for x-ray mirror process
  coated                 // coated_dielectric-dielectric interface
};

https://github.com/Geant4/geant4/blob/32390e802bd84a8b85ac02a90a3d31cf205dd5b7/source/materials/include/G4OpticalSurface.hh#L52-L60

enum G4OpticalSurfaceFinish
{
  polished,              // smooth perfectly polished surface
  polishedfrontpainted,  // smooth top-layer (front) paint
  polishedbackpainted,   // same is 'polished' but with a back-paint


  ground,              // rough surface
  groundfrontpainted,  // rough top-layer (front) paint
  groundbackpainted,   // same as 'ground' but with a back-paint

https://github.com/Geant4/geant4/blob/32390e802bd84a8b85ac02a90a3d31cf205dd5b7/source/materials/include/G4OpticalSurface.hh#L106-L113

enum G4OpticalSurfaceModel
{
  glisur,   // original GEANT3 model
  unified,  // UNIFIED model
  LUT,      // Look-Up-Table model (LBNL model)
  DAVIS,    // DAVIS model
  dichroic  // dichroic filter
};

@plexoos
Copy link
Member Author

plexoos commented Jan 10, 2025

Consider various roughness: 0.9, 0.6, 0.3, and 0

Screenshot 2025-01-10 at 11 33 21 AM

Screenshot 2025-01-10 at 11 32 04 AM

Screenshot 2025-01-10 at 11 32 30 AM

Screenshot 2025-01-10 at 11 32 55 AM

@plexoos
Copy link
Member Author

plexoos commented Jan 10, 2025

dielectric_dielectric

Screenshot 2025-01-10 at 11 35 48 AM

dielectric_metal (reflectivity 0.5 -> 0.99)

Screenshot 2025-01-10 at 11 43 47 AM

dielectric_metal (reflectivity 0.99, roughness=0.6)

Screenshot 2025-01-10 at 11 44 18 AM

@plexoos
Copy link
Member Author

plexoos commented Jan 10, 2025

Next tests:

  • add reflective surfaces of various shapes
  • add a (small) detector volume to register hits with both G4 and GPU simulations

cc @ggalgoczi

@plexoos plexoos merged commit 5f13fe8 into main Jan 10, 2025
2 checks passed
@plexoos plexoos deleted the basic-geom branch January 10, 2025 17:58
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.

1 participant