retrieve the energy dependent attenuation of material . concode_field_sep String name concode_elem_sep double CTValue concode_elem_sep WeightedAtomicComposition comp concode_elem_sep long serialVersionUID concode_elem_sep double density concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep ArrayList<Double> getAbsorptionEdges concode_elem_sep Material clone concode_elem_sep String toString concode_elem_sep double getDensity concode_elem_sep double getCTValue concode_elem_sep void setDensity concode_elem_sep void setWeightedAtomicComposition concode_elem_sep WeightedAtomicComposition getWeightedAtomicComposition
double function ( double arg0 , AttenuationType arg1 , AttenuationRetrievalMode arg2 ) { if ( arg2 . equals ( AttenuationRetrievalMode . ONLINE_RETRIEVAL ) ) { return density * OnlineMassAttenuationDB . getMassAttenuationData ( comp , arg0 / 1000 , arg1 ) ; } else { return density * LocalMassAttenuationCalculator . getMassAttenuationData ( comp , arg0 / 1000 , arg1 ) ; } }