For some functions of ./DataPrep an option to limit the running only over a fraction of the events is implemented use -L $NEVTSANA if need be.
Simple HGCROC waveform display
The HGCROC waveforms in our standard output per layer if at all are only displayed as a function of the sample number they have been taken with. However, for instance to further develop it can be very useful to have the waveforms as a function of time in addition.
In order to that either you need calibrated output including the TOA phase corrections. You can run it on a single calibrated file as follows:
The most of the options you should have seen before in other steps and they work in the same way. The key option triggering the waveform plotting is -w which doesn't need any further argument. In this particular case no tree-output file will be generated and the histo output file will be named: $OUTPUTFILENAME_hists.root.
Once more most of the histograming is handle by our TileSpectra-class generating all plots for all tiles for two different cases (a) all events/tiles & (b) "triggered" tiles, which in this case means for that specific tile and event a TOA > 0 has to have been registered. The primary routine for this can be found in:
bool Analyses::VisualizeWaveform(void) in Analyses.cc.