Commit 16b1efbc authored by Philipp Oleynik's avatar Philipp Oleynik
Browse files

Core threshold set/get added

parent 4e1702eb
......@@ -122,7 +122,7 @@ class Sixs:
self.core_cal_offset_low = 169.3 # TODO: It is a magic number. Fitted only, not verified.
self.side_threshold = 0.035 # TODO: It is a magic number.
self.core_threshold = 0.520 # in MeV TODO: Another magic number. Chosen as an initial value.
self.core_threshold = 0.520 # in MeV TODO: Another magic number. Chosen as an initial value. 0.52, 0.48
self.radiation_area = 5 * 5 * 4 * const.pi # radius 5 cm sphere area in cm2
self.kbirks = 0.68E-3
......@@ -147,6 +147,20 @@ class Sixs:
self.basepath = "/home/pholey/Geant4/"
self.datapath = "/home/pholey/SIXS_Data/bc_mpo_sixs/data_calibrated/"
def set_core_threshold(self, new_core_threshold):
self.core_threshold = new_core_threshold
return
def set_radiation_area(self, new_area):
self.radiation_area = new_area
return
def get_radiation_area(self):
return self.radiation_area
def get_core_threshold(self):
return self.core_threshold
def get_basepath(self):
return self.basepath
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment