K100 data analysis
Read raw traces and filter files in CAP
There are mexfunctions in CAP to read the raw traces and filter file information. To use them
- Go to
cdmstoolsdirectory and update the content ofmex_codeby executing the commandcvs up -d - Start
matlaband go the directorycdmstools/mex_code/BatToolsthen runmakeBatTools - If the compiling went without problems, add
cdmstools/mex_code/BatToolsto matlab path. - The functions
getRawDataandgetFilterDataare ready to use. Usehelpto find more info
% examples events = getRawData('07111212_2047_F0122',1:10); events = getRawData('07111212_2047_F0122',1:10,'struct'); data = getFilterData('umn_Filter_07111212_2047.root','struct');