fact-project / fact-tools

The fact-tools are an extension to the streams framework to analyse the data of the First G-APD Cherenkov Telescope.
http://sfb876.tu-dortmund.de/FACT/
GNU General Public License v3.0
6 stars 1 forks source link

Sample pedestal noise #364

Closed tarrox closed 5 years ago

tarrox commented 6 years ago

Adds the SamplePedestalEvent processor to load a given pedestal event in as noise.

Also added two xml files.

jebuss commented 6 years ago

I added a recursive call of the function that is sampling the pedestal event. This way we should sample a new event in case reading the first fails. see SamplePedestalEvent.samplePedestalEventByBin

tarrox commented 6 years ago

Added more comments and changed the multiple try code a little bit. Now it is also adding the amount of tries the sampling processor took for each event and writes them to the resulting file. Generally we want the average of this column to be as close to 0 (only one try for each event, if its not, stuff needs fixing badly).

kbruegge commented 5 years ago

Looks very smakelijk.