OMSim
Geant4 for IceCube optical module studies
Loading...
Searching...
No Matches
IceProcessor Namespace Reference

Namespace containing functions for processing IceCube ice properties from file.

Functions

void process (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4MaterialPropertiesTable *p_MPT)
 Process IceCube ice properties and create corresponding materials.
 
G4double spiceTemperature (G4double p_depth)
 Calculate temperature of ice depending on the depth.
 
G4double spiceAbsorption (G4double p_lambda, const std::vector< G4double > &p_spicea400inv, const std::vector< G4double > &p_spiceDepth)
 Calculate absorption length of IceCube's ice for a specific wavelength.
 
G4double spiceRefraction (G4double p_lambda)
 Calculate refraction index of IceCube's ice for a specific wavelength.
 
G4double mieScattering (G4double p_lambda, const std::vector< G4double > &p_spicebe400inv)
 Calculate mie scattering length of IceCube's ice for a specific wavelength.
 

Function Documentation

◆ mieScattering()

G4double IceProcessor::mieScattering ( G4double  p_lambda,
const std::vector< G4double > &  p_spicebe400inv 
)
private
Parameters
p_lambdaWavelength in nm.
Returns
Mie scattering length in m.

◆ process()

void IceProcessor::process ( ParameterTable p_dataFile,
const boost::property_tree::ptree &  p_jsonTree,
G4MaterialPropertiesTable *  p_MPT 
)
private

This function extracts ice properties from the provided data, calculates various optical properties, and sets up the material properties for IceCube ice simulation.

Parameters
p_dataFilePointer to the ParameterTable containing file data.
p_jsonTreeThe JSON property tree containing ice data.
p_MPTPointer to the G4MaterialPropertiesTable to be modified.

◆ spiceAbsorption()

G4double IceProcessor::spiceAbsorption ( G4double  p_lambda,
const std::vector< G4double > &  p_spicea400inv,
const std::vector< G4double > &  p_spiceDepth 
)
private
Parameters
pLambdWavelength in nm.
Returns
Absorption length in m.

◆ spiceRefraction()

G4double IceProcessor::spiceRefraction ( G4double  p_lambda)
private
Parameters
pLambdWavelength in nm.
Returns
Refraction index.

◆ spiceTemperature()

G4double IceProcessor::spiceTemperature ( G4double  p_depth)
private

This function is needed for the calculation of scattering and absorption length of the ice.

Parameters
p_depthDepth in m from where we need the temperature.
Returns
Temperature in Kelvin.