GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void AnalyseData ( TFile *  file = 0x0,
TFile *  file_tag = 0x0,
Bool_t  load_only = false 
)

This function shows how to do offline analysis using the watchers.

It reads nomad files using a producer, sent them to a builder (NOMADBuilder) which applies calibration and TS alignement Output data are a raw data frame having a different content depending if it is with or without coincidence built or not

KEY [ FS(ushort:2bytes) | TS(ulong64:8bytes)]
DATA [ uid(ushort:2bytes) | e(Float:4bytes) ] if no coincidences
DATA [Delta TS(Int:4bytes)] [ uid(ushort:2bytes) | e(Float:4bytes) ] if coincidences, Delta TS is a correction to the timestamp

Author
O.Stezowski

Definition at line 117 of file ill/OfflineWatchers.C.