1 # /** @example diana_tutorial_pulseshape.cfg
3 # @author Marco Vignati */
5 # Sequence to compute a pulse shape parameter to reject bad
6 # pulses. It includes the module MTutorialPulseShapeSimple,
7 # which uses the average pulse of each channel as reference
8 # shape. The average pulses are read from the file produced by MAveragePulseSimple (see diana_tutorial_averagepulse.cfg).
10 # shell> diana -C cfg/tutorial/diana_tutorial_pulseshape.cfg
12 sequence DianaTutorialPulseShape
14 # Reads a root file containing raw events. The file
15 # read is produced by diana_tutorial_averagepulse.cfg
19 InputFile = data/AveragePulses.list
20 EventNumberPrintStep = 10000
23 # Load QRunData and QDetChannelCollection from the file read by the reader,
24 # and save it to the output file written by the writer.
29 Output = CurrentWriter
32 # Filter events using raw event information. In this case
33 # events marked as "signal" or "heater" by the DAQ are selected, and
34 # subsequent modules (just one in this sequence) are
35 # executed only on these events.
36 # The Logic=CASE options tells to ignore the result of previous
37 # filters. Since there are no filters before this filter,
38 # the Logic option is useless in this case.
46 KeepThermometers = false
50 # Apply module MTutorialPulseShapeSimple to events
51 # which passes the filter above. Average pulses needed
52 # by this module have been produced by MTutorialAveragePulse
53 # (config file diana_tutorial_averagepulse.cfg) and saved into
54 # the file avg/averagepulse.root
55 module TutorialPulseShape
58 AveragePulseInput = avg/averagepulse.root
61 # Write events to file with file prefix "PulseShape"
65 Description = data with pulse shape estimation
67 OutputFilesList = SyncWithRun
68 OutputFilePrefix = PulseShape
70 AliasFileName = ${DIANA_INSTALL}/cfg/aliases.txt