Closed tarrox closed 5 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
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).
Looks very smakelijk.
Adds the SamplePedestalEvent processor to load a given pedestal event in as noise.
Also added two xml files.
add_pedestal_noise_template.xml
adds the pedestal noise to mc events and saves them as xmlsexamples/pedestal_noise_mc_analysis.xml
analysis the created mc events like the normal analysis