AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  nToF, Page 2 of 6  ELOG logo
  ID Date Author Subjectdown
  54   Fri Aug 11 09:11:04 2023 AnniePulse Settings
Attachment 1: IMG_2908.JPG
IMG_2908.JPG
Attachment 2: IMG_2909.JPG
IMG_2909.JPG
Attachment 3: IMG_2910.JPG
IMG_2910.JPG
Attachment 4: IMG_2911.JPG
IMG_2911.JPG
  57   Fri Aug 11 10:12:02 2023 AnniePressure, voltage and current check
Attachment 1: IMG_2915.JPG
IMG_2915.JPG
Attachment 2: IMG_2916.JPG
IMG_2916.JPG
Attachment 3: IMG_2918.JPG
IMG_2918.JPG
  94   Fri Jul 18 12:04:36 2025 CLWPresence at CERN

Excel sheet for presence at CERN during 41Ca run. Please update if required. 

https://docs.google.com/spreadsheets/d/19OzH7bpnHb-YeOskNBGlrhEkPZmDsPDw9y0tleU0Soo/edit?gid=0#gid=0

  5   Tue Oct 13 21:04:49 2015 Claudia LedererPhotos of Test Setup 5-10 October 2015

some photos in high resolution of the test setup 5-10 October 2015

Attachment 1: DSC00042.JPG
DSC00042.JPG
Attachment 2: DSC00048.JPG
DSC00048.JPG
Attachment 3: DSC00056.JPG
DSC00056.JPG
Attachment 4: DSC00065.JPG
DSC00065.JPG
  47   Thu Aug 10 09:55:50 2023 CLWPhotos of Chamber, Al26 Run Aug23
Attachment 1: 20230809_120302.jpg
20230809_120302.jpg
Attachment 2: 20230809_120309.jpg
20230809_120309.jpg
Attachment 3: 20230809_153802.jpg
20230809_153802.jpg
Attachment 4: 20230809_153809.jpg
20230809_153809.jpg
Attachment 5: 20230809_153821.jpg
20230809_153821.jpg
Attachment 6: Beamline_Chamber_Spacing.JPG
Beamline_Chamber_Spacing.JPG
Attachment 7: Assembled_Setup_Back.JPG
Assembled_Setup_Back.JPG
Attachment 8: Assembled_Setup_Back_Zoom.JPG
Assembled_Setup_Back_Zoom.JPG
Attachment 9: Final_Assembly_Front.JPG
Final_Assembly_Front.JPG
Attachment 10: Mounting_Bolts.JPG
Mounting_Bolts.JPG
Attachment 11: Mounting_Clamps.JPG
Mounting_Clamps.JPG
Attachment 12: EAR2_Pillars_Mount_Side.JPG
EAR2_Pillars_Mount_Side.JPG
Attachment 13: EAR2_Pillars_Mount_Front.JPG
EAR2_Pillars_Mount_Front.JPG
  48   Thu Aug 10 10:04:13 2023 CLWPhotos inside chamber Al26 run Aug2023
Attachment 1: 20230809_174847.jpg
20230809_174847.jpg
Attachment 2: 20230809_174905.jpg
20230809_174905.jpg
Attachment 3: 20230809_174943.jpg
20230809_174943.jpg
Attachment 4: Empty_Frame_Inside_Front.JPG
Empty_Frame_Inside_Front.JPG
Attachment 5: Empty_Frame_Inside_Sideview.JPG
Empty_Frame_Inside_Sideview.JPG
Attachment 6: Empty_Frame_Inside_Back.JPG
Empty_Frame_Inside_Back.JPG
Attachment 7: Assembly_Interior_Back.JPG
Assembly_Interior_Back.JPG
Attachment 8: Assembly_Interior_Front.JPG
Assembly_Interior_Front.JPG
  52   Thu Aug 10 16:11:57 2023 TD, NS, ARNoise
Observe c. 2mV p to p noise with DSO ( Z_in = 50 Ohm ) c. 60us period with HF structure. DSO connected to junction box via 34-way IDC - 16x Lemo-00 adaptor.

Origin of noise upstream of 4x34-way to 8x16-way Junction Box. Not microphonics from Edwards RV5 Rotary Pump.
No change observed with simple ground connections between NIM bin/+/-15V PSU/Junction Box and MSL type W1 preamplifier units/vacuum chamber/support assembly.


Estimate of electronic noise

Pulser BNC PB-5

Amplitude 0.5V
Attenuation x1
Decay time 1ms
Frequency 50Hz

Preamplifier RAL108
Output impedance 100 Ohm
Sensitivity 20mV/MeV ( into high Z load ), 6.7mV/MeV ( into 50 Ohm load ) 

Amplifier EG&G Ortec 571
Input terminated by 50 Ohm
Gain x1 (internal) x 1.0 (fine gain) x 50 (coarse gain ) = 50
Shaping time 0.5us

MCA Amptek 8000D
Input FSR 10V
12 bit ADC


Nominal gain = 6.7mV/MeV x 50 = 335mV/MeV

12 bit ADC input FSR = 10V / 0.335V/MeV = 29.85MeV FSR or 7.3keV/channel


dE p+n junction strip # 4 ( of 0-15 )

pulser peak centroid = 799.8 ch
pulser peak width = 7.8 ch FWHM = 57 keV FWHM


E p+n junction strip # 4 ( of 0-15 )

pulser peak centroid = 864.8ch
pulser peak width = 3.5 ch FWHM = 26 keV FWHM


E n+n Ohmic strip # 4 ( of 0-15 )

pulser peak centroid = 913.0 ch
pulser peak width = 5.3 ch FWHM = 39 keV FWHM


Noise estimates are probably accurate to c. 10% level.
Attachment 1: 20230810_162959.JPG
20230810_162959.JPG
Attachment 2: IMG_2906.jpeg
IMG_2906.jpeg
Attachment 3: 20230810_164219.JPG
20230810_164219.JPG
  56   Fri Aug 11 10:02:08 2023 TD, NS, ARNoise
Check RAL108 +/-15V PSU

Measured output voltages +15.21V -15.18V - OK

Observe output voltages with DSO ( ch #1 AC/1M +15V, ch #2 AC/1M -15V ) - see attachments 1 & 2

What we should observe is c. 1mV rms ( white ) noise but we clearly observe similar noise transients ( c. 60us period with HF structure ) to those observed at RAL108 
outputs. The RAL108 preamplifier units do have RC filters on the +/-15V - typically c. 100 Ohm and 4.7uF. Some additional, inline filtering with a lower rolloff 
frequency may be required.

> 
> Observe c. 2mV p to p noise with DSO ( Z_in = 50 Ohm ) c. 60us period with HF structure. DSO connected to junction box via 34-way IDC - 16x Lemo-00 adaptor.
> 
> Origin of noise upstream of 4x34-way to 8x16-way Junction Box. Not microphonics from Edwards RV5 Rotary Pump.
> No change observed with simple ground connections between NIM bin/+/-15V PSU/Junction Box and MSL type W1 preamplifier units/vacuum chamber/support assembly.
> 
> 
> Estimate of electronic noise
> 
> Pulser BNC PB-5
> 
> Amplitude 0.5V
> Attenuation x1
> Decay time 1ms
> Frequency 50Hz
> 
> Preamplifier RAL108
> Output impedance 100 Ohm
> Sensitivity 20mV/MeV ( into high Z load ), 6.7mV/MeV ( into 50 Ohm load ) 
> 
> Amplifier EG&G Ortec 571
> Input terminated by 50 Ohm
> Gain x1 (internal) x 1.0 (fine gain) x 50 (coarse gain ) = 50
> Shaping time 0.5us
> 
> MCA Amptek 8000D
> Input FSR 10V
> 12 bit ADC
> 
> 
> Nominal gain = 6.7mV/MeV x 50 = 335mV/MeV
> 
> 12 bit ADC input FSR = 10V / 0.335V/MeV = 29.85MeV FSR or 7.3keV/channel
> 
> 
> dE p+n junction strip # 4 ( of 0-15 )
> 
> pulser peak centroid = 799.8 ch
> pulser peak width = 7.8 ch FWHM = 57 keV FWHM
> 
> 
> E p+n junction strip # 4 ( of 0-15 )
> 
> pulser peak centroid = 864.8ch
> pulser peak width = 3.5 ch FWHM = 26 keV FWHM
> 
> 
> E n+n Ohmic strip # 4 ( of 0-15 )
> 
> pulser peak centroid = 913.0 ch
> pulser peak width = 5.3 ch FWHM = 39 keV FWHM
> 
> 
> Noise estimates are probably accurate to c. 10% level.
Attachment 1: 20230811_104233.jpg
20230811_104233.jpg
Attachment 2: 20230811_104253.jpg
20230811_104253.jpg
  104   Thu Sep 18 14:11:29 2025 CLW, EONew processing

Comparison strip 6 amplitude spectra anew (red) vs (old) processing (Screenshot). Slight shift in amplitude and slightly less counts with new processing in t+alpha peaks (1% level). This could be either due to less noise background, shift in neutron energy calibration (amplitude spectra shown with a cut of 100 keV). pdf plot shows new vs old for neutron energy vs counts. only minor differences at low neutron energy, new processing makes spectra cleaner at higher energy.

Shape of the Li 240 keV resonance is shifted in new processing - either due to different offset in tof-ene calibration, or time stamp for signals in one of the processing versions is wrong. Need a new comparison to simulated spectra. 

Attachment 1: Screenshot_2025-09-18_at_12.27.35.png
Screenshot_2025-09-18_at_12.27.35.png
Attachment 2: newprocessing.pdf
newprocessing.pdf
  79   Sat Sep 14 09:30:40 2024 TDNeutron beam profile
Neutron beam profile - film exposure overnight 12/13.9.24
Attachment 1: 20240914_101751.jpg
20240914_101751.jpg
  64   Tue Aug 15 11:41:27 2023 TD, NSMonday 14 August - vacuum chamber pressure
08.35 Vacuum chamber pressure OK - see attachment 1
Attachment 1: 20230814_083514.jpg
20230814_083514.jpg
  72   Thu Dec 7 09:48:23 2023 EmmanuelMWDdetector and User Input

MWDdetector and UserInput

Attachment 1: UserInput_Silicons.h
                                                 DETECTOR SPECIFIC PARAMETERS (Lines may be commented with '#' sign!)
===================================================================================================================================================================================================================================
DETECTOR   DETECTOR   DETECTOR STEP   TIMING    MIXED     EXPAND   SMOOTHING     TIME          G-FLASH    G-FLASH     G-FLASH    G-FLASH   BASELINE   BASELINE   AMPLITUDE   AMPLITUDE   AREA/AMP.   AREA/AMP.   SIGNAL WIDTH   SIGNAL WIDTH    NUMBER OF     PULSE SHAPE
  NAME      NUMBER     CLASS   SIZE   FILTER   POLARITY   PULSES    FILTER       LIMIT         OPTION    THRESHOLD   MIN_WIDTH   WINDOW     OPTION     FILTER     OPTION     THRESHOLD   LOW THR.    HIGH THR.     LOW THR.       HIGH THR.    PULSE SHAPES     ADDRESS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PKUP          0         PSA   350/6      0        0          3       100     100000              0         100.        1.         0          -1       300        0              100         0.0        2000              1            4000            0

#################################
#    MWD PARAMETERS V6.2    #
#    Date: 10-Aug-2023      #
#################################
#################################

#                             Threshold   Polarity  PoleZeroCorr    DeconWindow      AvergWin    MAWindows  gain/offset   Gamma_Threshold    Amp_Threshold    fixed Dead time(ns)  time_diff_baselne    tailtime      time_const

EDET         1         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         2         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         3         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         4         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         5         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         6         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         7         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         8         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         9         MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         10        MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         11        MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         12        MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         13        MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         14        MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         15        MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20
EDET         16        MWD      1600            -1         5E5           150              40      1 60         16.0/0.0        100                6500             550                    1500            2      20

EDET         17        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         18        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         19        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         20        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         21        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         22        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         23        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         24        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         25        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         26        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         27        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         28        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         29        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         30        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         31        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20
EDET         32        MWD      800             1         5E5           150             40      1 60         16.0/0.0        100                6800             550                    1500            2      20

DEED         1         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200            550                    1500            2      20
DEED         2         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         3         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         4         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         5         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         6         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         7         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         8         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         9         MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         10        MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         11        MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         12        MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         13        MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         14        MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         15        MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20
DEED         16        MWD       30             -1         5E5            150             40      1 51         1.0/0.0         100                200             550                    1500            2      20

Attachment 2: MWDdetector.cc
/*
 * $Id$
 *
 * Author:	Sarah-Jane Lonsdale
 * Date:	02-Dec-2015
 * Version:     5.1 (8-Aug-2017)
 * Update:	Claudia Lederer-Woods
 * Date:	31-May-2018
 * Version:     6.0 (31-May-2018)
 * Update:	Nikolay Sosnin
 * Date:	24-Nov-2022
 * Version:     6.1 (24-Nov-2022)
 */

#include <math.h>
#include <string.h>
#include <iostream>
#include <iomanip>
#include <cmath>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <TFile.h>
#include <TH1F.h>
#include <TString.h>

using namespace std;

#include "MWDdetector.h"

void FormatHist(TH1D* h, TString name, TString title, TString xtitle, TString ytitle, int color, int width, int marker_color, int marker_style);

bool MWDDetector::parseConfigLine(char* line, const char* settings_file)
{
	cout << "Config: " << line << endl;
	if (!Detector::parseConfigLine(line)) return false;

	// threshold
	char* pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid Threshold" << endl;
		return false;
	}
	threshold = atof(pch);

	// polarity
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid negative polarity" << endl;
		return false;
	}
	polarity = atoi(pch);
	if (polarity>=0)
		polarity = 1;
	else
		polarity = -1;

	// pole zero correction
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid pole zero correction" << endl;
		return false;
	}
	pz = atof(pch);

	// deconvolution window
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid deconvolution window" << endl;
		return false;
	}
	m = atoi(pch);

	// average window
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid average window" << endl;
		return false;
	}
	l = atoi(pch);

	// presample
	pch = strtok(NULL," "); //NS: 27.07.2023
	if (!pch) {
		cerr << "UserInput: Invalid presample" << endl;
		return false;
	}
	presample = atoi(pch);
	
	//averaging windows 2
	pch = strtok(NULL," "); //NS: 27.07.2023
	if (!pch) {
		cerr << "UserInput: Invalid presample" << endl;
		return false;
	}
	window = atoi(pch);

	// presample/averaging window 2
	/*if (!parse2real(&presample, &window)) {
		cerr << "UserInput: Invalid averager 1/2" << endl;
		return false;
	}*/

	// gain/offset
	if (!parse2real(&gain, &offset)) {
		cerr << "UserInput: Invalid gain/offset" << endl;
		return false;
	}

	// gamma flash search start
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid gamma_threshold" << endl;
		return false;
	}
	g_threshold = atoi(pch);

	// minimum amp_threshold
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid amp_threshold" << endl;
		return false;
	}
	amp_threshold = atoi(pch);

	// gamma flash primary (additional) offset
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: Invalid fixed Dead time(ns)" << endl;
		return false;
	}
	gamma_time_primary = atoi(pch);//SL 08/07/17

	// time different for baseline determination
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: time_diff_baselne" << endl;
		return false;
	}
	time_diff_baseline = atoi(pch);//SL 08/07/17

	// time after g flash which has undershoot
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: tailtime" << endl;
		return false;
	}
	tailtime = atoi(pch);//SL 08/07/17


	// Time constant
	pch = strtok(NULL," ");
	if (!pch) {
		cerr << "UserInput: time_const" << endl;
		return false;
	}
	time_const = atoi(pch);  // 28/08/23


	return true;
} // parseConfigLine

int MWDDetector::analysis(
				ntof::lib::ReaderStructEVEH& eveh,	// EVEH event information
				ntof::lib::ReaderStructMODH& modh,	// MODH header information
				ntof::lib::ReaderStructACQC& acqc,	// ACQC pulse record
				PulseVector*   pulsevec,		// vector of pulses
				int movie_number,
				bool html)				// I: movie number
{
	Detector::analysis(eveh, modh, acqc, pulsevec, movie_number, html);

	double rate = modh.getSampleRate();
	int NofPeaks = 0;
	TString name = modh.getDetectorType();
	
	//double g_threshold = 2000; //move to .h file                           //CHANGED
	double tdiffsig = gamma_time_primary; 
	double tdiffbase = time_diff_baseline; // consider moving to h file
	int aver = presample;             //
	//double tailtime = 100000;  // time up to which there is an undershoot after gflash

	double* x          = new double[length_of_movie];
	double* xsmooth    = new double[length_of_movie]; //13.3.18
	double* xsmooth_ma = new double[length_of_movie]; //NS 22.05.2023
	double* y          = new double[length_of_movie];
	double* z          = new double[length_of_movie];
	double* zdiff      = new double[length_of_movie]; //13.3.18
	double* mwd_m      = new double[length_of_movie];
	double* ma_l       = new double[length_of_movie];	// moving average array
	double* mwd_deriv  = new double[length_of_movie];	// mwd derivative

	double timeScale = 1000.0 / rate; // in ns/Sample

	for(int i = 0; i < length_of_movie; i++){
	
		x[i] = polarity * (acqc[i] * gain + offset);
		y[i] = z[i] = zdiff[i] = xsmooth[i] = 0.0;         //13.3.18
	}
                                                //CHANGED
	int startofevent = aver / 2;
	
	//Averaging preamplifier output
	for(int i = startofevent; i < length_of_movie; i++){
		
		xsmooth[i] = 0.;
		
		for(int j = -1 * (aver - 1) / 2; j <= (aver - 1) / 2; j++){
			
			xsmooth[i] += x[i + j];                         
		}
		
		xsmooth[i] /= aver;
	}

	//Extra moving average test
	//const double window = 39.;
	int startofevent2 = window / 2; //NS 22.05.2023
	
	for(int i = startofevent2; i < length_of_movie; i++){
		
		xsmooth_ma[i] = 0.;
		
		for(int j = -1 * (window - 1) / 2; j <= (window - 1) / 2; j++){
			
			xsmooth_ma[i] += xsmooth[i + j];                         
		}
		
		xsmooth_ma[i] /= window;
	}

	// Locating maximum and minimum of derivative
	if(verbose){cout << "Begin amplitude extraction." << endl;}

	// Parameters for semi-gauss discriminator
	//const double time_const = 0; // SL 12/08/16 Emmanuel
	const double pole_zero = 5.e5;
	double a0, a1, b1;

	b1 = exp(-1. / int(time_const));
	a0 = (1. + b1) / 2.0;
	a1 = -1. * (1. + b1) / 2.0;

	// Single pole high pass with pz correction
	for(int i = 1; i < length_of_movie; i++){
		
		//y[i] = b1 * y[i - 1] + a0 * xsmooth[i] + a1 * xsmooth[i - 1] + xsmooth[i - 1] / pole_zero;
		y[i] = b1 * y[i - 1] + a0 * xsmooth_ma[i] + a1 * xsmooth_ma[i - 1] + xsmooth_ma[i - 1] / pz;
	}

	// Single pole low pass filter
	for(int i = 1; i < length_of_movie; i++){
	
		z[i] = b1 * z[i - 1] + a0 * y[i];
	}

	// devirative of filters
	for(int i = 1; i < length_of_movie; i++){
	
		zdiff[i] = -1. * z[i - 1] + z[i];
	}

	//bool beamType = false;
	
	//if(eveh.getBeamType() != 1){beamType = true;}

	double twait = 16000.; // introduce different time window for baseline depending on ded or par CLW 31/05/18

	/*if(eveh.getBeamType() == 2){twait = 13000.;} // dedicated
	if(eveh.getBeamType() == 3){twait = 19000.;} // parasitic
	else{twait = 16000.;}*/     

	////////////////////////////////////////
	//          MWD and filtering         //
	////////////////////////////////////////

	// moving window deconvolution
	for(int i = startofevent + m; i < length_of_movie; i++){ // SL 10/08/16   // 13/03/18 MWD on smoothed 
	
		//double d_m  = xsmooth[i] - xsmooth[i - m];
	  double d_m  = xsmooth_ma[i] - xsmooth_ma[i - m];
		double ma_m = 0.;

		for(int j = (i - m); j < (i - 1); j++) {
		
			//ma_m += xsmooth[j];
			ma_m += xsmooth_ma[j];
		}

		mwd_m[i] = d_m + ma_m / pz;
	}

	// moving average
	//for(int i = l + m + gamma_flash; i < length_of_movie; i++){ // SL 10/08/16
	for(int i = l + m; i < length_of_movie; i++){ // NS 31.07.2023
		
		ma_l[i] = 0.;

... 285 more lines ...
  74   Tue Apr 16 12:24:01 2024 EmmanuelMWD amplitude (dE and E)
Attachment 1: 26Al_PDF.pdf
26Al_PDF.pdf 26Al_PDF.pdf 26Al_PDF.pdf 26Al_PDF.pdf 26Al_PDF.pdf 26Al_PDF.pdf 26Al_PDF.pdf 26Al_PDF.pdf
  43   Thu Jul 27 11:53:52 2023 TDMSL type W1 detector data for 26Al(n,X) experiment EAR2, n_TOF
MSL type W1(SS)-20

3186-9  20um Depletion voltage 3V Operating voltage 6V
3585-12 20um Depletion voltage 2V Operating voltage 4V

MSL type W1(DS)-150

3458-1 157um Depletion voltage 22V Operating voltage 52V
3458-4 144um Depletion voltage 18V Operating voltage 48V
  96   Mon Aug 4 16:32:56 2025 SelinLithium Consistency Check

These are the consistency checks done for Lithium sample.

Please note that in the earlier runs, the cables 22 and 23 were switched.

Attachment 1: Li1-8.png
Li1-8.png
Attachment 2: Li9-16.png
Li9-16.png
Attachment 3: Li17-24.png
Li17-24.png
Attachment 4: Li25-32.png
Li25-32.png
  12   Thu Jul 28 16:00:43 2016 SarahList of to-dos

Process alpha data
- Compare pulser width and alpha width to calibration spectra (shaping amp with 1us and gain 50x)
- Does photodiode data process OK or is it a problem with the oscillations?

Process LiF data
- Any pile up issues? Problems with gamma flash?

 

Online monitoring:
- Check leakage every few days, check lab temp.
- Check alpha peaks of 26Al contaminants - Gd, B.
 

  93   Wed Jul 16 13:56:00 2025 CLWLinks to photos and proton counting excel sheet

Photos setup

Excel Sheet 

  70   Thu Sep 28 15:32:16 2023 EmmanuelLiF sample in

We switched from 10B target (number 1) to LiF target (number 3). We planned to take this measurement for one day.

Attachment 1: 20230928_154334.jpg
20230928_154334.jpg
Attachment 2: 20230928_155923.jpg
20230928_155923.jpg
Attachment 3: 20230926_115053.jpg
20230926_115053.jpg
Attachment 4: 20230928_155747.jpg
20230928_155747.jpg
  55   Fri Aug 11 09:17:28 2023 AnnieLi target scans

Processed scans of both sides of the Li target showing the beam spot, and an image showing what it looks like to the eye.

Attachment 1: 7Li_foil_side1_post_processed.pdf
7Li_foil_side1_post_processed.pdf 7Li_foil_side1_post_processed.pdf
Attachment 2: 7Li_foil_side2_post_processed.pdf
7Li_foil_side2_post_processed.pdf 7Li_foil_side2_post_processed.pdf
Attachment 3: IMG_2914.JPG
IMG_2914.JPG
  17   Tue Aug 2 08:14:26 2016 SarahLeakage currents spreadsheet (26/07- 01/08)

 Steady for dE, E. Possibly rising on PHDI- monitor closely.

Attachment 1: Leakage_currents.xlsx
ELOG V3.1.3-7933898