public CoincidenceEG(DetectionSystem parent, string newName, uint id) : base(parent, newName, id) { eventGeneratorType = "Coincidence"; coincidenceType = CoincidenceType.A_THEN_B; timingType = TimingType.START_TO_END; eventGeneratorA = null; eventGeneratorB = null; window = TimeSpan.FromTicks(0); minDifference = TimeSpan.FromTicks(0); }
public CoincidenceEG(DetectionSystem parent, string newName, CoincidenceType newCoincidenceType, TimingType newTimingType, uint id) : base(parent, newName, id) { eventGeneratorType = "Coincidence"; coincidenceType = newCoincidenceType; timingType = newTimingType; eventGeneratorA = null; eventGeneratorB = null; window = TimeSpan.FromTicks(0); minDifference = TimeSpan.FromTicks(0); }
public void SetCoincidenceType(CoincidenceType newCoincidenceType) { coincidenceType = newCoincidenceType; }