AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  AIDA  ELOG logo
Message ID: 99     Entry time: Mon May 4 12:10:35 2015
Author: AE 
Subject: online monitor and data transfer 

Online monitor program for AIDA is in  /homes/npg/AIDAonline

The program is now running in Desktop#4 of aidas1, with mode to forward data to BRIKEN PC enabled (if more than one instance forwarding data are running, the code could get stalled).

The current code identifies implant and decays candidates by conditions on hit multiplicity, energy of n-side vs p-side, and cluster size. These are noted with the implant-flag and decay_flag variables, which are transmitted in the data buffer to the BRIKEN PC. If the flags are greater than one these are candidated for implants or decays at different DSSDs (valid codes, 1, 2, 3, 11, 12, 13; for now the program looks for implants in DSSD #2 and #3, and decays in all 3 DSSDs).

A few sample histograms from analyzing run R53_20 are attached

 

+++++++++++++++ HOW TO +++++++++++++++++++++++++++++++++++++++++++++

To start it type AIDA-online.exe from that directory:

aidas1> ./AIDA-online.exe
AIDA be like: in da F11!!
 declaring my class objects
I'm here
 and here...
... source ...
... unpacker ...
... calibrator ...
... analysis ...
 initializing things
-  DataSource: attaching online to shared memory area with ID= 0.
dataSpy Shared buffer area 0 (/SHM_110205) located at 0xca9f9000
dataSpy Current age 26182952 index 40
+  DataSource attached online  **************

Setting Transfer Block Size 65536
Setting Transfer Mode 3
TCP transfer library version 4.0T
2: TCP socket send buffer was 16384 - now 249856
2: TCP socket receive buffer was 87380 - now 249856
2: TCP socket created OK - now connecting to 10.32.6.54 port 10310
2: Connected to 10.32.6.54 port 10310
+  DataSource.cpp:: initialized data trasfer protocols  **************

 Calibrator.cpp:: LoadParameters() reached end of parameter file. Loaded new value for 202 parameters.
     InitAnalysis(): initialize histograms for evend clustering
db    Analysis.cpp: Initialized histograms and canvas for this step
 *** ANALYSIS: TIME WINDOW=  2000
almost in looop
before looop



Once it's runnig, one can reach a menu by typing 'space' (or any keyboard hit) in the terminal, and the following menu appears (note: select 1 to update histograms and dsiplay data at begining of run):

online monitor is paused;
press 0 <Enter> to stop, 1 <Enter> to update hitograms, 2 <Enter> to clear histograms;
1
You chose restart
monitor restarted, press <Space> to pause;
  Analysis::UpdateHistograms()... updating


online monitor is paused;
press 0 <Enter> to stop, 1 <Enter> to update hitograms, 2 <Enter> to clear histograms;
2
You chose clear
monitor restarted, press <Space> to pause;
        Analysis::ResetHistograms(): all histograms have been reset...


 

Attachment 1: R53_implant_E.png  50 kB  | Hide | Hide all
R53_implant_E.png
Attachment 2: R53_implant_XY.png  37 kB  | Hide | Hide all
R53_implant_XY.png
Attachment 3: R53_decat_E.png  102 kB  | Hide | Hide all
R53_decat_E.png
ELOG V3.1.4-unknown