AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  AIDA, Page 45 of 46  ELOG logo
ID Date Authordown Subject
  28   Fri Jan 30 15:27:35 2015 Alfredo Estrade[Analysis] 207Bi source (R61): check of monitor spectra
A first look at the data from the 207Bi source (run described in previous elog entry, ID 27)

The main conclusions are (see description of spectra further bellow):

- NNAIDA11 and NNAIDA13 were running stable, even though NNAIDA11 had one channel with very high rate. 
NNAIDA12 and 14 were running unstably with frequent instances of Pause/Resume. A possible explanation is 
their higher data rates (due to a bad channel and noise, respectively).

- I think using only a window in time will not be sufficient to identify electron signals in the data. 
This is a particular issue for the data of NNAIDA14, where there is a high noise and a energy threshold, 
or some more ingenious condition, is likely required.


Plots were generated with the script in /Home/aestrade/AIDA/analysis/loopAIDAsort.cpp

Only a fraction of the 207Bi data was processed (corresponding to file R62_2). 


+ Distribution of time-stamps

R61part_ts_dist_adc_hit.png: The spectra show the difference between the 
time-stamp of a given ADC hit (ts_i) and the time-stamp of subsequent ADC 
hits (ts_i+n):

	Delta ts(i+n,i) = ts_(i+n) - ts(i)

So the first plot, for Delta ts(i+1,i), is the difference between each ADC 
hit and the next ADC hit. The second plot is the ts difference between each 
ADC hit and the second to next ADC hit, and so on... 

The data mixes the spectra for all FEE cards and all ADC channels. One can 
still see a clear structure with a peak at low values of Delta ts, and then 
a second distribution up to Delta ts= 30*n usec. These is the time it takes 
to loop through all 16 channels of the ADC (2 usec/channel), so is likely 
the distribution generated by one channel is firing at a very high rate.

I'll make similar plots with conditions to mask out noisy channels and/or 
pulser events to look for a value of the coincidence time-window to use to 
reconstruct events.

+ Rates

R61part_rates.png: the spectra shows various rates (in Hz) as a function of 
run time and of channel. The plots on the top are the rate of ADC hits (for 
low energy range) of each FEE module, and one showing the rate of ADC hits 
for the high energy range in all modules combined. The bottom row shows rate 
per channel, and the rate of Information type hits.

some conclusions: NNAIDA11 and 13 show a flat rate, and as will be seen from other plots are very stable 
during the run. NNAIDA11 has a larger rate than 13, but the difference is mostly due to a very high-rate 
channel; the rate in most channels is consistent with a 100 Hz pulser for both.

NNAIDA12 and 14 show the largest rate that can peak at 35kHz, and looks quite unstable. These modules also 
have a choppy run of the DAQ (many Pause/Resume). NNAIDA11 actually has similar rate to NNAIDA12 and 14, 
but is still stable.

Both NNAIDA11 and 12 have one channel wiht very high rate compared to the 
rest (rather than unusually noisy channel, could it be one that is always 
above the threshold of the slow discriminator?).


+ ADC Rate with fine granularity

R61part_t1_hits_ts_adc.png: These spectra show the ADC hits (low range) vs time but with a higher binning 
of the data (1 ms/bin). The one channel with a very high rate in NNAIDA11 and 12 is seen in red. Also that 
the data readout from NNAIDA12 and 14 is frequently halted by Pause/Resume signals. 

R61part_t1_hits_ts_adc_zoom.png: The second file hast the same spectra but zoomed in a narrow time window, 
and one can see the hits from the pulser 10 ms appart (as vertial lines with hits in all channels for 2D 
spectra). In between the pulser signals, as hits in individual channels, are hits from the source or from 
noise. For NNAIDA14 this white noise was very high, so at the binning of 1ms/bin this spectra there are 
many channels with hits in each time bin. I think it will be difficult to identify electron events from 
such spectra using only a time window as requirement for coincidence. 


+ Info Codes Rates

R61part_t1_hits_ts_info.png : The spectra show the rates of information words. The first plots are again 
for a narrow section of the run (same as previous spectra). One can see the frequent sequence of 
Pause/Resume for NNAIDA12 and 14. Also note discriminator data and ADC(high range) hits only come for 
NNAIDA12 (we used very high value for discriminator threshold).

R61part_ts_info_fee.png: The figure shows the distribution of the different information codes for each FEE 
module, but now for the full lenght of the run.



++ Sorted Root TTree fiels ++

All raw files of run R61 were processed with the 'beta' version of the Root 
sort code for event reconstruction (/homes/npg/AIDAsort/ in DL PC), but only 
up to the 'Calibration' step (no event reconstructino). 
R61_207Bi_2_sort.root used for above plots. 

Root tree saved here:

/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_0_calib.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_0_sort.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_1_calib.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_1_sort.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_2_calib.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_2_sort.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_3_calib.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_3_sort.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_4_calib.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_4_sort.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_5_calib.root
/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/R61_207Bi_5_sort.root


A bug on the Root sort code was identified from this output: the code waits 
for a SYNC100 pulse from *each* FEE card to update their corresponding 
most-significant bits (MSB) for the timestamp, while one has to use *any* 
SYNC100 pulse to update the MSB of all FEE modules. As a consecuence, a 
(very small) fraction of the processed hits have the wrong time-stamp (off 
by bit 28).
Attachment 1: R61part_ts_dist_adc_hit.png
R61part_ts_dist_adc_hit.png
Attachment 2: R61part_rates.png
R61part_rates.png
Attachment 3: R61part_t1_hits_ts_adc.png
R61part_t1_hits_ts_adc.png
Attachment 4: R61part_t1_hits_ts_adc_zoom.png
R61part_t1_hits_ts_adc_zoom.png
Attachment 5: R61part_t1_hits_ts_info.png
R61part_t1_hits_ts_info.png
Attachment 6: R61part_ts_info_fee.png
R61part_ts_info_fee.png
Attachment 7: loopAIDAsort.cpp
/*********/
//#include <bitset>
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <sstream>
#include <string>
#include <ctime>

#include <TFile.h>
#include <TTree.h>
#include <TH1I.h>
#include <TH2I.h>
#include <TGraph.h>
#include <TCanvas.h>

//#include "Common.h"


//using namespace std;
/*********/


//ts_0 in usec
void LoopTree(string inFile, int downscale=1, long long n_last= -1, int ts_0=-1, bool b_print=false, bool b_quit_ts=false){



  struct struct_entry_sort{
    long long tm_stp; //reconstructed timestamp (MSB+LSB)
    long long info; //MBS info data (external timestamp), anything else(?)
    int mod_id;
    int ch_id;
    int type; // QQQ: 0= 20 MeV or 1 GeV (decays), 1= 20 GeV (checked pulser data only in type 0)
              // type>=10: type = info_code+10 (i.e., PAUSE, RESUME, SYNC100, etc...)
    int adc_data;
    bool sync_flag; // check SYNC100 pulses received for this module
    bool pause_flag; // check Pause signals followed by proper Resume signal: true= SYNC100 paused...
  };



  //***** histograms! many...
  //

  //delta ts: any->any [100]
  //          adc->adc [100]
  //          adc(feei)->adc(feej) [1]
  //          adc(sidei)->adc(sidej) [1]
  //          !adc->!adc [1]
  //1,2,3,5,10,15,20,50,100
  TH1D *Hdts_any[10];
  Hdts_any[0]= new TH1D("Hdts_any0","#Delta ts_{(i+1,i)} !ANY DATA;ts_{i+1} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[1]= new TH1D("Hdts_any1","#Delta ts_{(i+2,i)} !ANY DATA;ts_{i+2} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[2]= new TH1D("Hdts_any2","#Delta ts_{(i+3,i)} !ANY DATA;ts_{i+3} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[3]= new TH1D("Hdts_any3","#Delta ts_{(i+5,i)} !ANY DATA;ts_{i+5} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[4]= new TH1D("Hdts_any4","#Delta ts_{(i+10,i)} !ANY DATA;ts_{i+10} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[5]= new TH1D("Hdts_any5","#Delta ts_{(i+15,i)} !ANY DATA;ts_{i+15} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[6]= new TH1D("Hdts_any6","#Delta ts_{(i+20,i)} !ANY DATA;ts_{i+20} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[7]= new TH1D("Hdts_any7","#Delta ts_{(i+50,i)} !ANY DATA;ts_{i+50} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_any[8]= new TH1D("Hdts_any8","#Delta ts_{(i+100,i)} !ANY DATA;ts_{i+100} - ts_{i} [usec]",4400,-20,200); //200 us full scale

  TH1D *Hdts_adc[10];
  Hdts_adc[0]= new TH1D("Hdts_adc0","#Delta ts_{(i+1,i)} !ADC(low) DATA;ts_{i+1} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[1]= new TH1D("Hdts_adc1","#Delta ts_{(i+2,i)} !ADC(low) DATA;ts_{i+2} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[2]= new TH1D("Hdts_adc2","#Delta ts_{(i+3,i)} !ADC(low) DATA;ts_{i+3} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[3]= new TH1D("Hdts_adc3","#Delta ts_{(i+5,i)} !ADC(low) DATA;ts_{i+5} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[4]= new TH1D("Hdts_adc4","#Delta ts_{(i+10,i)} !ADC(low) DATA;ts_{i+10} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[5]= new TH1D("Hdts_adc5","#Delta ts_{(i+15,i)} !ADC(low) DATA;ts_{i+15} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[6]= new TH1D("Hdts_adc6","#Delta ts_{(i+20,i)} !ADC(low) DATA;ts_{i+20} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[7]= new TH1D("Hdts_adc7","#Delta ts_{(i+50,i)} !ADC(low) DATA;ts_{i+50} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_adc[8]= new TH1D("Hdts_adc8","#Delta ts_{(i+100,i)} !ADC(low) DATA;ts_{i+100} - ts_{i} [usec]",4400,-20,200); //200 us full scale

  TH1D *Hdts_fee[1];
  Hdts_fee[0]= new TH1D("Hdts_fee0","#Delta ts_{(i+1,i)} !ADC(low), diff. FEE;ts_{i+1} - ts_{i} [usec]",4400,-20,200); //200 us full scale

  TH1D *Hdts_side[2];
  Hdts_side[0]= new TH1D("Hdts_side0","#Delta ts_{(i+1,i)} !ADC(low), side0->1;ts_{i+1} - ts_{i} [usec]",4400,-20,200); //200 us full scale
  Hdts_side[1]= new TH1D("Hdts_side1","#Delta ts_{(i+1,i)} !ADC(low), side1->0;ts_{i+1} - ts_{i} [usec]",4400,-20,200); //200 us full scale

  TH1D *Hdts_info[1];
  Hdts_info[0]= new TH1D("Hdts_info0","#Delta ts_{(i+1,i)} !info DATA;ts_{i+1} - ts_{i} [usec]",4400,-20,200); //200 us full scale
 
  TH1D *Hdts_ooo[1];
  Hdts_ooo[0]= new TH1D("Hdts_ooo0","#Delta ts_{(i+1,i)} !out-of-order!;ts_{i+1} - ts_{i} [usec]",15000,-3e6,0); //500 us full scale
 

  TH1D * Hts[2];
  Hts[0]= new TH1D("Hts0","Time-stamp;ts [usec]",2000,0,27e5);
  Hts[1]= new TH1D("Hts1","Time-stamp;ts [usec]",2000,91e9,97e9);



  //Rate hitograms
  TH1D * HrateFEE_ts[4];
  TH1D * HrateFEE_ch[4];
  TH1D * HrateADChigh_ts[1];
  TH1D * HrateInfo_ts[1];
  
  TH1I * HhitsADC[5];
  TH1I * HhitsInfo[4];
    
  TH2I * HtsFEE[3];
  TH2I * HtsInfo[1];
  TH2D * HtsCh[4];


  TH2I * HInfoFEE[4];

  double max_bin;
  if(n_last>0) max_bin= n_last;
  else max_bin= 1.e7;
  TH2I * HtsEvent[2];
  //HtsEvent[0]= new TH2I("HtsEvent0","Time-stamp vs entry;entry #;ts [usec]",200,0,max_bin,1000,0,27e5);
  HtsEvent[1]= new TH2I("HtsEvent1","Time-stamp vs entry;entry #;ts [usec]",500,0,max_bin,500,92e9,97e9);
  //sEvent[1]= new TH2I("HtsEvent1","Time-stamp vs entry;entry #;ts [usec]",500,0,max_bin,500,92.4e9,92.44e9);



  // variables for distribution of time-stamp differences
  double dts;
  double ts100_any[101];
  double ts100_adc[101];
  //  long long tsinide01;
  //  long long ts_side10;
  // long long ts_fee; 
  double ts_info= -1;
  int index_adc=0;
  int index_any=0;
  int index_prev;
  int last_side, this_side;
  int last_fee, this_fee;

  int step_back[9]={1,2,3,5,10,15,20,50,100};
  int steps;

  double ts;

  for(int i=0;i<101;i++){
    ts100_any[i]= -1;
    ts100_adc[i]= -1;
  }


  int Nooo=0;

  int info_code_prev, mod_id_prev, type_prev;


  //logfile
  ofstream logfile("outputLoop_R61_5.txt");

  time_t t_start; //, t_stop;

  TFile* input_file; 
  input_file = new TFile(inFile.data(),"read");
 
  if (input_file != 0){
    input_file->ls();

    TTree * input_tree;
    input_tree= (TTree*) input_file->Get("AIDA_sort");

    if(input_tree !=0) input_tree->Print();
    else {
      cout << "\n WARNING@ could not assign AIDA_sort Tree...." << endl;
      exit(0);
    }


    //tree from Converter step will data in a struct_entry_midas structure
    struct_entry_sort entry_1;

    input_tree->SetMakeClass(1);
    input_tree->SetBranchAddress("entry_sort",&entry_1,0);
    input_tree->SetBranchStatus("entry_sort",1);

    //number of data points in TTree
    long long n_entries;
    n_entries = input_tree->GetEntries();

    cout << "\nNumber of entries in input tree= " << n_entries << ", in file " << inFile << endl;
    logfile << "\nNumber of entries in input tree= " << n_entries << ", in file " << inFile << endl;
  


    //get run time... properly...
    long long time_first, time_last;

    time_first= 0;
    for(long long i=0; i<=100000; i++){
      input_tree->GetEntry(i);
      if(entry_1.sync_flag){
	time_first= entry_1.tm_stp;
	i=100000+1;
      }
    }
    if(time_first<=0){
      cout << "\n\n**** WARNING: Couldn't find Synchronized data in first 100K entries of file! ****\n" << endl;
      time_first=0;
    }
    input_tree->GetEntry(n_entries-1);
    time_last= entry_1.tm_stp;

    cout << "\n----------------------------------------------------------------------------"
    	 << "\n  Inititial time stamp= " <<time_first;
    cout << "\n  Lenght of run= "<<time_last-time_first <<" tm-stp= "<<(time_last-time_first)/1.e8 <<" sec"<<endl;




    //Define histograms that need to know run lenght....
    double ts_low, ts_up; //in usc
    double ts_sec;
    //    int ts_0;
    //in msec units!
    if(ts_0<0) ts_0 = time_first/100000; // 10x ns -> ms
    
    cout << " .... using ts_0= " << ts_0;

    //and this in usec units!
    ts_low= ts_0*1000.;
    ts_up= ts_low+20.e6;

    cout << "msec, ts_low= " << ts_low << " usec, ts_up= " << ts_up << " usec" << endl<<endl;

    int fee_index;
    bool b_ts_window;

    //Rate histograms

    int ts_0_sec= int(1.*time_first/1e8);
    //2 hrs, 10sec/bin
    HrateFEE_ts[0]= new TH1D("HrateFEE_ts0","Rate - ADClow(nnaida11);time-stamp [s];rate [1/s]",360,ts_0_sec,ts_0_sec+3600);
    HrateFEE_ts[1]= new TH1D("HrateFEE_ts1","Rate - ADClow(nnaida12);time-stamp [s];rate [1/s]",360,ts_0_sec,ts_0_sec+3600);
    HrateFEE_ts[2]= new TH1D("HrateFEE_ts2","Rate - ADClow(nnaida13);time-stamp [s];rate [1/s]",360,ts_0_sec,ts_0_sec+3600);
    HrateFEE_ts[3]= new TH1D("HrateFEE_ts3","Rate - ADClow(nnaida14);time-stamp [s];rate [1/s]",360,ts_0_sec,ts_0_sec+3600);

    HrateFEE_ch[0]= new TH1D("HrateFEE_ch0","Rate - ADClow(nnaida11);ch; rate [1/s];time-stamp [s]",64,0,64);
    HrateFEE_ch[1]= new TH1D("HrateFEE_ch1","Rate - ADClow(nnaida12);ch; rate [1/s];time-stamp [s]",64,0,64);
    HrateFEE_ch[2]= new TH1D("HrateFEE_ch2","Rate - ADClow(nnaida13);ch; rate [1/s];time-stamp [s]",64,0,64);
    HrateFEE_ch[3]= new TH1D("HrateFEE_ch3","Rate - ADClow(nnaida14);ch; rate [1/s];time-stamp [s]",64,0,64);

    HrateADChigh_ts[0]= new TH1D("HrateADChigh_ts0","Rate - ADChigh(any FEE);time-stamp [s];rate [1/s]",360,ts_0_sec,ts_0_sec+3600);
    HrateInfo_ts[0]= new TH1D("HrateInfo_ts0","Rate - Info Types;time-stamp [s];rate [1/s]",360,ts_0_sec,ts_0_sec+3600);

    //Info types for different FEEs (sum and vs time)
    HInfoFEE[0]= new TH2I("HInfoFEE0","Info Code vs FEE;Info Type;nnaida",16,0,16,4,11,15);
    HInfoFEE[1]= new TH2I("HInfoFEE1","Time-stamp vs FEE(Pause/Resume);time-stamp [s];nnaida",240,ts_0_sec,ts_0_sec+3600,4,11,15);
    HInfoFEE[2]= new TH2I("HInfoFEE2","Time-stamp vs FEE(SYNC100);time-stamp [s];nnaida",240,ts_0_sec,ts_0_sec+3600,4,11,15);
    HInfoFEE[3]= new TH2I("HInfoFEE3","Time-stamp vs FEE(Disc.);time-stamp [s];nnaida",240,ts_0_sec,ts_0_sec+3600,4,11,15);


    //hist vs time
    
    HhitsADC[0]= new TH1I("HhitsADC0","Rate [1/ms] - ADClow(nnaida11);time-stamp [ms]",20000,ts_0,ts_0+20000);
    HhitsADC[1]= new TH1I("HhitsADC1","Rate [1/ms] - ADClow(nnaida12);time-stamp [ms]",20000,ts_0,ts_0+20000);
    HhitsADC[2]= new TH1I("HhitsADC2","Rate [1/ms] - ADClow(nnaida13);time-stamp [ms]",20000,ts_0,ts_0+20000);
    HhitsADC[3]= new TH1I("HhitsADC3","Rate [1/ms] - ADClow(nnaida14);time-stamp [ms]",20000,ts_0,ts_0+20000);
    HhitsADC[4]= new TH1I("HhitsADC4","Rate [1/ms] - ADChigh;time-stamp [ms]",20000,ts_0,ts_0+20000);
    
    HhitsInfo[0]= new TH1I("HhitsInfo0","Rate [1/ms] - PAUSE/RESUME;time-stamp [ms]",20000,ts_0,ts_0+20000);
    HhitsInfo[1]= new TH1I("HhitsInfo1","Rate [1/ms] - RESUME TS;time-stamp [ms]",20000,ts_0,ts_0+20000);
    HhitsInfo[2]= new TH1I("HhitsInfo2","Rate [1/ms] - SYNC100;time-stamp [ms]",20000,ts_0,ts_0+20000);
    HhitsInfo[3]= new TH1I("HhitsInfo3","Rate [1/ms] - Discr. Data;time-stamp [ms]",20000,ts_0,ts_0+20000);


    HtsFEE[0]= new TH2I("HtsFEE0","Time-stamp vs FEE(ADClow);ts [ms];nnaida",1000,ts_0,ts_0+20000,4,11,15);
    HtsFEE[1]= new TH2I("HtsFEE1","Time-stamp vs FEE(SYNC100);ts [ms];nnaida",1000,ts_0,ts_0+20000,4,11,15);
    HtsFEE[2]= new TH2I("HtsFEE2","Time-stamp vs FEE(Pause/Res.);ts [ms];nnaida",1000,ts_0,ts_0+20000,8,11,15);

    //  HtsFEE[0]= new TH2I("HtsFEE0","Time-stamp vs FEE\# (ADClow);ts [msec];nnaida\# ",2000,ts_0,ts_0+20000,4,10.5,14.5);
    
    HtsInfo[0]= new TH2I("HtsInfo0","Time-stamp vs InfoCode;ts [ms];Info Type",1000,ts_0,ts_0+20000,16,0,16);
    
 
    HtsCh[0]= new TH2D("HtsCh0","Time-stamp vs Ch. (nnaida11);ts [ms];ch",5000,ts_0,ts_0+5000,64,0,64);
    HtsCh[1]= new TH2D("HtsCh1","Time-stamp vs Ch. (nnaida12);ts [ms];ch",5000,ts_0,ts_0+5000,64,0,64);
    HtsCh[2]= new TH2D("HtsCh2","Time-stamp vs Ch. (nnaida13);ts [ms];ch",5000,ts_0,ts_0+5000,64,0,64);
    HtsCh[3]= new TH2D("HtsCh3","Time-stamp vs Ch. (nnaida14);ts [ms];ch",5000,ts_0,ts_0+5000,64,0,64);




    t_start= time(0); //lets count how long it takes to loop through tree

    
    //now looping only over first 99 events, or up to n_entries, whatever is less
    if(n_last<1 || n_last>n_entries) n_last= n_entries;
   
    //  input_tree->GetEntry(0);

    for(long long i=0; i<n_last; i=i+downscale){
      //
      //  do stuff...
      //

      //    entry_0.tm_stp= entry_1.tm_stp;
      //    entry_0.type= entry_1.type;
      //    entry_0.info= entry_1.info;
... 343 more lines ...
  133   Sat Dec 12 03:30:50 2015 Alfred, Chris, Phongchange configuration of NNAIDA modules in setup

We want to reduce the configuration of the setup to 4 FEE cards (8 NNAIDA modules), so we only have to isolate 4 of them from the cooling crate for a noise test. Following instructions in April2015 test logbook.

Copied directory /MIDAS@aidas to /MIDAS@aidas.121215

In /MIDAS@aidas/config/TclHttpd/aidas1@8015 edit file:
-rw-rw-r--. 1 npg npgstaff 2281 May  3  2015 startup.tcl

Now scripts does 'lappend ACQSERVERS nnaida$i' from i=1 to 8

 

  263   Tue May 31 16:03:24 2016 AE. VPCo/Bi source run (R17)
Set discriminator mask for DSSD2 through DSSD6 (see attachments). Fast comparator threshold set to 9 for all DSSDs.

New source run for beta-gamma correlation, now with all DSSDs included in EURICA trigger.

Trigger is OR of coincidence front:back of all DSSDs.

AIDA run: R17*
EURICA run: BiCocal_run0015.lmd

Saved new ASIC settings: 2016May31-23.32.46

Experiment elog: http://ribf-exp.riken.jp/elog/EURICA+U-campaign+2016/13
Attachment 1: Rall1.png
Rall1.png
Attachment 2: Rall3.png
Rall3.png
Attachment 3: Rall4.png
Rall4.png
Attachment 4: Rall_5.png
Rall_5.png
Attachment 5: Rall_7.png
Rall_7.png
Attachment 6: Rall_8.png
Rall_8.png
Attachment 7: Rall_9.png
Rall_9.png
Attachment 8: Rall_11.png
Rall_11.png
  218   Wed May 11 06:00:56 2016 AE, VP, BM (Byul Moon)FEE64 <-> MACB trigger mapping
Here is the mapping of the trigger output of MAC-B modules to FEE64 modules

3.1   NNAIDA5   veto-X2
3.2   NNAIDA14  D4-X2
3.3   NNAIDA13  D5-X2
3.4   NNAIDA6   D6-X2

4.1   NNAIDA28   -
4.2   NNAIDA27  D1-Y1
4.3   NNAIDA20  D2-Y1
4.4   NNAIDA19  D3-Y1

5.1   NNAIDA12  D4-Y1
5.2   NNAIDA11  D5-Y1
5.3   NNAIDA3   veto-Y1
5.4   NNAIDA4   D6-Y1

6.1   NNAIDA25  D1-X1
6.2   NNAIDA17  D3-X1
6.3   NNAIDA18  D2-X1
6.4   NNAIDA26   -

8.1   NNAIDA29   -
8.2   NNAIDA30  D1-X2
8.3   NNAIDA22  D2-X2
8.4   NNAIDA21  D3-X2

9.1   NNAIDA15  D4-Y2
9.2   NNAIDA16  D5-Y2
9.3   NNAIDA7   D6-Y2
9.4   NNAIDA8   veto-Y2

10.1   NNAIDA1   veto-X1
10.2   NNAIDA9   D5-X1
10.3   NNAIDA10  D4-X1
10.4   NNAIDA2   D6-X1

11.1   NNAIDA23  D2-Y2
11.2   NNAIDA32  D1-Y2
11.3   NNAIDA31   -
11.4   NNAIDA24  D3-Y2


MACB modules are labeled, from left to right, according to their position in the NIM crate.

D1 is the most upstream DSSD, and veto the most downstream one.
Attachment 1: dssd_layout.jpg
dssd_layout.jpg
  219   Wed May 11 06:01:16 2016 AE, VP, BMBeta trigger
Please find attached the best diagram of the beta trigger logic circuit for EURICA campaign 2016
Attachment 1: Trigger_scheme-new.jpg
Trigger_scheme-new.jpg
  220   Wed May 11 06:37:32 2016 AE, VP, BMWednesday 11 May
*2:30 pm*: changed power source of USB-controlled power supply for FEEs. Now one of the power cables is connected
to the 'B' power supply of F11, and the second to the 'C' power supply (these are in the unit on top of WASBI
crates). The reason for change is that before both were connected to 'C', and drained current was very close to
limit  of 10 A (and power cord getting noticeable hot). We'll check resolution after this switch.

Detectors 1, 2, 3, and 4 biased to 100V, detectors 5, 6, and veto biased to 70V.

n-side is more noisy than p-side, but resolution comparable to previous configuration:

NNAIDA#   FWHM [ch]
    1     91
    2     61
    3     84
    4     -
    5    160
    6     -
    7     79
    8     84
    9     71
   10     76
   11    101
   12     81
   13     69
   14     78
   15    199
   16    107
   17     82
   18     62
   19     -
   20     89
   21    168
   22     70
   23     80
   24     73
   25     81
   26     13
   27    109
   28     13
   29     15
   30    126
   31     13
   32    100



*5 pm*: Set-up correlation scalers for AIDA<->EURICA<->BigRIPS (detail diagram coming soon, now only in paper
logbook). 


*6:30 pm*: Started EURICA DAQ with Pieter and Gabor.

A folder is created to record data of June campaign: /raid/11/mbs/2016_ucampaign/

Tested correlation of AIDA and EURICA with a pulser run, triggering EURICA and AIDA correlation scaler with 250
Hz. The corresponding files are

/raid/11/mbs/2016_ucampaign/test0003.lmd
/TapeData/may2016/R12_0.gz

Phong did a quick analysis and the pattern of correlation scalers in both files is similar (attached figures). It
is also consistent with the number of reset requests we sent during the data taking (three requests closely spaced
in the middle of run, and two more in the end of the run).
Attachment 1: Eurica_timestamp.png
Eurica_timestamp.png
Attachment 2: AIDA_timestamp.png
AIDA_timestamp.png
Attachment 3: Timestamp_correlation_AIDA_EURICA.png
Timestamp_correlation_AIDA_EURICA.png
  223   Thu May 12 16:55:37 2016 AE, VP, BMThursday May 12
Continued work on beta-trigger for EURICA. However the system seems to have different noise condition than before, which 
we think appeared after we changed power source for FEE's PSU (https://elog.ph.ed.ac.uk/AIDA/220). This is high frequency 
noise of low amplitude, with a period of 10 usec.

The effect on the resolution measured with the pulser is not too large - thus our conclusion in elog entry 220 that noise 
conditions had not changed much - but the noise does create a large trigger rate that would not allow us to set a low 
trigger threshold (for MAC-B outputs from fast discriminators). The rate of singles from front or back, as well as coincidence of 
front-back strips, increased by more than a factor of ten compared to previous conditions (e.g. ~200 coincidences for one ASIC 
enables in each side of DSSD1, and fast threshold of 10).

Saved some data in this conditions, with a threshold of 16 for the fast discriminators (enabled in one ASIC for 8 of the 
FEEs). When fast discriminator lowering threshold to 9, the system got upset and lost synchronization. Tomorrow we'll 
attempt to revert to previous configuration of PSUs.

R16*gz:

DSSD HV: +100 for all.
Leakage current (uA): 4.2, 4.9, 3.7, 3.9, 4.2, 3.8, 10.7 (from Det#1 to veto)

Enabled fast discriminators in ASIC2 of DSSD1 and DSSD5 (NNAIDA#: 25, 30, 27, 32, 9, 13, 11, 16)

DSSD#1 is next to 207Bi source
Attachment 1: wf11.JPG
wf11.JPG
Attachment 2: e11.JPG
e11.JPG
Attachment 3: wf13.JPG
wf13.JPG
Attachment 4: wf25.JPG
wf25.JPG
Attachment 5: e25.JPG
e25.JPG
Attachment 6: wf27.JPG
wf27.JPG
Attachment 7: e27.JPG
e27.JPG
  227   Sat May 14 11:27:09 2016 AE, VP[How To] DAQ correlation monitor (June16 campaign)
The program for online monitoring the correlation of the DAQ systems (AIDA-EURICA-BigRIPS) through a common scaler is SyncCheck (J. 
Agramunt). 

The code runs in the d05 server, receiving data transferred to a DataSink from each of the individual DAQs. The data transfer is 
done with the DataRelayFilter code for AIDA (AE), and the euricatssender and ribftssender (Baba-san) codes for EURICA and RIBFdaq, 
respectively.  

The attached screenshots show how to setup these programs. Follow these steps:

1) Log in to d05 as user 'aida'. Start an instance of the DataSink code with option -i 3 (3 data stream, which will use ports 10305 
to 10307). The code is saved in /home/aida/DataPackage/DataSink/Linux64

2) In the d05 server start the following codes: euricatssender (in /home/aida/ribfts/euricatssender/ directory), and ribftssender 
(in /home/aida/ribfts/ribftssender/ directory). If you give the codes dummy command line option (e.g. -X) the value of transferred 
timestamps will be printed to screen as diagnostics.

3) In the AIDA computer (aidas1), start the DataRelayFilter program (will work from any directory). As command line arguments 
provide the IP address of d05, and the TCP port and id of the data stream for the DataSink program: DataRelayFilter -n 10.32.0.12 -
p 10307 -I 2

Only the master FEE will produce correlation scalar items (?). The code has as default NNAIDA5 for the module where to search for the Corr Scaler
items; if this has to be changed use command line option -m X (where X is NNAIDAX number for new master FEE)

4) Back in the d05 server start the SyncCheck program, in the directory /home/aida/SyncCheck/. You can give as an argument the ID 
of the Master data stream for the synchronization check, through "-M ID" (should be done if one of the three data streams is down). 
For example "SynCheck -M 2" will use AIDA as the master timestamp.

5) Perform a manual correlation reset request to synchronize the value of the correlation scaler in all three DAQs. This is done with the 
button 'Force Correlation Reset' of the AIDA "Correlation Status & Control" webpage (attachment 2), which can be accessed from the MIDAS web-
based control of AIDA.

The SyncCheck code will display a few spectra for onine monitoring of DAQ correlation (attachment 3, shown only with AIDA and EURICA running). 
A peak will appear showing the offset in the correlation scaler between the different DAQs. The counts in the peak should increase 
continuously, and its position should not change. If it doesn't, try sending a Correlation Reset signal (step 5). If this does not fix the 
monitor, report a correlation error! 

Further information on the scheme for data synchronization is here: 
https://elog.ph.ed.ac.uk/BRIKEN/6
https://elog.ph.ed.ac.uk/BRIKEN/5
Attachment 1: sync2.png
sync2.png
Attachment 2: sync3.png
sync3.png
Attachment 3: sync5.png
sync5.png
Attachment 4: sync6.png
sync6.png
  306   Sat Jun 11 10:29:16 2016 AE, TD, LHBsynchronization between different FEEs
file AIDA10_20: stopped on June 10, 14:59
file AIDA10_40: stopped on June 10, 16:16

Time different between pulser peaks, in microseconds (ts/100), for the four groups shown in the attached plots:

AIDA10_20: 2593, 2628, 2593
AIDA10_40: 2618, 2600, 2618

Measurement consistent with a time difference of 2600 usec (there is an error of 32 usec as we're using the data
from the slow comparator)

The two runs also show the same pattern of which FEEs have the same timestamp for the pulser event


Attachment 3, for run AIDA34, corresponds to a case after we had managed to resynchronize all FEEs
Attachment 1: AIDA10_20_pulser_allign.png
AIDA10_20_pulser_allign.png
Attachment 2: AIDA10_40_pulser_allign.png
AIDA10_40_pulser_allign.png
Attachment 3: AIDA34_puls_alignm.png
AIDA34_puls_alignm.png
  474   Sat Nov 26 09:17:42 2016 AE, TD, DKOffline analysis of R9_24
R9_24 3mm Pb + 0.3mm W (+1mm Al) + 1.0mm W (+1mm Al)

 

 *** data items:  261088000 (  99232.91 Hz)
 *** ADC events:   41690396 (  15845.46 Hz)
 *** time warps:          0 (      0.00 Hz)
 *** DSSSD # 1 count:   5823816 old count:   5806214 dt:    343.81 s  LEC rate:  16939.06 Hz
 *** DSSSD # 2 count:   5673289 old count:   5657311 dt:    343.81 s  LEC rate:  16501.24 Hz
 *** DSSSD # 3 count:   2708029 old count:   2701714 dt:    343.81 s  LEC rate:   7876.53 Hz
 *** DSSSD # 4 count:   2583742 old count:   2576481 dt:    343.81 s  LEC rate:   7515.03 Hz
 *** DSSSD # 5 count:   1480052 old count:   1475781 dt:    343.81 s  LEC rate:   4304.85 Hz
 *** DSSSD # 6 count:   3956442 old count:   3945032 dt:    343.81 s  LEC rate:  11507.64 Hz
 *** DSSSD # 1 count:       128 old count:       128 dt:    343.81 s  HEC rate:      0.37 Hz
 *** DSSSD # 2 count:       115 old count:       115 dt:    343.81 s  HEC rate:      0.33 Hz
 *** DSSSD # 3 count:        91 old count:        90 dt:    343.81 s  HEC rate:      0.26 Hz
 *** DSSSD # 4 count:        41 old count:        40 dt:    343.81 s  HEC rate:      0.12 Hz
 *** DSSSD # 5 count:        13 old count:        13 dt:    343.81 s  HEC rate:      0.04 Hz
 *** DSSSD # 6 count:        12 old count:        12 dt:    343.81 s  HEC rate:      0.03 Hz

 *** ENTRY finish ends

S O R T    S T O P P E D ..... Sat Nov 26 17:34:41 2016
 

Attachment 1: rates_r9_24.png
rates_r9_24.png
Attachment 2: ee_r9_24.png
ee_r9_24.png
Attachment 3: xy_r9_24.png
xy_r9_24.png
  652   Sat Jun 10 09:24:45 2017 AE, TDSaturday 19 June 16.00-24.00
17.25 Detector biases & leakage currents OK - see attachments 1 & 2
      FEE64 Temperatures OK - see attachment 3
      good events statistics stable & OK - see attachment 4
      No warnings/errors reported by merger since DAQ GO - see attachment 5

      *all* system wide checks OK (zero fails)

17.30 analysis of file RIBF128/R7_1065 - dead time < 0.5%, no timewarps, 3 MBS timewarps - see attachment 6

17.35 online analysis - ADC & disc data synchronised - see attachment 7

      all SortSas spectra & histograms zero'd, waveforms set x-range = 1000ch = 2ms

18.05 BNC PB-4
      Amplitude 90,000
      x5 attenuator IN
      t_r 100ns tau_d 50us
      - polarity
      frequency 25Hz range
      delay MIN, tail pulse, INT ref

      ASIC settings 2017Mar27-16.12.39

      BigRIPS 149Xe setting, degrader 2mm Al (at F7), 1.3mm Al fixed + 2mm Al variable (at F11)

18.38 Start DAQ
      AIDA file RIBF128/R7_1083
      BRIKEN file 111
      BigRIPS file 4001

      F11 rate ~100Hz, ~50 neutrons/s

18.56 Stop DAQ
      AIDA file RIBF128/R7_1088

18.38 Start DAQ
      AIDA file RIBF128/R7_1088
      BRIKEN file 112
      BigRIPS file 4002

19.03 per DSSSD x versus y (HEC) - see attachment 8
      per DSSSD E_p versus E_n (HEC) 20MeV/ch nominal - see attachment 9
  
      Rates from offline analysis RIBF128/R7_1089

 *** DSSSD # 1 count:    258088 old count:    206122 dt:      1.03 s  LEC rate:  50652.59 Hz
 *** DSSSD # 2 count:    377054 old count:    301162 dt:      1.03 s  LEC rate:  73973.87 Hz
 *** DSSSD # 3 count:    113574 old count:     89972 dt:      1.03 s  LEC rate:  23005.47 Hz
 *** DSSSD # 4 count:    104475 old count:     83626 dt:      1.03 s  LEC rate:  20322.05 Hz
 *** DSSSD # 5 count:     34511 old count:     27812 dt:      1.03 s  LEC rate:   6529.69 Hz
 *** DSSSD # 6 count:     78446 old count:     62771 dt:      1.03 s  LEC rate:  15278.82 Hz
 *** DSSSD # 1 count:         2 old count:         2 dt:      1.03 s  HEC rate:      0.00 Hz
 *** DSSSD # 2 count:        95 old count:        76 dt:      1.03 s  HEC rate:     18.52 Hz
 *** DSSSD # 3 count:        30 old count:        24 dt:      1.03 s  HEC rate:      5.85 Hz
 *** DSSSD # 4 count:        12 old count:         8 dt:      1.03 s  HEC rate:      3.90 Hz
 *** DSSSD # 5 count:        27 old count:        24 dt:      1.03 s  HEC rate:      2.92 Hz
 *** DSSSD # 6 count:        81 old count:        67 dt:      1.03 s  HEC rate:     13.65 Hz

19.21 Detector biases & leakage currents OK - see attachments 10 & 11
      FEE64 Temperatures OK - see attachment 12
      good events statistics stable & OK - see attachment 13
      No warnings/errors reported by merger since DAQ GO - see attachment 14

      *all* system wide checks OK (zero fails)

19.30 analysis of file RIBF128/R7_1095 - dead time 1%, no timewarps, 1 MBS timewarps - see attachment 15

20.00 Stop DAQ
      AIDA file RIBF128/R7_1104

18.38 Start DAQ
      AIDA file RIBF128/R7_1104
      BRIKEN file 113
      BigRIPS file 4003

      BigRIPS slit change and n background check

20.27 Stop DAQ
      AIDA file RIBF128/R7_1111

20.28 Start DAQ
      AIDA file RIBF128/R7_1111
      BRIKEN file 114
      BigRIPS file 4004

      BigRIPS F1 slits changed

20.28 all SortSas spectra zero'd


21.15 Start DAQ
      AIDA file RIBF128/R7_1123
      BRIKEN file 115
      BigRIPS file 4005

21.32 RF down

22.15 Stop DAQ
      AIDA file RIBF128/R7_1138

20.28 Start DAQ
      AIDA file RIBF128/R7_1138
      BRIKEN file 116
      BigRIPS file 4006

22.37 Detector biases & leakage currents OK - see attachments 16 & 17
      FEE64 Temperatures OK - see attachment 18
      good events statistics stable & OK - see attachment 19
      No warnings/errors reported by merger since DAQ GO - see attachment 20

      *all* system wide checks OK (zero fails)

22.42 analysis of file RIBF128/R7_1095 - dead time ~1%, no timewarps, 2 MBS timewarps - see attachment 21

22.48 online analysus
      per DSSSD x versus y (HEC) - see attachment 22
      per DSSSD E_p versus E_n (HEC) 20MeV/ch nominal - see attachment 23
      ADC & disc data synchronised - see attachment 24

      offline analysis RIBF128/R7_1146 rates

 *** DSSSD # 1 count:    389187 old count:    340234 dt:      1.02 s  LEC rate:  47972.00 Hz
 *** DSSSD # 2 count:    562493 old count:    494318 dt:      1.02 s  LEC rate:  66808.79 Hz
 *** DSSSD # 3 count:    168279 old count:    147281 dt:      1.02 s  LEC rate:  20577.21 Hz
 *** DSSSD # 4 count:    156439 old count:    136327 dt:      1.02 s  LEC rate:  19708.96 Hz
 *** DSSSD # 5 count:     52041 old count:     45539 dt:      1.02 s  LEC rate:   6371.70 Hz
 *** DSSSD # 6 count:    121463 old count:    106320 dt:      1.02 s  LEC rate:  14839.54 Hz
 *** DSSSD # 1 count:         1 old count:         1 dt:      1.02 s  HEC rate:      0.00 Hz
 *** DSSSD # 2 count:        66 old count:        57 dt:      1.02 s  HEC rate:      8.82 Hz
 *** DSSSD # 3 count:        41 old count:        35 dt:      1.02 s  HEC rate:      5.88 Hz
 *** DSSSD # 4 count:         1 old count:         1 dt:      1.02 s  HEC rate:      0.00 Hz
 *** DSSSD # 5 count:        11 old count:        11 dt:      1.02 s  HEC rate:      0.00 Hz
 *** DSSSD # 6 count:        82 old count:        66 dt:      1.02 s  HEC rate:     15.68 Hz


23.15 Stop DAQ
      AIDA file RIBF128/R7_1153

23.15 Start DAQ
      AIDA file RIBF128/R7_1153
      BRIKEN file 117
      BigRIPS file 4007

23.38 beam lost - RF restart
      AIDA file RIBF128/R7_1158
Attachment 1: 1.png
1.png
Attachment 2: 2.png
2.png
Attachment 3: 3.png
3.png
Attachment 4: 4.png
4.png
Attachment 5: 5.png
5.png
Attachment 6: R7_1065.txt
 *** TDR format 3.3.0 analyser - TD - June 2017
 ***     MBS information: block: 20156 ptr:     7 data: 0x8682001E module:  6 information type:  8 information field: 0x0002001E ts: 0x19B3952124F8 OLD ts: 0x19B3952124F8 MBS 0x:001E00007C6F OLD MBS 0x:001EED3C9233
 ***     MBS information: block: 29419 ptr:     7 data: 0x8682001F module:  6 information type:  8 information field: 0x0002001F ts: 0x19B546716B04 OLD ts: 0x19B546716B04 MBS 0x:001F00008DF2 OLD MBS 0x:001F5986A324
 ***     MBS information: block: 31045 ptr:     7 data: 0x8682001F module:  6 information type:  8 information field: 0x0002001F ts: 0x19B5919FD780 OLD ts: 0x19B5919FD780 MBS 0x:001F00002911 OLD MBS 0x:001F6C5929BF
 *** ERROR: READ I/O error:       5002
                   blocks:      32000
          ADC data format:  258014319 ( 1028982.1 Hz)
        Other data format:    3073681 (   12258.1 Hz)
 Sample trace data format:          0 (       0.0 Hz)
         Undefined format:          0 (       0.0 Hz)
   Other data format type:      PAUSE:         69 (       0.3 Hz)
                               RESUME:         69 (       0.3 Hz)
                              SYNC100:    2294810 (    9151.9 Hz)
                           FEE64 disc:     750155 (    2991.7 Hz)
                             MBS info:      28578 (     114.0 Hz)
                           Other info:          0 (       0.0 Hz)

   ADC data range bit set:       2575 (      10.3 Hz)

                Timewarps:        ADC:          0 (       0.0 Hz)
                                PAUSE:          0 (       0.0 Hz)
                               RESUME:          0 (       0.0 Hz)
                              SYNC100:          0 (       0.0 Hz)
                           FEE64 disc:          0 (       0.0 Hz)
                             MBS info:          0 (       0.0 Hz)
                            Undefined:          0 (       0.0 Hz)
                         Sample trace:          0 (       0.0 Hz)

 *** Timestamp elapsed time:      250.747 s
 FEE  elapsed dead time(s) elapsed idle time(s)
  1                0.039                0.000
  2                0.196                0.047
  3                0.000                0.000
  4                0.000                0.000
  5                0.018                0.000
  6                0.000                0.000
  7                0.000                0.000
  8                0.000                0.000
  9                0.079                0.000
 10                0.158                0.000
 11                0.000                0.000
 12                0.000                0.000
 13                0.447                0.467
 14                0.013                0.000
 15                0.000                0.000
 16                0.000                0.000
 17                0.135                0.000
 18                0.073                0.000
 19                0.001                0.000
 20                0.000                0.000
 21                0.243                0.089
 22                0.066                0.000
 23                0.000                0.000
 24                0.041                0.000
 25                0.000                0.000
 26                0.000                0.000
 27                0.000                0.000
 28                0.000                0.000
 29                0.000                0.000
 30                0.000                0.000
 31                0.000                0.000
 32                0.000                0.000

 *** Statistics
 FEE  ADC Data Other Data     Sample  Undefined      Pause     Resume    SYNC100       Disc        MBS      Other   HEC Data
  0          0          0          0          0          0          0          0          0          0          0          0
  1   14801380     138635          0          0          3          3      95621      43008          0          0        205
  2   24003077     136432          0          0          5          5      95571      40851          0          0          7
  3    7286594     104166          0          0          0          0      95647       8519          0          0          0
  4    1680826     102139          0          0          0          0      95642       6497          0          0         37
  5   10792753     147802          0          0          3          3      95641      52155          0          0          1
  6    9947678     181712          0          0          0          0      95639      57495      28578          0          1
  7    2112001     102143          0          0          0          0      95640       6503          0          0         47
  8    1648374     104003          0          0          0          0      95636       8367          0          0        202
  9   15397245     160094          0          0          5          5      95611      64473          0          0          5
 10   14347620     153109          0          0          9          9      95583      57508          0          0          0
 11    2733763     103747          0          0          0          0      95643       8104          0          0          0
 12    4075062     102047          0          0          0          0      95639       6408          0          0          1
 13   30240740     137577          0          0          8          8      95472      42089          0          0          1
 14   12432775     143967          0          0          3          3      95634      48327          0          0          7
 15    4784982     104121          0          0          0          0      95641       8480          0          0         10
 16    4174807     103080          0          0          0          0      95630       7450          0          0          2
 17   11485154     166426          0          0         13         13      95589      70811          0          0          0
 18   14982108     162552          0          0          4          4      95616      66928          0          0          0
 19   12403880     107650          0          0          2          2      95642      12004          0          0          3
 20    9870579     102875          0          0          0          0      95644       7231          0          0       1704
 21   20877834     136472          0          0          6          6      95545      40915          0          0        293
 22   13857135     166127          0          0          7          7      95613      70500          0          0         12
 23    7251865     102525          0          0          0          0      95643       6882          0          0         22
 24    6826087     104280          0          0          1          1      95628       8650          0          0         15
 25          0          0          0          0          0          0          0          0          0          0          0
 26          0          0          0          0          0          0          0          0          0          0          0
 27          0          0          0          0          0          0          0          0          0          0          0
 28          0          0          0          0          0          0          0          0          0          0          0
 29          0          0          0          0          0          0          0          0          0          0          0
 30          0          0          0          0          0          0          0          0          0          0          0
 31          0          0          0          0          0          0          0          0          0          0          0
 32          0          0          0          0          0          0          0          0          0          0          0

 *** Timewarps
 FEE       ADC      Pause     Resume    SYNC100       Disc        MBS  Undefined    Samples
  0          0          0          0          0          0          0          0          0
  1          0          0          0          0          0          0          0          0
  2          0          0          0          0          0          0          0          0
  3          0          0          0          0          0          0          0          0
  4          0          0          0          0          0          0          0          0
  5          0          0          0          0          0          0          0          0
  6          0          0          0          0          0          0          0          0
  7          0          0          0          0          0          0          0          0
  8          0          0          0          0          0          0          0          0
  9          0          0          0          0          0          0          0          0
 10          0          0          0          0          0          0          0          0
 11          0          0          0          0          0          0          0          0
 12          0          0          0          0          0          0          0          0
 13          0          0          0          0          0          0          0          0
 14          0          0          0          0          0          0          0          0
 15          0          0          0          0          0          0          0          0
 16          0          0          0          0          0          0          0          0
 17          0          0          0          0          0          0          0          0
 18          0          0          0          0          0          0          0          0
 19          0          0          0          0          0          0          0          0
 20          0          0          0          0          0          0          0          0
 21          0          0          0          0          0          0          0          0
 22          0          0          0          0          0          0          0          0
 23          0          0          0          0          0          0          0          0
 24          0          0          0          0          0          0          0          0
 25          0          0          0          0          0          0          0          0
 26          0          0          0          0          0          0          0          0
 27          0          0          0          0          0          0          0          0
 28          0          0          0          0          0          0          0          0
 29          0          0          0          0          0          0          0          0
 30          0          0          0          0          0          0          0          0
 31          0          0          0          0          0          0          0          0
 32          0          0          0          0          0          0          0          0

 *** MBS Timewarps
 FEE 
  0          0
  1          0
  2          0
  3          0
  4          0
  5          0
  6          3
  7          0
  8          0
  9          0
 10          0
 11          0
 12          0
 13          0
 14          0
 15          0
 16          0
 17          0
 18          0
 19          0
 20          0
 21          0
 22          0
 23          0
 24          0
 25          0
 26          0
 27          0
 28          0
 29          0
 30          0
 31          0
 32          0

 *** Program elapsed time:   38.664s (  827.642 blocks/s,  51.728 Mb/s)
Attachment 7: 6.png
6.png
Attachment 8: 7.png
7.png
Attachment 9: 8.png
8.png
Attachment 10: 9.png
9.png
Attachment 11: 10.png
10.png
Attachment 12: 11.png
11.png
Attachment 13: 12.png
12.png
Attachment 14: 13.png
13.png
Attachment 15: R7_1095.txt
 *** TDR format 3.3.0 analyser - TD - June 2017
 ***     MBS information: block:  4521 ptr:     9 data: 0x86820047 module:  6 information type:  8 information field: 0x00020047 ts: 0x1A5738FCA820 OLD ts: 0x1A5738FCA820 MBS 0x:0047D6340000 OLD MBS 0x:0047D6341971
 *** ERROR: READ I/O error:       5002
                   blocks:       5772
          ADC data format:   46316354 ( 1113146.1 Hz)
        Other data format:     777394 (   18683.5 Hz)
 Sample trace data format:          0 (       0.0 Hz)
         Undefined format:          0 (       0.0 Hz)
   Other data format type:      PAUSE:         20 (       0.5 Hz)
                               RESUME:         20 (       0.5 Hz)
                              SYNC100:     380594 (    9147.0 Hz)
                           FEE64 disc:     383718 (    9222.1 Hz)
                             MBS info:      13042 (     313.4 Hz)
                           Other info:          0 (       0.0 Hz)

   ADC data range bit set:      22757 (     546.9 Hz)

                Timewarps:        ADC:          0 (       0.0 Hz)
                                PAUSE:          0 (       0.0 Hz)
                               RESUME:          0 (       0.0 Hz)
                              SYNC100:          0 (       0.0 Hz)
                           FEE64 disc:          0 (       0.0 Hz)
                             MBS info:          0 (       0.0 Hz)
                            Undefined:          0 (       0.0 Hz)
                         Sample trace:          0 (       0.0 Hz)

 *** Timestamp elapsed time:       41.609 s
 FEE  elapsed dead time(s) elapsed idle time(s)
  1                0.000                0.000
  2                0.070                0.045
  3                0.000                0.000
  4                0.000                0.000
  5                0.000                0.000
  6                0.000                0.000
  7                0.000                0.000
  8                0.000                0.000
  9                0.000                0.000
 10                0.013                0.000
 11                0.000                0.000
 12                0.000                0.000
 13                0.454                0.464
 14                0.000                0.000
 15                0.000                0.000
 16                0.000                0.000
 17                0.039                0.000
 18                0.038                0.000
 19                0.000                0.000
 20                0.001                0.000
 21                0.194                0.204
 22                0.013                0.000
 23                0.000                0.000
 24                0.000                0.000
 25                0.000                0.000
 26                0.000                0.000
 27                0.000                0.000
 28                0.000                0.000
 29                0.000                0.000
 30                0.000                0.000
 31                0.000                0.000
 32                0.000                0.000

 *** Statistics
 FEE  ADC Data Other Data     Sample  Undefined      Pause     Resume    SYNC100       Disc        MBS      Other   HEC Data
  0          0          0          0          0          0          0          0          0          0          0          0
  1    3168013      37257          0          0          0          0      15871      21386          0          0       1698
  2    3678995      45906          0          0          2          2      15845      30057          0          0       1634
  3    1237244      21002          0          0          0          0      15870       5132          0          0        357
  4     330101      23068          0          0          0          0      15871       7197          0          0        505
  5    1831877      28208          0          0          0          0      15871      12337          0          0        549
  6    1669667      42128          0          0          1          1      15871      13213      13042          0        593
  7     387128      21935          0          0          0          0      15871       6064          0          0        535
  8     299362      21446          0          0          0          0      15867       5579          0          0        503
  9    2420755      39666          0          0          0          0      15872      23794          0          0        999
 10    2285592      43237          0          0          1          1      15866      27369          0          0        979
 11     521273      22519          0          0          0          0      15870       6649          0          0        521
 12     789758      25098          0          0          0          0      15871       9227          0          0        667
 13    5725916      26978          0          0          5          5      15701      11267          0          0        586
 14    2314567      31777          0          0          0          0      15870      15907          0          0        833
 15     872104      25031          0          0          0          0      15870       9161          0          0        733
 16     762795      21592          0          0          0          0      15873       5719          0          0        559
 17    1984358      35726          0          0          3          3      15858      19862          0          0        636
 18    2528539      32152          0          0          2          2      15857      16291          0          0        582
 19    2225904      32645          0          0          0          0      15873      16772          0          0       1288
 20    1948594      36277          0          0          1          1      15873      20402          0          0       1492
 21    4040919      57683          0          0          4          4      15796      41879          0          0       1968
 22    2590898      44995          0          0          1          1      15867      29126          0          0       1956
 23    1370908      32214          0          0          0          0      15871      16343          0          0       1241
 24    1331087      28854          0          0          0          0      15869      12985          0          0       1343
 25          0          0          0          0          0          0          0          0          0          0          0
 26          0          0          0          0          0          0          0          0          0          0          0
 27          0          0          0          0          0          0          0          0          0          0          0
 28          0          0          0          0          0          0          0          0          0          0          0
 29          0          0          0          0          0          0          0          0          0          0          0
 30          0          0          0          0          0          0          0          0          0          0          0
 31          0          0          0          0          0          0          0          0          0          0          0
 32          0          0          0          0          0          0          0          0          0          0          0

 *** Timewarps
 FEE       ADC      Pause     Resume    SYNC100       Disc        MBS  Undefined    Samples
  0          0          0          0          0          0          0          0          0
  1          0          0          0          0          0          0          0          0
  2          0          0          0          0          0          0          0          0
  3          0          0          0          0          0          0          0          0
  4          0          0          0          0          0          0          0          0
  5          0          0          0          0          0          0          0          0
  6          0          0          0          0          0          0          0          0
  7          0          0          0          0          0          0          0          0
  8          0          0          0          0          0          0          0          0
  9          0          0          0          0          0          0          0          0
 10          0          0          0          0          0          0          0          0
 11          0          0          0          0          0          0          0          0
 12          0          0          0          0          0          0          0          0
 13          0          0          0          0          0          0          0          0
 14          0          0          0          0          0          0          0          0
 15          0          0          0          0          0          0          0          0
 16          0          0          0          0          0          0          0          0
 17          0          0          0          0          0          0          0          0
 18          0          0          0          0          0          0          0          0
 19          0          0          0          0          0          0          0          0
 20          0          0          0          0          0          0          0          0
 21          0          0          0          0          0          0          0          0
 22          0          0          0          0          0          0          0          0
 23          0          0          0          0          0          0          0          0
 24          0          0          0          0          0          0          0          0
 25          0          0          0          0          0          0          0          0
 26          0          0          0          0          0          0          0          0
 27          0          0          0          0          0          0          0          0
 28          0          0          0          0          0          0          0          0
 29          0          0          0          0          0          0          0          0
 30          0          0          0          0          0          0          0          0
 31          0          0          0          0          0          0          0          0
 32          0          0          0          0          0          0          0          0

 *** MBS Timewarps
 FEE 
  0          0
  1          0
  2          0
  3          0
  4          0
  5          0
  6          1
  7          0
  8          0
  9          0
 10          0
 11          0
 12          0
 13          0
 14          0
 15          0
 16          0
 17          0
 18          0
 19          0
 20          0
 21          0
 22          0
 23          0
 24          0
 25          0
 26          0
 27          0
 28          0
 29          0
 30          0
 31          0
 32          0

 *** Program elapsed time:    3.352s ( 1722.182 blocks/s, 107.636 Mb/s)
Attachment 16: 14.png
14.png
Attachment 17: 15.png
15.png
Attachment 18: 16.png
16.png
Attachment 19: 17.png
17.png
Attachment 20: 18.png
18.png
Attachment 21: R7_1144.txt
 *** TDR format 3.3.0 analyser - TD - June 2017
 ***     MBS information: block:  9718 ptr:     7 data: 0x8682008B module:  6 information type:  8 information field: 0x0002008B ts: 0x1B66E15651F4 OLD ts: 0x1B66E15651F4 MBS 0x:008B0000C7AE OLD MBS 0x:008BC03C079F
 ***     MBS information: block: 21210 ptr:     9 data: 0x8682008C module:  6 information type:  8 information field: 0x0002008C ts: 0x1B68E75EA758 OLD ts: 0x1B68E75EA758 MBS 0x:008C41CC0000 OLD MBS 0x:008C41CCB816
 *** ERROR: READ I/O error:       5002
                   blocks:      29843
          ADC data format:  240078293 ( 1063439.0 Hz)
        Other data format:    3410744 (   15108.1 Hz)
 Sample trace data format:          0 (       0.0 Hz)
         Undefined format:          0 (       0.0 Hz)
   Other data format type:      PAUSE:        115 (       0.5 Hz)
                               RESUME:        115 (       0.5 Hz)
                              SYNC100:    2065214 (    9148.0 Hz)
                           FEE64 disc:    1293904 (    5731.4 Hz)
                             MBS info:      51396 (     227.7 Hz)
                           Other info:          0 (       0.0 Hz)

   ADC data range bit set:      62254 (     275.8 Hz)

                Timewarps:        ADC:          0 (       0.0 Hz)
                                PAUSE:          0 (       0.0 Hz)
                               RESUME:          0 (       0.0 Hz)
                              SYNC100:          0 (       0.0 Hz)
                           FEE64 disc:          0 (       0.0 Hz)
                             MBS info:          0 (       0.0 Hz)
                            Undefined:          0 (       0.0 Hz)
                         Sample trace:          0 (       0.0 Hz)

 *** Timestamp elapsed time:      225.757 s
 FEE  elapsed dead time(s) elapsed idle time(s)
  1                0.194                0.000
  2                0.221                0.000
  3                0.000                0.000
  4                0.000                0.000
  5                0.010                0.000
  6                0.000                0.000
  7                0.000                0.000
  8                0.000                0.000
  9                0.070                0.000
 10                0.075                0.000
 11                0.000                0.000
 12                0.000                0.000
 13                2.431                2.522
 14                0.020                0.000
 15                0.000                0.000
 16                0.000                0.000
 17                0.136                0.000
 18                0.118                0.000
 19                0.036                0.000
 20                0.029                0.000
 21                0.322                0.336
 22                0.024                0.000
 23                0.000                0.000
 24                0.000                0.000
 25                0.000                0.000
 26                0.000                0.000
 27                0.000                0.000
 28                0.000                0.000
 29                0.000                0.000
 30                0.000                0.000
 31                0.000                0.000
 32                0.000                0.000

 *** Statistics
 FEE  ADC Data Other Data     Sample  Undefined      Pause     Resume    SYNC100       Disc        MBS      Other   HEC Data
  0          0          0          0          0          0          0          0          0          0          0          0
  1   16909295     149788          0          0          8          8      86032      63740          0          0       3769
  2   19676382     168147          0          0          7          7      86027      82106          0          0       3589
  3    6633810     103639          0          0          0          0      86106      17533          0          0        942
  4    1659471     106126          0          0          0          0      86106      20020          0          0       1237
  5    9835345     142705          0          0          2          2      86106      56595          0          0       1782
  6    9027427     199002          0          0          0          0      86104      61502      51396          0       1871
  7    2029864     108848          0          0          0          0      86108      22740          0          0       1746
  8    1590046     108080          0          0          0          0      86109      21971          0          0       1830
  9   12883418     166743          0          0          4          4      86080      80655          0          0       2431
 10   12260051     163913          0          0          6          6      86089      77812          0          0       2225
 11    2635472     105427          0          0          0          0      86110      19317          0          0       1164
 12    3974490     111124          0          0          0          0      86106      25018          0          0       1773
 13   28141977     132471          0          0         36         36      85187      47212          0          0       1760
 14   11734833     156366          0          0          3          3      86106      70254          0          0       2927
 15    4564412     115809          0          0          0          0      86112      29697          0          0       2467
 16    3978610     106806          0          0          0          0      86109      20697          0          0       1656
 17   10513615     166692          0          0         16         16      86058      80602          0          0       1730
 18   13595161     160325          0          0          6          6      86069      74244          0          0       1658
 19   11465948     132798          0          0         14         14      86093      46677          0          0       2850
 20    9627439     136510          0          0          3          3      86102      50402          0          0       4118
 21   20155696     218865          0          0          7          7      85988     132863          0          0       6061
 22   13340640     188274          0          0          2          2      86094     102176          0          0       5474
 23    7063492     134640          0          0          0          0      86108      48532          0          0       3522
 24    6781399     127646          0          0          1          1      86105      41539          0          0       3672
 25          0          0          0          0          0          0          0          0          0          0          0
 26          0          0          0          0          0          0          0          0          0          0          0
 27          0          0          0          0          0          0          0          0          0          0          0
 28          0          0          0          0          0          0          0          0          0          0          0
 29          0          0          0          0          0          0          0          0          0          0          0
 30          0          0          0          0          0          0          0          0          0          0          0
 31          0          0          0          0          0          0          0          0          0          0          0
 32          0          0          0          0          0          0          0          0          0          0          0

 *** Timewarps
 FEE       ADC      Pause     Resume    SYNC100       Disc        MBS  Undefined    Samples
  0          0          0          0          0          0          0          0          0
  1          0          0          0          0          0          0          0          0
  2          0          0          0          0          0          0          0          0
  3          0          0          0          0          0          0          0          0
  4          0          0          0          0          0          0          0          0
  5          0          0          0          0          0          0          0          0
  6          0          0          0          0          0          0          0          0
  7          0          0          0          0          0          0          0          0
  8          0          0          0          0          0          0          0          0
  9          0          0          0          0          0          0          0          0
 10          0          0          0          0          0          0          0          0
 11          0          0          0          0          0          0          0          0
 12          0          0          0          0          0          0          0          0
 13          0          0          0          0          0          0          0          0
 14          0          0          0          0          0          0          0          0
 15          0          0          0          0          0          0          0          0
 16          0          0          0          0          0          0          0          0
 17          0          0          0          0          0          0          0          0
 18          0          0          0          0          0          0          0          0
 19          0          0          0          0          0          0          0          0
 20          0          0          0          0          0          0          0          0
 21          0          0          0          0          0          0          0          0
 22          0          0          0          0          0          0          0          0
 23          0          0          0          0          0          0          0          0
 24          0          0          0          0          0          0          0          0
 25          0          0          0          0          0          0          0          0
 26          0          0          0          0          0          0          0          0
 27          0          0          0          0          0          0          0          0
 28          0          0          0          0          0          0          0          0
 29          0          0          0          0          0          0          0          0
 30          0          0          0          0          0          0          0          0
 31          0          0          0          0          0          0          0          0
 32          0          0          0          0          0          0          0          0

 *** MBS Timewarps
 FEE 
  0          0
  1          0
  2          0
  3          0
  4          0
  5          0
  6          2
  7          0
  8          0
  9          0
 10          0
 11          0
 12          0
 13          0
 14          0
 15          0
 16          0
 17          0
 18          0
 19          0
 20          0
 21          0
 22          0
 23          0
 24          0
 25          0
 26          0
 27          0
 28          0
 29          0
 30          0
 31          0
 32          0

 *** Program elapsed time:   42.992s (  694.149 blocks/s,  43.384 Mb/s)
Attachment 22: 19.png
19.png
Attachment 23: 20#.png
20#.png
Attachment 24: 21.png
21.png
  484   Sun Nov 27 12:30:41 2016 AE, PVEnergy loss in Degraders and Implantation for runs 1028 and 1033

Implantation profile in AIDA

    BigRIPS file 1028 (Attachment run1028.png):  Degrader setting: 3 mm Pb(fix) + 0.8 mm W(variable) + 2 mm Al(variable)

    BigRIPS file 1033 (Attachment run1033.png):  Degrader setting: 3 mm Pb(fix) + 0.8 mm W(variable) + 2 mm Al(variable) + 1 mm Al(fix)

    BigRIPS file 1012 is in https://elog.ph.ed.ac.uk/AIDA/478 Degrader setting: 3 mm Pb(fix) + 1.3 mm W(variable) + 2 mm Al(variable)

    Observation: Some Mg isotopes (38, 40) is implanted in last DSSD or out the DSSD stacks. We may need to add more degrader!

 

Equivalent thickness of W, Pb and Al degraders

   The measured implantation profiles agree with LISE estiamtes for the equivalent change in implantation depth for W, Pb and Al. These were estimated with LISE by comparing change of range in Si for 1mm   degrader of each material (see attachments). Note that W produces a larger change in range than Pb (higher density; according to LISE database).

     1 mm Al: 1.15 mm in Si

     1 mm W: 5.40 mm in Si

     1 mm Pb: 3.05 mm in Si

The current configuration (run Mg401033) gives:

    3 mm Pb + 0.8 mm W + 3 mm Al  = 16.9 mm Si

Probably our best alternative (unless we can go in and rearrange fixed degraders) is:

   3 mm Pb + 1.3 mm W + 3 mm Al = 19.6 mm Si: move implantation depth 2.7 mm upstream

Here is a spreadsheet where you can play with the numbers and create test your own solution to the puzzle: https://docs.google.com/spreadsheets/d/1QJp8t98sT3pExAQb3xtHtAvk4TUDVO6alhbLIaNtx8A/edit?usp=sharing

 !!! We did change degrader for the 3mmPb+1.3mmW+3mmAl setting at 22.16 (from AIDA run 26_0); see elog entry https://elog.ph.ed.ac.uk/AIDA/483

Attachment 1: run1028.png
run1028.png
Attachment 2: run1033.png
run1033.png
Attachment 3: 0mm.JPG
0mm.JPG
Attachment 4: 1mmPb.JPG
1mmPb.JPG
Attachment 5: 1mmW.JPG
1mmW.JPG
Attachment 6: 1mmAl.JPG
1mmAl.JPG
  305   Fri Jun 10 21:07:52 2016 AE, DK, TD, ML, MASaturday 11 June 2016
04.51 Start run AIDA18.&nbsp; Beam is back from the operators.
      Scalers are shown as attachment 1
      Leak currents seem okay (all &lt; 5 uA), shown as attachments 2 and 3.
      Discrim levels have a bit of fluctuation depending on the module -- attachment 4
      nnaida24 has some pauses (attachment 5)

09.35 AIDA20* - AIDA24* test runs with no beam, i.e. noise, betas and low rate pulser
      to investigate FEE64 synchronisation 

      AIDA20* nnaida19 data link to Merge program enabled
      AIDA21* - nnaida19 removed from DAQ configuration file (startup.tcl) and server/web browser restarted

12.35 Detector bias & leakage current, FEE temperatures - OK - see attachments 5-7
Attachment 1: Scalers-AIDA18.png
Scalers-AIDA18.png
Attachment 2: bias1_AIDA18_1106-0456.png
bias1_AIDA18_1106-0456.png
Attachment 3: bias2_AIDA18_1106-0457.png
bias2_AIDA18_1106-0457.png
Attachment 4: StatsDiscrim_AIDA18_1106-0501.png
StatsDiscrim_AIDA18_1106-0501.png
Attachment 5: StatsPause_AIDA18_1106-0506.png
StatsPause_AIDA18_1106-0506.png
Attachment 6: 1.png
1.png
Attachment 7: 2.png
2.png
Attachment 8: 3.png
3.png
  499   Tue Nov 29 19:07:35 2016 AE, CG, ATS, ATF11 conditions after change to C target in F8 [light particles?]

The main experiment changed to a carbon reaction target at F8 (similar thickness of CH2 previously used), and retuned the ZDS. First BigRIPS run after retuning is 40Mg_1093 (at 2:29 am, Nov 30th)

The background at F11 has increased. The neutron backgroun incresead by a factor of ~10. The rates of visual scalers also increased; for example Si Top/Bottom from about 50 Hz to 300 Hz (see attachment 1).

One possible explanation are higher light particle rate at F11. By comparing the PID for C target (attachment 2) with that of CH2 target setting (e.g. https://elog.ph.ed.ac.uk/AIDA/492), it looks like the new conditions have a higher transmission for A/Q=3 fragments (3H et al). Also, in the new setting the Si isotopes are also transmitted to F11.

The implantation depth is still good; same as we had for C target at F8 (compare 40Al distribution in attachment 3 with what we had before).

Attachment 1: visual_scal_4am_Cin_F7.png
visual_scal_4am_Cin_F7.png
Attachment 2: pid_r1093.png
pid_r1093.png
Attachment 3: imp_ch2.png
imp_ch2.png
Attachment 4: pid_ch2.png
pid_ch2.png
Attachment 5: hits_ch2.png
hits_ch2.png
  135   Mon Dec 14 19:25:35 2015 AE, CG ,PhongMerger/TapeServer trouble report
Sat. 12/12/15

Working with a 8-FEE setup (as in https://elog.ph.ed.ac.uk/AIDA/133). We could open a file with the 
TapeServer. Merger also seems to be working (cursor spinning, and merge statistics ~ok). However the 
TapeServer doesn’t write anything to disk (just empty an file).

A few observations; I only took ‘systematic’ notes after we had reduced the number of FEEs to 8, but it's 
likely we were also facing the same problems before with a full system:

+ When enabling data transfer from NNAIDA modules (in Run Control page), it switches to the right mode for 
all FEEs except for NNAIDA5. NNAIDA5 is the master FEE. The merger also doesn’t show any stats for NNAIDA5 
(but stats look ok for all other FEEs). The spectra for NNAIDA5 look ok, so the FEE is generating data.

+ A few times we observe the following behavior: DAQ running without trouble. We start Merger+TapeServer, 
and when attempting some actions in RunControl (start-stop, or reset), we loose the ability to communicate 
with a number of FEEs. These FEEs can not perform a ReSYNC, and the only way to get them back to life is 
going through a power cycle. It seems like the TaperServer or Merger is somehow upsetting the FEEs or the 
DAQ. We can still ‘ping’ all FEEs, even after the ‘connect failed’ message. 

Attached are a few screenshots, and the text in the terminals for Merger and TapeServer. The following is 
the error returned by one FEE when we can’t ReSync them:


STATE for nnaida3 returned with an error
connect failed 
NONE
connect failed 
    while executing
"::http::geturl http://nnaida3:8015/DataAcquisitionControlServer -headers {} -type text/xml -timeout 20000 
-query {<?xml version="1.0" encoding="UTF-8"..."
    ("eval" body line 1)
    invoked from within
"eval [list ::http::geturl $url] $args"
    (procedure "::http::geturl_followRedirects" line 4)
    invoked from within
"::http::geturl_followRedirects http://nnaida3:8015/DataAcquisitionControlServer -headers {} -type 
text/xml -timeout 20000 -query {<?xml version="1.0" ..."
    ("eval" body line 1)
    invoked from within
"eval ::http::geturl_followRedirects [list $url]  -headers [list $local_headers]  -type text/xml  -timeout 
$timeout  -query [list $request]  $local_pro..."
    (procedure "::SOAP::Transport::http::xfer" line 61)
    invoked from within
"$transport $procVarName $url $req"
    (procedure "::SOAP::invoke" line 18)
    invoked from within
"::SOAP::invoke ::SOAP::_DataAcquisitionControlClient__GetState"
    ("eval" body line 1)
    invoked from within
"eval ::SOAP::invoke ::SOAP::_DataAcquisitionControlClient__GetState $args"
    (procedure "DataAcquisitionControlClient__GetState" line 1)
    invoked from within
"DataAcquisitionControlClient__GetState"
GET OPTION for nnaida3 returned with an error
connect failed 
NONE
connect failed 
    while executing
"::http::geturl http://nnaida3:8015/DataAcquisitionControlServer -headers {} -type text/xml -timeout 60000 
-query {<?xml version="1.0" encoding="UTF-8"..."
    ("eval" body line 1)
    invoked from within
"eval [list ::http::geturl $url] $args"
    (procedure "::http::geturl_followRedirects" line 4)
    invoked from within
"::http::geturl_followRedirects http://nnaida3:8015/DataAcquisitionControlServer -headers {} -type 
text/xml -timeout 60000 -query {<?xml version="1.0" ..."
    ("eval" body line 1)
    invoked from within
"eval ::http::geturl_followRedirects [list $url]  -headers [list $local_headers]  -type text/xml  -timeout 
$timeout  -query [list $request]  $local_pro..."
    (procedure "::SOAP::Transport::http::xfer" line 61)
    invoked from within
"$transport $procVarName $url $req"
    (procedure "::SOAP::invoke" line 18)
    invoked from within
"::SOAP::invoke ::SOAP::_DataAcquisitionControlClient__GetOption NetVar=NetVar.DACQ.Chistenable"
    ("eval" body line 1)
    invoked from within
"eval ::SOAP::invoke ::SOAP::_DataAcquisitionControlClient__GetOption $args"
    (procedure "DataAcquisitionControlClient__GetOption" line 1)
    invoked from within
"DataAcquisitionControlClient__GetOption "$AcqGetOption""
Attachment 1: master_no_data_transfer.png
master_no_data_transfer.png
Attachment 2: master_no_data_transfer.png
master_no_data_transfer.png
Attachment 3: error_when_stop_daq_merger_running.png
error_when_stop_daq_merger_running.png
Attachment 4: error_show_1_3_8_kaput.png
error_show_1_3_8_kaput.png
Attachment 5: out_term.txt
=> "Httpd for Merger/Tape Server" terminal:



System identified is CPU x86_64; Platform is unix; OS is Linux and Version is 2.6.32-504.8.1.el6.x86_64
Environment selected is CPU x64_64; Platform unix; OS Linux64 and Operating System Linux64
MIDASBASE = /MIDAS@aidas and MIDAS_LIBRARY = /MIDAS@aidas/TclHttpd/Linux64
PATH = /MIDAS@aidas/bin_Linux64:/MIDAS@aidas/TclHttpd/Linux64:/homes/npg/root/bin:/homes/npg/root/bin:/homes/npg/root/lib:/MIDAS/Linux/bin64:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin
package limit is not available: can't find package limit
Running with default file descriptor limit
package setuid is not available: can't find package setuid
Could not change to user 50 group 50: not owner
/debug user "debug" password "aegc.ur9z+3w"
httpd started on port 8115

Custom startup from /MIDAS@aidas/config/TclHttpd/aidas1@8115/startup.tcl
/TapeServer
/DataBaseAccessServer
Loaded MemSasAccess
/SpectrumService
/NetVarService
/SigTaskService
loading tcl/MERGERunControl.tcl for namespace ::
/DataAcquisitionControlServer
DefineMessage unknown
Run Control Server Implementation for MERGE
RunControlServer loaded
loading Html/RunControl/implementation.tcl for namespace ::
RunControl loaded
loading Html/MERGE/RunControl/implementation.tcl for namespace ::
ReadRegister failed: Name=NetVar.EXEC.ID; Code= 0x10004; Info= Register name does not exist
created SigTask registers 0 0  0 0
Created UI registers
MERGE RunControl loaded
Completed custom startup from /MIDAS@aidas/TclHttpd/Html/MERGE/RunControl/stats.defn.tcl
Shared memory area located at 0x7f6b51f67000
Tape Server comms table located at 0x7f6b51f67000
setup Merge
DataAcqCommand: 1 Halt
Halt (1)
DataAcqCommand: 8 Unmapping spectra
Unmapping spectra (1)
DataAcqCommand: 3 Setup
Setup (1)
go Merge
DataAcqCommand: 3 connect xfer stream
connect xfer stream (1)
DataAcqCommand: 2 Go
Go (1)
DataAcqCommand: 16 MergeStart
MergeStart (1)












=> "Merger" terminal:
.
.
.
MERGE Data Link (25178): Started with args 27 11000 11028
MERGE Data Link (25170): MIDAS MERGE Data Link Build Aug 12 2014
MERGE Data Link (25178): Configuration: index = 27, SHM key=11000, TCP port = 11028
MERGE Data Link (25178): File mapped object /SHM_11000 accessed
MERGE Data Link (25178): Shared memory ID is 3
MERGE Data Link (25178): Memory mapping 402732 bytes
MERGE Data Link (25178): Shared memory segment located at address 0x7f9815f0a000.
MERGE Data Link (25178): File mapped object /SHM_11001 accessed
MERGE Data Link (25178): Shared memory ID is 3
MERGE Data Link (25178): Memory mapping 1073741824 bytes
MERGE Data Link (25178): Shared memory segment located at address 0x7f97d5f0a000.
MERGE Data Link (25172): Message Initialisation failed.
MERGE Data Link (25172): Message logger not contacted.
MERGE Data Link (25181): Message Initialisation failed.
MERGE Data Link (25181): Message logger not contacted.
MERGE Data Link (25170): Started with args 19 11000 11020
MERGE Data Link (25170): Configuration: index = 19, SHM key=11000, TCP port = 11020
MERGE Data Link (25170): File mapped object /SHM_11000 accessed
MERGE Data Link (25170): Shared memory ID is 3
MERGE Data Link (25170): Memory mapping 402732 bytes
MERGE Data Link (25170): Shared memory segment located at address 0x7f5e73f1b000.
MERGE Data Link (25170): File mapped object /SHM_11001 accessed
MERGE Data Link (25170): Shared memory ID is 3
MERGE Data Link (25170): Memory mapping 1073741824 bytes
MERGE Data Link (25170): Shared memory segment located at address 0x7f5e33f1b000.
MRGE Stats created and initialised
MERGE Data Link (25153): Starting the network interface
MERGE Data Link (25153): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25153): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25153): MERGE Data Link using TCP port 11003.
MERGE Data Link (25153): Entering server loop
MERGE Data Link (25153): listening on port 11003
MERGE Data Link (25180): Started with args 29 11000 11030
MERGE Data Link (25180): Configuration: index = 29, SHM key=11000, TCP port = 11030
MERGE Data Link (25180): File mapped object /SHM_11000 accessed
MERGE Data Link (25180): Shared memory ID is 3
MERGE Data Link (25180): Memory mapping 402732 bytes
MERGE Data Link (25180): Shared memory segment located at address 0x7fdf8abed000.
MERGE Data Link (25180): File mapped object /SHM_11001 accessed
MERGE Data Link (25180): Shared memory ID is 3
MERGE Data Link (25180): Memory mapping 1073741824 bytes
MERGE Data Link (25180): Shared memory segment located at address 0x7fdf4abed000.
MERGE Data Link (25172): MIDAS MERGE Data Link Build Aug 12 2014
MERGE Program (25183): Message Initialisation failed.
MERGE Program (25183): Message logger not contacted.
MERGE Program (25183): MIDAS MERGE Program (64-bit) Build Sep  3 2014
MERGE Program (25183): Started with args 11000
MERGE Program (25183): Configuration: SHM key=11000
MERGE Program (25183): File mapped object /SHM_11000 accessed
MERGE Program (25183): Shared memory ID is 3
MERGE Program (25183): Memory mapping 402732 bytes
MERGE Program (25183): Shared memory segment located at address 0x7f520d167000.
MERGE Program (25183): File mapped object /SHM_11001 accessed
MERGE Program (25183): Shared memory ID is 3
MERGE Program (25183): Memory mapping 1073741824 bytes
MERGE Program (25183): Shared memory segment located at address 0x7f51cd167000.
Creating NetVars #2
MERGE Data Link (25181): MIDAS MERGE Data Link Build Aug 12 2014
MERGE Data Link (25172): Started with args 21 11000 11022
MERGE Data Link (25172): Configuration: index = 21, SHM key=11000, TCP port = 11022
MERGE Data Link (25172): File mapped object /SHM_11000 accessed
MERGE Data Link (25172): Shared memory ID is 3
MERGE Data Link (25172): Memory mapping 402732 bytes
MERGE Data Link (25172): Shared memory segment located at address 0x7ff8a4728000.
MERGE Data Link (25172): File mapped object /SHM_11001 accessed
MERGE Data Link (25172): Shared memory ID is 3
MERGE Data Link (25172): Memory mapping 1073741824 bytes
MERGE Data Link (25172): Shared memory segment located at address 0x7ff864728000.
Output buffer length = 65504; format option = 4; transfer option = 3
NetVars created and initialised
MRGE Stats created and initialised
MERGE Data Link (25157): Starting the network interface
MERGE Data Link (25157): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25157): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25157): MERGE Data Link using TCP port 11007.
MERGE Data Link (25157): Entering server loop
MERGE Data Link (25157): listening on port 11007
MRGE Stats created and initialised
MERGE Data Link (25160): Starting the network interface
MERGE Data Link (25160): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25160): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25160): MERGE Data Link using TCP port 11010.
MERGE Data Link (25160): Entering server loop
MERGE Data Link (25160): listening on port 11010
MERGE Data Link (25181): Started with args 30 11000 11031
MERGE Data Link (25181): Configuration: index = 30, SHM key=11000, TCP port = 11031
MERGE Data Link (25182): Message Initialisation failed.
MERGE Data Link (25181): File mapped object /SHM_11000 accessed
MERGE Data Link (25182): Message logger not contacted.
MERGE Data Link (25181): Shared memory ID is 3
MERGE Data Link (25181): Memory mapping 402732 bytes
MERGE Data Link (25181): Shared memory segment located at address 0x7ffbe639a000.
MERGE Data Link (25181): File mapped object /SHM_11001 accessed
MERGE Data Link (25181): Shared memory ID is 3
MERGE Data Link (25181): Memory mapping 1073741824 bytes
MERGE Data Link (25181): Shared memory segment located at address 0x7ffba639a000.
MRGE Stats created and initialised
MERGE Data Link (25154): Starting the network interface
MERGE Data Link (25154): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25154): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25154): MERGE Data Link using TCP port 11004.
MERGE Data Link (25154): Entering server loop
MERGE Data Link (25154): listening on port 11004
MERGE Data Link (25182): MIDAS MERGE Data Link Build Aug 12 2014
MERGE Data Link (25182): Started with args 31 11000 11032
MERGE Data Link (25182): Configuration: index = 31, SHM key=11000, TCP port = 11032
MERGE Data Link (25182): File mapped object /SHM_11000 accessed
MERGE Data Link (25182): Shared memory ID is 3
MERGE Data Link (25182): Memory mapping 402732 bytes
MERGE Data Link (25182): Shared memory segment located at address 0x7f2495805000.
MERGE Data Link (25182): File mapped object /SHM_11001 accessed
MERGE Data Link (25182): Shared memory ID is 3
MERGE Data Link (25182): Memory mapping 1073741824 bytes
MERGE Data Link (25182): Shared memory segment located at address 0x7f2455805000.
MRGE Stats created and initialised
MERGE Data Link (25167): Starting the network interface
MERGE Data Link (25167): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25167): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25167): MERGE Data Link using TCP port 11017.
MERGE Data Link (25167): Entering server loop
MERGE Data Link (25167): listening on port 11017
MRGE Stats created and initialised
MERGE Data Link (25152): Starting the network interface
MERGE Data Link (25152): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25152): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25152): MERGE Data Link using TCP port 11002.
MERGE Data Link (25152): Entering server loop
MERGE Data Link (25152): listening on port 11002
MRGE Stats created and initialised
MERGE Data Link (25169): Starting the network interface
MERGE Data Link (25169): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25169): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25169): MERGE Data Link using TCP port 11019.
MERGE Data Link (25169): Entering server loop
MERGE Data Link (25169): listening on port 11019
MRGE Stats created and initialised
MERGE Data Link (25158): Starting the network interface
MERGE Data Link (25158): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25158): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25158): MERGE Data Link using TCP port 11008.
MERGE Data Link (25158): Entering server loop
MERGE Data Link (25158): listening on port 11008
MRGE Stats created and initialised
MERGE Data Link (25166): Starting the network interface
MERGE Data Link (25166): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25166): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25166): MERGE Data Link using TCP port 11016.
MERGE Data Link (25166): Entering server loop
MERGE Data Link (25166): listening on port 11016
MRGE Stats created and initialised
MERGE Data Link (25174): Starting the network interface
MERGE Data Link (25174): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25174): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25174): MERGE Data Link using TCP port 11024.
MERGE Data Link (25174): Entering server loop
MERGE Data Link (25174): listening on port 11024
MRGE Stats created and initialised
MERGE Data Link (25175): Starting the network interface
MERGE Data Link (25175): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25175): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25175): MERGE Data Link using TCP port 11025.
MERGE Data Link (25175): Entering server loop
MERGE Data Link (25175): listening on port 11025
MRGE Stats created and initialised
MERGE Data Link (25180): Starting the network interface
MERGE Data Link (25180): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25180): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25180): MERGE Data Link using TCP port 11030.
MERGE Data Link (25180): Entering server loop
MERGE Data Link (25180): listening on port 11030
MRGE Stats created and initialised
MERGE Data Link (25179): Starting the network interface
MERGE Data Link (25179): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25179): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25179): MERGE Data Link using TCP port 11029.
MERGE Data Link (25179): Entering server loop
MERGE Data Link (25179): listening on port 11029
MRGE Stats created and initialised
MERGE Data Link (25178): Starting the network interface
MERGE Data Link (25178): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25178): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25178): MERGE Data Link using TCP port 11028.
MERGE Data Link (25178): Entering server loop
MERGE Data Link (25178): listening on port 11028
MRGE Stats created and initialised
MERGE Data Link (25161): Starting the network interface
MERGE Data Link (25161): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25161): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25161): MERGE Data Link using TCP port 11011.
MERGE Data Link (25161): Entering server loop
MERGE Data Link (25161): listening on port 11011
MRGE Stats created and initialised
MERGE Data Link (25151): Starting the network interface
MERGE Data Link (25151): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25151): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25151): MERGE Data Link using TCP port 11001.
MERGE Data Link (25151): Entering server loop
MERGE Data Link (25151): listening on port 11001
MRGE Stats created and initialised
MERGE Data Link (25182): Starting the network interface
MERGE Data Link (25182): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25182): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25182): MERGE Data Link using TCP port 11032.
MERGE Data Link (25182): Entering server loop
MERGE Data Link (25182): listening on port 11032
MRGE Stats created and initialised
MERGE Data Link (25181): Starting the network interface
MERGE Data Link (25181): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25181): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25181): MERGE Data Link using TCP port 11031.
MERGE Data Link (25181): Entering server loop
MERGE Data Link (25181): listening on port 11031
MRGE Stats created and initialised
MERGE Data Link (25156): Starting the network interface
MERGE Data Link (25156): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25156): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25156): MERGE Data Link using TCP port 11006.
MERGE Data Link (25156): Entering server loop
MERGE Data Link (25156): listening on port 11006
MRGE Stats created and initialised
MERGE Data Link (25168): Starting the network interface
MERGE Data Link (25168): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25168): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25168): MERGE Data Link using TCP port 11018.
MERGE Data Link (25168): Entering server loop
MERGE Data Link (25168): listening on port 11018
MRGE Stats created and initialised
MERGE Data Link (25173): Starting the network interface
MERGE Data Link (25173): TCP socket receive buffer was 87380 - now 249856
MERGE Data Link (25173): TCP socket send buffer was 16384 - now 249856
MERGE Data Link (25173): MERGE Data Link using TCP port 11023.
MERGE Data Link (25173): Entering server loop
... 317 more lines ...
  112   Tue Jul 14 18:06:54 2015 AE, CG[Data Analysis] Correlation Scaler timestamp in PID data (go4_30**.root)
The attached plots show the time-stamp data in the EURICA files with PID information (EventInfo.timestamp). The
timestamp value should correspond to the correlation scaler included as info_code==8 in AIDA. 

The plots show time-stamp vs entry number in the TTree of the Root file, with the events in groups of about 10
*.root files counted consecutively. To map entry-number to data file use informatino of number of entries per
file in the lines bellow (output of analysis script). NOTE: label for plots in right colume is wrong, trigger
type=3 (pulser) in stead of 2.

The final three plots (pulser_dts_go4_3022*.png) show the time difference between two sequential data points of a
given trigger type (fBit==2 or 3). The value that would correspond to the external scaler (fBit==3) has a peak at
about delta(ts)= 1.7 sec, but also a lot of events with a distribution centered around a smaller value of
delta(ts)~ 10 msec! One can also see the deadtime at about 300 usec at a smaller scale. The units for the
time-stamp are 1-ns.

A plot of a similar distribution for the data in AIDA shows that the peak of the correlation scaler has, in this
case, a very narrow distribution, with a frequency of ~43.5e6 x 40 ns (would agree with Go4 data from EURICA).

When scanning the files the analysis script (attached) skips a given number of entries (~100) to speed up the
analysis.


Number of entries in PID tree= 2592193 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3002.root
(accumulated= 2592193)
Number of entries in PID tree= 2570084 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3003.root
(accumulated= 5162277)
Number of entries in PID tree= 676355 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3004.root
(accumulated= 5838632)
Number of entries in PID tree= 2582203 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3005.root
(accumulated= 8420835)
Number of entries in PID tree= 2602541 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3006.root
(accumulated= 11023376)
Number of entries in PID tree= 2602681 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3007.root
(accumulated= 13626057)
Number of entries in PID tree= 2605726 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3008.root
(accumulated= 16231783)
Number of entries in PID tree= 2606264 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3009.root
(accumulated= 18838047)
Number of entries in PID tree= 2603841 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3010.root
(accumulated= 21441888)
Number of entries in PID tree= 2599770 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3011.root
(accumulated= 24041658)

Number of entries in PID tree= 2601002 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3012.root
(accumulated= 2601002)
Number of entries in PID tree= 2598946 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3013.root
(accumulated= 5199948)
Number of entries in PID tree= 2596582 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3014.root
(accumulated= 7796530)
Number of entries in PID tree= 2596506 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3015.root
(accumulated= 10393036)
Number of entries in PID tree= 2588772 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3016.root
(accumulated= 12981808)
Number of entries in PID tree= 2583160 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3017.root
(accumulated= 15564968)
Number of entries in PID tree= 2589905 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3018.root
(accumulated= 18154873)
Number of entries in PID tree= 2581979 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3019.root
(accumulated= 20736852)
Number of entries in PID tree= 2582410 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3020.root
(accumulated= 23319262)
Number of entries in PID tree= 2582181 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3021.root
(accumulated= 25901443)

Number of entries in PID tree= 2580798 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3022.root
(accumulated= 2580798)
Number of entries in PID tree= 2580669 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3023.root
(accumulated= 5161467)
Number of entries in PID tree= 2583346 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3024.root
(accumulated= 7744813)
Number of entries in PID tree= 2645673 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3025.root
(accumulated= 10390486)
Number of entries in PID tree= 1984963 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3026.root
(accumulated= 12375449)
Number of entries in PID tree= 2629453 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3027.root
(accumulated= 15004902)
Number of entries in PID tree= 2636095 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3028.root
(accumulated= 17640997)
Number of entries in PID tree= 2639067 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3029.root
(accumulated= 20280064)
Number of entries in PID tree= 2643485 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3030.root
(accumulated= 22923549)
Number of entries in PID tree= 2644457 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3031.root
(accumulated= 25568006)

Number of entries in PID tree= 2643522 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3032.root
(accumulated= 2643522)
Number of entries in PID tree= 2641053 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3033.root
(accumulated= 5284575)
Number of entries in PID tree= 2637280 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3034.root
(accumulated= 7921855)
Number of entries in PID tree= 2627822 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3035.root
(accumulated= 10549677)
Number of entries in PID tree= 2637326 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3036.root
(accumulated= 13187003)
Number of entries in PID tree= 2635601 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3037.root
(accumulated= 15822604)
Number of entries in PID tree= 2606912 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3038.root
(accumulated= 18429516)
Number of entries in PID tree= 2635101 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3039.root
(accumulated= 21064617)
Number of entries in PID tree= 2634932 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3040.root
(accumulated= 23699549)
Number of entries in PID tree= 2633415 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3041.root
(accumulated= 26332964)

Number of entries in PID tree= 2633892 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3042.root
(accumulated= 2633892)
Number of entries in PID tree= 2640264 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3043.root
(accumulated= 5274156)
Number of entries in PID tree= 2612700 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3044.root
(accumulated= 7886856)
Number of entries in PID tree= 2632762 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3045.root
(accumulated= 10519618)
Number of entries in PID tree= 1962430 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3046.root
(accumulated= 12482048)
Number of entries in PID tree= 2611491 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3047.root
(accumulated= 15093539)
Number of entries in PID tree= 2649244 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3048.root
(accumulated= 17742783)
Number of entries in PID tree= 2679210 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3049.root
(accumulated= 20421993)
Number of entries in PID tree= 518667 for file /Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_3050.root
(accumulated= 20940660)
Attachment 1: scaler_r3002_3011.png
scaler_r3002_3011.png
Attachment 2: scaler_r3012_3021.png
scaler_r3012_3021.png
Attachment 3: scaler_r3022_3031.png
scaler_r3022_3031.png
Attachment 4: scaler_r3032_3041.png
scaler_r3032_3041.png
Attachment 5: scaler_r3042_3050.png
scaler_r3042_3050.png
Attachment 6: PlotRIBF.C
#include <bitset>
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <sstream>
#include <string>

#include <TFile.h>
#include <TTree.h>
#include <TH1.h>
#include <TH2.h>
#include <TCanvas.h>
#include <TGraph.h>
#include <TRandom3.h>

//#include "Common.h"


//using namespace std;




//variables sorted in decreasing oredr of size: from TTree.html

/*
 * struct struct_entry_midas{
  unsigned long tm_stp_lsb;
  unsigned long info_field;
  
  //  unsigned short sample_data[4];
  unsigned short adc_data;
  unsigned short sample_lenght;
  
  unsigned char type;
  unsigned char mod_id;
  unsigned char ch_id;
  unsigned char adc_range;
  unsigned char info_code;
  
};
*/



//void Plot(string runNum, int Nskip=1, long long Nmax=-1, double ts_0= 0, double ts_1= 20e12, double t_ext_0= 0, double t_ext_1= 10e10, double offset_z=20e12, double t_ext_0_z=0, double t_ext_1_z=10e10){
void Plot(int run0, int Nrun, int Nskip=1, long long Nmax=-1, double kentry_max=1000, double ts_0=0, double ts_1= 500000, int Nskip2= 100){

  /***********
  struct dssd_hits{
    Long64_t t;
    Long64_t t_ext;
    int x;
    int y;
    int z;
    int ex;
    int ey;
    int flag;
  };
  
  struct calib_data_struct{

    double time_aida;
    double time_disc;
    double time_external;
    double adc_energy;
    int adc_data;
    int dssd;
    int strip;
    unsigned char adc_range;
    unsigned char side;
    unsigned char module;
    unsigned char channel;
    unsigned char data_type;
    unsigned char info_code;
    bool corr_flag; //if we have a good calculation of offset EXT->AIDA
    bool disc_flag; //if we have good DISC value for ADC hit
  };



  struct unpack_data_struct{
    unsigned long tm_stp;
    unsigned long corr_scaler;
    unsigned long tm_stp_lsb;  //least significant bits timestamp
    unsigned long info_field;
    unsigned int adc_data;
    unsigned int sample_length;
    unsigned char data_type;
    unsigned char fee64_id;
    unsigned char ch_id;
    unsigned char adc_range;
    unsigned char info_code;
    bool sync_flag;
  };
  ******************/

  TFile* input_file1; 
  TFile* input_file2; 
  TFile* input_file3; 

  TTree * tree1;
  TTree * tree2;
  TTree * tree3;

  //  unpack_data_struct unpack_data;
  //  calib_data_struct calib_data;
  //  dssd_hits event_data;


  Long64_t delta_long64;
  double delta_double;

  Long64_t offset_long64;
  //offset_long64= offset_z;



  //  TFile* input_file;
  //  TTree * input_tree;
 

  //TH1I * hTs;
  //TH2I * hFeeAdc;
  //TH2I * hFeeCh;
  //TH1I * hAdc[24];
  //TH2I * hTsAdc[24];
  //  TH1I * Hdt_ext;
 


  //  TCanvas * c0;
  //  c0= new TCanvas("c0","c0"); c0->Divide(4,4); //deltaunp


  //  for(int i=0;i<16;i++){
  //
  //    char my_title[256];
  //    char my_name[256];
  //    sprintf(my_name,"hDeltaUnp%d",i);
  //    sprintf(my_title,"#Delta time-stamp !FEE%d;t_{CORR. SCALER} - t_{AIDA}",i+1);

    //  hDeltaUnp[i]= new TH1I(my_name, my_title, 2048, t_ext_0, t_ext_1);
  //  }






  ULong64_t my_tm_stp;
  UInt_t my_bit;
  Float_t my_Z;

  ULong64_t a_tm_stp[1];
  UInt_t a_bit[1];
  Float_t a_Z[10];

  string runName;
  string path="/Disk/ds-sopa-personal/aestrade/rootfiles/AIDA/May2015/";


  char pid_file[1024];

  //number of data points in TTree
  long long n_entries;
  long long n_max;
  long long n_entries_sum=0;
  long long delta_ts;


  double t3[10001];
  double x3[10001];
  double t2[10001];
  double x2[10001];
  int n3=0;
  int n2=0;

  //  int Nskip2=100; //take 1/100 points for any trigger type

  TH2I * hT3= new TH2I("hT3","time-stamp for trigger=2;entry num. [1/1e3];time-stamp [1/1e6]",1000,0,kentry_max,1000,ts_0,ts_1);
  TH2I * hT2= new TH2I("hT2","time-stamp for any trigger;entry num. [1/1e3];time-stamp [1/1e6]",1000,0,kentry_max,1000,ts_0,ts_1);

  /********/
   const Int_t kMaxEventInfo = 1;
   const Int_t kMaxBigRIPSRaw = 10;


   Int_t           EventInfo_;
   Int_t           BigRIPSRaw_;

   ULong64_t       EventInfo_timestamp[kMaxEventInfo];   //[EventInfo_]
   UInt_t          EventInfo_fBit[kMaxEventInfo];   //[EventInfo_]
   Float_t         BigRIPSRaw_Zed_F11[kMaxBigRIPSRaw];   //[BigRIPSRaw_]

   TBranch        *b_EventInfo_;   //!
   TBranch        *b_BigRIPSRaw_;   //!

   TBranch        *b_EventInfo_timestamp;   //!
   TBranch        *b_EventInfo_fBit;   //!
   TBranch        *b_BigRIPSRaw_Zed_F11;   //!

   cout << endl << endl;

  for(int k=0;k<Nrun;k++){
    
    sprintf(pid_file,"/Disk/ds-sopa-group/np/RIKEN/May2015/PID_data/go4_%d.root",run0+k);
    input_file1 = new TFile(pid_file,"read");
    
    tree1= (TTree*) input_file1->Get("tree");
    if(!tree1){
      cout <<"\n\nNOOOOOOOOOOOO TREEEEEEEEEEEEEEEEEEEEEEEEE"<<endl;
      return;
    }

    //   tree1->Print();
    tree1->SetMakeClass(1);  // important!
    
    tree1->SetBranchAddress("EventInfo", &EventInfo_, &b_EventInfo_);
    tree1->SetBranchAddress("BigRIPSRaw", &BigRIPSRaw_, &b_BigRIPSRaw_);
    
    //    tree1->SetBranchAddress("EventInfo.timestamp",&my_tm_stp,0);
    //    tree1->SetBranchAddress("BigRIPSRaw.Zed_F11",&my_Z,0);
    //    tree1->SetBranchAddress("EventInfo.fBit",&my_bit,0);
    
    //    tree1->SetBranchAddress("EventInfo.timestamp",a_tm_stp,0);
    //tree1->SetBranchAddress("BigRIPSRaw.Zed_F11",a_Z,0);
    //    tree1->SetBranchAddress("EventInfo.fBit",a_bit,0);
    
    tree1->SetBranchAddress("EventInfo.timestamp", EventInfo_timestamp, &b_EventInfo_timestamp);
    tree1->SetBranchAddress("EventInfo.fBit", EventInfo_fBit, &b_EventInfo_fBit);
    tree1->SetBranchAddress("BigRIPSRaw.Zed_F11", BigRIPSRaw_Zed_F11, &b_BigRIPSRaw_Zed_F11);
    
    //  tree1->SetBranchAddress("EventInfo.timestamp", EventInfo_timestamp, 0);
    //    tree1->SetBranchAddress("EventInfo.fBit", EventInfo_fBit, 0);
    //tree1->SetBranchAddress("BigRIPSRaw.Zed_F11", BigRIPSRaw_Zed_F11, 0);
    
    //    tree1->SetBranchAddress("EventInfo.timestamp", EventInfo_timestamp, 0);
    //    tree1->SetBranchAddress("EventInfo.fBit", EventInfo_fBit, 0);
    //    tree1->SetBranchAddress("BigRIPSRaw.Zed_F11", BigRIPSRaw_Zed_F11, 0);

    //tree1->SetBranchStatus("EventInfo.timestamp",1);
    // tree1->SetBranchStatus("BigRIPSRaw.Zed_F11",1);
    //    tree1->SetBranchStatus("EventInfo.fBit",1);


    n_entries = tree1->GetEntries();
    //  n_entries_sum+= n_entries;
    
    cout << "Number of entries in PID tree= " << n_entries << " for file "<< pid_file<< " (accumulated= "<<n_entries_sum+n_entries<<")"<<endl;
    
    //  int module;

    if(Nmax>0 && Nmax<n_entries) n_max= Nmax;
    else n_max= n_entries;

    int i2=0;

    //  cout << "\nBIT  : TS  : Z"<<endl;
    for(long long i=0; i< n_max; i=i+Nskip){
      //tree1->LoadTree(i);

      //      cout << "loaded..."<<endl;
      tree1->GetEntry(i);

      hT2->Fill((i+n_entries_sum)/1e3,  EventInfo_timestamp[0]/1e6);
      if(n2<10000 && (i2%Nskip2) ==0){
	x2[n2]=(i+n_entries_sum)/1e3;
	t2[n2]=  EventInfo_timestamp[0]/1e6;
	n2++;
      }
      i2++;


      if(EventInfo_fBit[0]==3){
	hT3->Fill((i+n_entries_sum)/1e3,  EventInfo_timestamp[0]/1e6);
	if(n3<10000){
	  x3[n3]=(i+n_entries_sum)/1e3;
	  t3[n3]=  EventInfo_timestamp[0]/1e6;
	  n3++;
	}
      }
      else if(EventInfo_fBit[0]!=2){
	cout<< "i: "<<i<<" \t"<<     EventInfo_timestamp[0]<<" \t";   //[EventInfo_]
	cout<<     EventInfo_fBit[0]<<" \t";   //[EventInfo_]
	cout<<     BigRIPSRaw_Zed_F11[0]<<endl;   //[BigRIPSRaw_]
      }

      /***************
      if(i < 33){
	cout<< "i: "<<i<<" \t"<<     EventInfo_timestamp[0]<<" \t";   //[EventInfo_]
	cout<<     EventInfo_fBit[0]<<" \t";   //[EventInfo_]
	cout<<     BigRIPSRaw_Zed_F11[0]<<endl;   //[BigRIPSRaw_]
      }

      if(EventInfo_fBit[0] != 2){
	cout<< "i: "<<i<<" \t"<<     EventInfo_timestamp[0]<<" \t";   //[EventInfo_]
	cout<<     EventInfo_fBit[0]<<" \t";   //[EventInfo_]
	cout<<     BigRIPSRaw_Zed_F11[0]<<endl;   //[BigRIPSRaw_]
      }
... 32 more lines ...
Attachment 7: pulser_dts_go4_3022.png
pulser_dts_go4_3022.png
Attachment 8: pulser_dts_go4_3022_Z0.png
pulser_dts_go4_3022_Z0.png
Attachment 9: pulser_dts_go4_3022_Z1.png
pulser_dts_go4_3022_Z1.png
Attachment 10: pulser_dts_aida_r51_3_Z1.png
pulser_dts_aida_r51_3_Z1.png
  493   Mon Nov 28 15:53:39 2016 AE, AT, RG, CGDAQ synchronization

We noticed a peculiar feature in the time-stamp synchronization monitor. The spectra of timestamp difference between pairs of DAQ systems show, for all possible pair combinations, a peak at Delta(ts)= 65535 = 2**15

This corresponds to a difference of 2.6 ms (for 25MHz correlation clock). See the attachments taken ~23:00 of Nov 28th.

We performed the AIDA system-wide checks (no errors) and a timestamp reset, but the second peak at 65K is still there (we also checked that there is no peak at 2*65K, at least in a short run period).

We also observed a double peak for timestam-differences close to zero, which we interpret as good correlations (attachment 2). Note, however, that this double peak became much supprese around midnight (see attachment 6 and 7).

From analysis of ion (BigRIPS) and implant (AIDA) correlations we have some confidence that these two DAQs are synchronized; see entry https://elog.ph.ed.ac.uk/AIDA/492 where we identify an implant for 20% ofions at F11 (and with an implantatin profile that, for example, is consistent with changes to the degrader configuration)

 

Attachment 1: sync_vs_ribf.png
sync_vs_ribf.png
Attachment 2: sync_vs_ribf_zoom_0.png
sync_vs_ribf_zoom_0.png
Attachment 3: sync_vs_ribf_zoom_65k.png
sync_vs_ribf_zoom_65k.png
Attachment 4: sync_vs_briken.png
sync_vs_briken.png
Attachment 5: sync_vs_aida.png
sync_vs_aida.png
Attachment 6: sync_vs_aida_zoom_0.png
sync_vs_aida_zoom_0.png
Attachment 7: sync_vs_briken_zoom_0b.png
sync_vs_briken_zoom_0b.png
  65   Wed Apr 22 07:28:25 2015 AE (PM)Mechanical setup instructions: AIDA+EURICA at F11
Attached are Paul Morrall's instructions on how to move new AIDA support table into place, for a setup with 
EURICA at F11 (March 2015).
Attachment 1: AIDA_procedure_document.docx
  63   Tue Apr 21 09:39:00 2015 AELISE estimates for implantation setup [updated]
[UPDATED 22/4: initial LISE file had incorrect thickness for MACi plastic]

Calculations for Al degrader thickness required to implant ions in AIDA DSSD stack.

Calculations are based on LISE files from main experiment, and done for settings with expected longest and shortest range 
of 
ions 
before implantation setup: 
- LISE++ for the 95Br BigRIPS setting : B1_U_BefissionZDSLAA_95Br_6mmF1.lpp
- LISE++ for the 85Ga BigRIPS setting : B1_U_BefissionZDSLAA_85Ga_6mmF1.lpp

Setup after last beamline detector (IC): 180cm Air + Al degrader + MACi (7mm plastic@45 degrees) + AIDA (3mm silicon) + 
thick 
Al 
plate (1 cm).


+ 84Zn setting (long range):

 - Al degrader of 1 mm required in front of implantation setup to stop 84Zn activity in AIDA (end of stack).  The range in 
Si 
is 
reduced by ~1.1 mm per each mm of Al added in degrader. 

 - Activity from heavier (more intense) isotopes seems to be implanted at similar location as more exotic isotopes (always 
considering 1p knockout channel, might be worth looking also at unreacted channels).

+ 94Se setting (short range):
 
 - Activity stopped before AIDA. We'll need to remove MACi if we want ions implanted in AIDA (unless the tail of energy 
distribution 
after secondary target is very large).
 
 - If we remove the MACi plastic, we would need 2 to 3 mm of Al degrader to stop ions in AIDA (assuming the 1mm veto after 
segmented 
MACi plastics remain).



See attachments for detailed description
Attachment 1: LISE_estimates_84Zn.docx
Attachment 2: LISE_estimates_94Se.docx
  75   Tue Apr 28 05:59:48 2015 AE"beta" trigger from MACB Trigger outputs
We've constructed a beta trigger with the signals from the p-side of the three DSSDs (OR of all fast
discriminator channels of each FEE).

det1 -> NNAIDA#6 -> MACB#10.2
det1 -> NNAIDA#10 -> MACB#3.4
det2 -> NNAIDA#2 -> MACB#10.3
det2 -> NNAIDA#14 -> MACB#3.2
det3 -> NNAIDA#1 -> MACB#10.4
det3 -> NNAIDA#13 -> MACB#3.3

beta-trigger is OR of all above MACB trigger outputs. Diagram for logic circuit is in paper logbook.


Bellow are some oscilloscope sceenshots. Some things to note about the MACB trigger outputs:

- all show multiple outputs for each pulser input. Some channels seem to have higher level for such 'multiplicity'.

- the width of the outputs varies for different channels (from ~40 ns to ~300 ns)

- the delay between the pulser signal and the output from the MACB is quite large, and also different for each
MACB (measured from ~800 ns up to 2 usec).


Scope screenshots: 

 - light blue is the trigger output from Pulser
 - dark blue is output from trigger channel of MACB

 MACB#10.2: tek00001.tif
 MACB#3.4: tek00002.tif
 MACB#10.3: tek00005.tif
 MACB#3.2: tek00007.tif
 MACB#10.4: tek000011.tif
 MACB#3.3: tek000018.tif
Attachment 1: tek00001.tif
tek00001.tif
Attachment 2: tek00002.tif
tek00002.tif
Attachment 3: tek00005.tif
tek00005.tif
Attachment 4: tek00007.tif
tek00007.tif
Attachment 5: tek00011.tif
tek00011.tif
Attachment 6: tek00018.tif
tek00018.tif
ELOG V3.1.4-unknown