Skip to content

Commit

Permalink
Comment unused parameter to avoid compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
paolafer committed Dec 1, 2023
1 parent cf8de0e commit c15230b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion source/materials/OpticalMaterialProperties.cc
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ namespace opticalprops {

/// Gaseous xenon ///
G4MaterialPropertiesTable* GXe(G4double pressure,
G4double temperature,
G4double /*temperature*/,
G4int sc_yield,
G4double e_lifetime)
{
Expand Down
10 changes: 5 additions & 5 deletions source/materials/OpticalMaterialProperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace opticalprops {
G4MaterialPropertiesTable* FusedSilica();

G4MaterialPropertiesTable* FakeFusedSilica(G4double transparency = .9,
G4double thickness = 1. * mm);
G4double thickness = 1. * mm);

G4MaterialPropertiesTable* Epoxy();

Expand All @@ -42,12 +42,12 @@ namespace opticalprops {
G4MaterialPropertiesTable* OptCoupler();

G4MaterialPropertiesTable* GAr(G4double sc_yield,
G4double e_lifetime=1000.*ms);
G4double e_lifetime=1000.*ms);

G4MaterialPropertiesTable* GXe(G4double pressure=1.*bar,
G4double temperature=STP_Temperature,
G4int sc_yield=25510/MeV,
G4double e_lifetime=1000.*ms);
G4double temperature=STP_Temperature,
G4int sc_yield=25510/MeV,
G4double e_lifetime=1000.*ms);

G4MaterialPropertiesTable* LXe();

Expand Down

0 comments on commit c15230b

Please sign in to comment.