Add a running mode (probably indicated by some sort of flag to the EcalDigiProducer) that generates noise hits on all empty channels according to the pedestal/noise settings.
The NoiseGenerator uses some fancy math to save time. Basically, it randomly samples amplitudes of pure noise hits that are only above the readout threshold (i.e. sometimes there will be zero pure noise hits). In some studies, we don't want this complexity and want to see how the system behaves without the assumption that the chip correctly suppresses noise hits. This will not be the default running mode because it will significantly slow down our emulation and increase the size of our event bus.
Essentially, this emulation mode will go through all the channels in the ECal (need to figure out how to do that) and put a digi in each channel that doesn't have an actual sim hit. This digi will just be however many samples (currently 10) of pedestal + noiseRMS.
Add a running mode (probably indicated by some sort of flag to the EcalDigiProducer) that generates noise hits on all empty channels according to the pedestal/noise settings.
The NoiseGenerator uses some fancy math to save time. Basically, it randomly samples amplitudes of pure noise hits that are only above the readout threshold (i.e. sometimes there will be zero pure noise hits). In some studies, we don't want this complexity and want to see how the system behaves without the assumption that the chip correctly suppresses noise hits. This will not be the default running mode because it will significantly slow down our emulation and increase the size of our event bus.
Essentially, this emulation mode will go through all the channels in the ECal (need to figure out how to do that) and put a digi in each channel that doesn't have an actual sim hit. This digi will just be however many samples (currently 10) of pedestal + noiseRMS.