00001 #include "ChanFitSettings.hh"
00002
00003 ChanFitSettings::ChanFitSettings(const std::string& chan,
00004 const std::string helptext) :
00005 ParameterList(chan, helptext), _chan(chan)
00006 {
00007 RegisterParameter("constant_start_value", constant_start_value = -9999,
00008 "Fitting start value for total integral");
00009 RegisterParameter("constant_min_bound", constant_min_bound = 0,
00010 "Fitting minimum bound for total integral");
00011 RegisterParameter("constant_max_bound", constant_max_bound = 6e6,
00012 "Fitting maximum bound for total integral");
00013
00014 RegisterParameter("lambda_start_value", lambda_start_value = 0.05,
00015 "Fitting start value for occupancy");
00016 RegisterParameter("lambda_min_bound", lambda_min_bound = 0,
00017 "Fitting minimum bound for occupancy");
00018 RegisterParameter("lambda_max_bound", lambda_max_bound = 6,
00019 "Fitting maximum bound for occupancy");
00020
00021 RegisterParameter("mean_start_value", mean_start_value = 100,
00022 "Fitting start value for gaussian center");
00023 RegisterParameter("mean_min_bound", mean_min_bound = 0,
00024 "Fitting minimum bound for gaussian center");
00025 RegisterParameter("mean_max_bound", mean_max_bound = 300,
00026 "Fitting maximum bound for gaussian center");
00027
00028 RegisterParameter("sigma_start_value", sigma_start_value = 27,
00029 "Fitting start value for gaussian width");
00030 RegisterParameter("sigma_min_bound", sigma_min_bound = 5,
00031 "Fitting minimum bound for gaussian width");
00032 RegisterParameter("sigma_max_bound", sigma_max_bound = 150,
00033 "Fitting maximum bound for gaussian width");
00034
00035 RegisterParameter("amp_E_start_value", amp_E_start_value = 50,
00036 "Fitting start value for exponential slope");
00037 RegisterParameter("amp_E_min_bound", amp_E_min_bound = 5,
00038 "Fitting minimum bound for exponential slope");
00039 RegisterParameter("amp_E_max_bound", amp_E_max_bound = 150,
00040 "Fitting maximum bound for exponential slope");
00041
00042 RegisterParameter("p_E_start_value", p_E_start_value = .2,
00043 "Fitting start value for exponential height");
00044 RegisterParameter("p_E_min_bound", p_E_min_bound = 0,
00045 "Fitting minimum bound for exponential height");
00046 RegisterParameter("p_E_max_bound", p_E_max_bound = 1,
00047 "Fitting maximum bound for exponential height");
00048
00049 RegisterParameter("shotnoise_start_value", shotnoise_start_value = 8,
00050 "Fitting start value for pedestal width");
00051 RegisterParameter("shotnoise_min_bound", shotnoise_min_bound = 0.1,
00052 "Fitting minimum bound for pedestal width");
00053 RegisterParameter("shotnoise_max_bound", shotnoise_max_bound = 70,
00054 "Fitting maximum bound for pedestal width");
00055
00056 RegisterParameter("pedmean_start_value", pedmean_start_value = 0,
00057 "Fitting start value for pedestal center");
00058 RegisterParameter("pedmean_min_bound", pedmean_min_bound = -10,
00059 "Fitting minimum bound for pedestal center");
00060 RegisterParameter("pedmean_max_bound", pedmean_max_bound = 10,
00061 "Fitting maximum bound for pedestal center");
00062
00063
00064 RegisterParameter("range_min", range_min = -30,
00065 "Fitting range: min");
00066 RegisterParameter("range_max", range_max = 300,
00067 "Fitting range: max");
00068
00069 RegisterParameter("pedrange_min", pedrange_min = -30,
00070 "Range for pedestal centering:min ");
00071 RegisterParameter("pedrange_max", pedrange_max = 15,
00072 "Range for pedestal centering:max ");
00073
00074 }
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088