|
|
SATAN Help
Dynamic analysis and live display Dynamically created analyzers may be filled with list-mode data: 1. Insert the macro DYNANAL in your analysis program. (The macro DYNANAL is necessary to enable the dynamic analysis. It must appear directly after EVENT, the GOOREAD, or the START macros, respectively.) 2. Create a dynamic analyzer with the command AGEN (Large bin sizes do not affect the live display.) 3. Define the data to be accumulated with the command ANAL (Data may be list-mode event data, values accumulated in resident analyzers or the current list-mode event number. The available list-mode event data are listed by the command ELIST. The available analyzers are listed by the command AATT *. The currently defined dynamic analysis may be viewed by ANAL / LIST.) (4. If a live display is required: Enter {GDISP, GPLOT, GOVER} / LIVE. (Live display is supported for resident and dynamic 2-dimensional analyzers.) 5. Read the list-mode data with the command LINPUT (All analyzers, either resident or dynamic, are accumulated according to the macro ANAL or the command ANAL, also when their live display is active.) If you want to work with dynamic analyzers only, a minimum analysis program is required for defining the list-mode event data to be read. The following example shows a very simple analysis program for reading list-mode data: |%PROCESS MACRO LIMITS(EXTNAME(31)) LANGLVL(SAA2) MARGINS(1,100); |%INCLUDE '\FRSTOOLS\TRI\SATAN\$MACROS.PLI'; |$LISTPROC; /* begin of procedure */ | ANTRY; /* begin of analysis part */ | EVENT(I_MUSIC(4),TOF,BRHO) FORMAT(SATAN) TYPE(FIXED); | /* give access to list-mode data */ | DYNANAL; /* activate dynamic analysis */ | ENDEVT; /* end of event loop */ | ENDANL; /* end of procedure */ |