Dear experts,
I am using the AddWhiteNoise() function to simulate the noise of the gaseous detector. But There’s something I don’t understand about this function. Does this function need add to the the induced current signal ? Then, What’s the effection of the parameter(q0) ?
Code:
signal View->SetSensor(sensor);
sensor->SetTransferFunction(transfer);
const bool poisson = true;
double enc = 25;
double q0 = 25.;
sensor->AddWhiteNoise(enc,poisson,q0);
constexpr bool fft = true;
sensor->ConvoluteSignals(fft);
signalView->SetCanvas(c1);
signalView->SetLabelY("signal [mv]");
signalView->PlotSignal("readout");