GET library
|
Functions | |
int | GETRunMean (GETSystem &get, const string runfile, u_int nmax) |
int | GETRunRMS (GETSystem &get, const string runfile, u_int nmax, bool same) |
Inline code file for functions related to the averaging of runs events.
|
inline |
Function reading a run file, and summing signals from all events in order to compute the average, that is stored in the output samples of the GET system channels. The function returns the number of events read.
get | GET system object |
runfile | run file pattern |
nmax | maximum number of events to read (0 for all) |
References GETSystemMean().
|
inline |
Function reading a run file, and computing the standard deviation from all events compared to the (average) samples initially stored in the output samples of the GET system channels. The resulting RMS samples are then stored in the output samples of the GET system channels, replacing the average samples. The function returns the number of events read,.
get | GET system object |
runfile | run file pattern |
nmax | maximum number of events to read (0 for all) |
same | whether the RMS is computed from same data than the average (then the sum is divided by N-1 instead of N) |
References GETSystemStdDeviation().