public bool SetBackgroundSession(Session bkg) { // Set background counts for this session and adjust for livetime if (bkg == null) { Background = null; return(true); } if (IsEmpty || !IsLoaded || bkg.IsEmpty || !bkg.IsLoaded) { return(false); } Background = bkg.GetAdjustedCounts(Livetime); return(true); }
public bool SetBackground(Session bkg) { // Set background counts for this session and adjust for livetime if (bkg == null) { Background = null; return true; } if (IsEmpty || !IsLoaded) return false; Background = bkg.GetAdjustedCounts(Livetime); return true; }