OMSim
Geant4 for IceCube optical module studies
|
Namespace containing functions for processing files with scintillation properties.
Functions | |
void | process (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4MaterialPropertiesTable *p_MPT) |
Process scintillation properties and add them to the material properties table. | |
void | extractSpectrum (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4MaterialPropertiesTable *p_MPT) |
Extracts the scintillation spectrum from the data file and adds it to the material properties table. | |
void | getLifeTimeTemperatureRange (const boost::property_tree::ptree &p_jsonTree, double &p_minTemperature, double &p_maxTemperature) |
Retrieves the range of temperatures available for scintillation lifetimes. | |
std::pair< std::vector< G4double >, std::vector< G4double > > | extractLifeTimesForTemperature (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4String p_temperature) |
Extracts lifetimes and amplitudes for a given temperature from the data. | |
void | weightLifeTimesAmplitudes (std::vector< G4double > &p_amplitude, double p_T1, double p_T2) |
Adjusts amplitudes of lifetimes based on distance to investigated temperature. | |
void | extractLifeTimes (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4MaterialPropertiesTable *p_MPT, G4String p_temperature) |
Extracts the scintillation lifetimes from the file and weights them for a specific temperature. | |
void | extractYield (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4MaterialPropertiesTable *p_MPT, G4String p_temperature, G4String p_yieldPropertyName, G4String p_argKey, G4String p_treeKeyTemperature, G4String p_treeKeyYield) |
Extract the yield from json tree. | |
void | extractYieldAlpha (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4MaterialPropertiesTable *p_MPT, G4String p_temperature) |
Extracts and interpolates the alpha particle scintillation yield for a given temperature. | |
void | extractYieldElectron (ParameterTable *p_dataFile, const boost::property_tree::ptree &p_jsonTree, G4MaterialPropertiesTable *p_MPT, G4String p_temperature) |
Extracts and interpolates the electron scintillation yield for a given temperature. Uses the alpha yield as fallback if electron yield is not given. | |
|
private |
p_dataFile | Pointer to the ParameterTable containing file data. |
p_jsonTree | The JSON property tree containing lifetime data. |
p_MPT | Pointer to the G4MaterialPropertiesTable to be modified. |
pTemperature | The temperature for which to extract lifetimes. |
|
private |
p_dataFile | Pointer to the ParameterTable containing file data. |
p_jsonTree | The JSON property tree containing scintillation data. |
p_temperature | The temperature for which to extract lifetimes. |
|
private |
p_dataFile | Pointer to the ParameterTable containing file data. |
p_jsonTree | The JSON property tree containing scintillation data. |
p_MPT | Pointer to the G4MaterialPropertiesTable to be modified. |
|
private |
The data is the yield at different temperatures and is interpolated with a TGraph to the investigated temperature. If a user argument with a yield, it will overwrite the extracted data.
p_dataFile | Pointer to the ParameterTable containing file data. |
p_jsonTree | The JSON property tree containing yield data. |
p_MPT | Pointer to the G4MaterialPropertiesTable to be modified. |
p_temperature | Temperature for which the yield is interpolated. |
p_yieldPropertyName | Name of the yield property (Geant4 internal). |
p_argKey | Command arguments key. |
p_treeKeyTemperature | Key to access temperature array in the tree. |
p_treeKeyYield | Key to access yield array in the tree. |
|
private |
p_dataFile | Pointer to the ParameterTable containing file data. |
p_jsonTree | The JSON property tree containing yield data. |
p_MPT | Pointer to the G4MaterialPropertiesTable to be modified. |
p_temperature | The temperature for which to extract yield. |
|
private |
p_dataFile | Pointer to the ParameterTable containing file data. |
p_jsonTree | The JSON property tree containing yield data. |
p_MPT | Pointer to the G4MaterialPropertiesTable to be modified. |
p_temperature | The temperature for which to extract yield. |
|
private |
p_jsonTree | The JSON property tree containing scintillation data. |
p_minTemperature | Reference variable to receive the minimum temperature value. |
p_maxTemperature | Reference variable to receive the maximum temperature value. |
|
private |
This function extracts scintillation properties from the provided data file and sets up the material properties for scintillation simulation.
p_dataFile | Pointer to the ParameterTable containing file data. |
p_jsonTree | The JSON property tree containing scintillation data. |
p_MPT | Pointer to the G4MaterialPropertiesTable to be modified. |
|
private |
p_amplitude | Reference to the vector of amplitudes to be adjusted. |
p_T1 | Investigated temperature. |
p_T2 | Actual temperature from the data. |