Class EventBasedTallyTest

    • Constructor Detail

      • EventBasedTallyTest

        public EventBasedTallyTest()
    • Method Detail

      • testEventBasedTally

        public void testEventBasedTally()
        Test the event based tally.
      • testTallyEventProduction

        public void testTallyEventProduction()
        Test produced events by EventBasedTally.
      • testNoStorageAccumulator

        public void testNoStorageAccumulator()
        Test EventBasedTally with the NoStorageAccumulator.
      • testFullStorageAccumulator

        public void testFullStorageAccumulator()
        Test the Event based tally with the FullStorageAccumulator.
      • generateGaussianNoise

        double generateGaussianNoise​(double mu,
                                     double sigma,
                                     Random random)
        Generate normally distributed values. Derived from https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform
        Parameters:
        mu - double; mean
        sigma - double; standard deviation
        random - Random; entropy source
        Returns:
        double; one pseudo random value