... | @@ -92,6 +92,8 @@ There are two methods to read and process a file: |
... | @@ -92,6 +92,8 @@ There are two methods to read and process a file: |
|
* Use a more advanced processor configured with an algorithm
|
|
* Use a more advanced processor configured with an algorithm
|
|
|
|
|
|
An example of a simple reader application is provided by [SimpleReader.cpp](https://code.ill.fr/lst/lst-data-process-128/blob/master/src/lstdpp128/apps/common/SimpleReader.cpp).
|
|
An example of a simple reader application is provided by [SimpleReader.cpp](https://code.ill.fr/lst/lst-data-process-128/blob/master/src/lstdpp128/apps/common/SimpleReader.cpp).
|
|
|
|
A more complex example is given in [Plot.cpp]
|
|
|
|
(https://code.ill.fr/lst/lst-data-process-128/blob/master/src/lstdpp128/apps/gnuplot/Plot.cpp).
|
|
|
|
|
|
A more advanced strategy is to use a concept of algorithms used through arrays of events.
|
|
A more advanced strategy is to use a concept of algorithms used through arrays of events.
|
|
The advantage is that it is possible to read a block of events, sort them in time and process them.
|
|
The advantage is that it is possible to read a block of events, sort them in time and process them.
|
... | | ... | |