Since the scripted readout framework is fundamentally an SBS readout framework with a special event segment many other special applications are possible:
You can add several scripted readout segments. When you do this
you will want each segment to read a different configuration script.
This is done by deriving a class from
CScriptedSegement
and overriding the
getConfigurationFile
method to return
the full path to the configuration file you want read.
You should use the full path because in general you can't count
on the current working directory being something you now.
You can do the same thing with scripted scalers.
You can freely mix 'normal' event segments with scripted segments just by creating hard coded event segments and then registering them along with any scripted segments you have. Similarly you can mix coded and scripted scaler readouts.