AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  nToF, Page 4 of 6  ELOG logo
Entry  Sat Jul 12 11:34:31 2025, Selin, Detector-Cable Connections Detector-Cable.pdf

List of the detectors and the connections.

Entry  Thu Aug 10 09:20:37 2023, CLW, Detector Signal Cabling Al26 Aug 2023 8x
delta E detector Cabling
Lemo Box Output Number Signal Cable Bunker Patch Panel Number Signal Cable Rack Area FADC Number DAQ Channel
0 72 2204803 9 02911 DEED-1
1 73 2204804 10 02911 DEED-2
2 74 2204805 11 02911 DEED-3
3 75 2204806 12 02911 DEED-4
4 76 2204807 13 02914 DEED-5
5 77 2204808 14 02914 DEED-6
6 80 2204809 15 02914 DEED-7
7 81 2204810 16 02914 DEED-8
8 82 2204811 17 02917 DEED-9
9 85 2204812 18 02917 DEED-10
10 86 2204813 19 02917 DEED-11
11 87 2204814 20 02917 DEED-12
12 88 2204815 21 02916 DEED-13
13 90 2204816 22 02916 DEED-14
14 95 2204817 23 02916 DEED-15
15 96 2204818 24 02916 DEED-16
E p side cabling
Lemo Box Output Number Signal Cable Bunker Patch Panel Number Signal Cable Rack Area FADC Number DAQ Channel
0 97 2204819 25 4683 EDET-1
1 101 2204820 26 4683 EDET-2
2 103 2204821 27 4683 EDET-3
3 104 2204822 28 4683 EDET-4
4 105 2204823 29 4684 EDET-5
5 106 2204824 30 4684 EDET-6
6 107 2204825 31 4684 EDET-7
7 108 2204826 32 4684 EDET-8
8 109 2204827 33 4682 EDET-9
9 110 2204828 34 4677 EDET-10
10 111 2204829 35 4682 EDET-11
11 112 2204830 36 4682 EDET-12
12 113 2204831 37 4697 EDET-13
13 114 2204832 38 4697 EDET-14
14 116 2204833 39 4697 EDET-15
15 117 2204834 40 4697 EDET-16
E n side cabling
Lemo Box Output Number Signal Cable Bunker Patch Panel Number Signal Cable Rack Area FADC Number DAQ Channel
0 118 2204835 41 5348? EDET-17
1 119 2204836 42 5348? EDET-18
2 120 2204837 43 5348? EDET-19
3 121 2204838 44 5348? EDET-20
4 123 2204839 45 4677 EDET-21
5 124 2204840 46 4677 EDET-22
6 125 2204841 47 4677 EDET-23
7 126 2204842 48 2872 EDET-24
8 127 2204843 49 4636 EDET-25
9 128 2204844 50 4636 EDET-26
10 129 2204845 51 4636 EDET-27
11 130 2204846 52 4636 EDET-28
12 131 2204847 53 4674 EDET-29
13 132 2204848 54 4674 EDET-30
14 133 2204849 55 4674 EDET-31
15 134 2204850 56 4674 EDET-32

 

Entry  Thu Aug 10 09:10:02 2023, CLW, Detector Setup Al26 Run 2023 20230809_181749.jpg20230809_181758.jpg20230809_172545.jpg20230809_172442.jpg

dE Detector: W1-20 3186-9 20 um

E Detector: W1-150 3458-4 144 um

Voltages and Leakage Currents:

dE: 6 V, 0.02 muA

E: 50 V, 0.05 muA

Entry  Thu Aug 17 10:26:51 2023, Nikolay Sosnin, Data Processing 

To run raw2root on LXPLUS, you will need to add the following line to your .bashrc, performed using

gedit ~/.bashrc &

then paste line at the bottome of the file

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/afs/cern.ch/user/n/ntofuser/public

then save and close the gedit (a linux text editor similar to Windows Notepad). Text file .bashrc is responsible for setting correct paths to various system settings when you log in. The line above sets correct libraries for raw2root from the n_TOF official directories.

 

The old version of raw2root which I use is stored in a directory on EOS accessible via LXPLUS:

cd /eos/home-n/nsosnin/public/raw2root

If you examine the contents of the directory using command ls, there will be two folders: ntoflib and prg. The relative location of these folders on your system should always be the same, and you do not need to do anything in the ntoflib directory, so we can explore the next directory

cd prg && ls

Command cd means change directory and ls is list contents, double-& chains commands in a sequence. Your terminal should now display two more directories: detector and raw2root. detector is a list of codes for various detector types, examine its contents with ls detector. We use MWDdetector.cc and its library header file MWDdetector.h. All the filters are defined and can be changed in MWDdetector.cc, which is a C++ code. You can browse and change its contents with gedit. raw2root codes, however, are run from the raw2root directory, so let's change to it

cd raw2root && ls

When you list the contents of this directory there will be many files, none of which you need to edit. There will also be a directory called Traces, which I created as the default location for signal traces to be written, if relevant sections of MWDdetector.cc are uncommented (discussed below). If you are happy with the contents of MWDdetector.cc, you need to re-compile raw2root. Using C++ code, unlike some others, is a two-step process: compilation and execution. Various bits of code in raw2root and its libraries are put together into one executable file called raw2root during compilation stage, and then the code can be run by executing the executable. To compile raw2root, you need to be in its directory, which you can check by typing in

pwd

which should then display /eos/home-n/nsosnin/public/raw2root/prg/raw2root and if you it displays something else, use

cd /eos/home-n/nsosnin/public/raw2root/prg/raw2root

To compile raw2root in this directory use

make clean && make proper && make

The code will start compiling and do so for a while. It will display some warnings associated with other older n_TOF codes. There should, however, be no errors. If there are errors, something went wrong in MWDdetector.cc, so try troubleshooting it by Googling the errors (the line with the error will also display two numbers, something like error: MWDdetector.cc:1211:45, and the the second number is the line where the problem occurred). C++ errors are a dark art though, so feel free to contact me for help.

If the compilation displays no errors (woo!), the code compiled successfully. To test it, two things are needed: UserInput file and .raw.finished file. UserInput file called UserInput_Silicons.h, which I use, is already stored in that directory. If you examine it with gedit, you will see lines with detector names and numbers and the filtering parameters. The parameters are read in at the top of MWDdetector.cc in order, so you can follow the variables they are read into throughout the code to figure out which parameter does what (this is not an easy task!).

.raw.finished files are binary data files with detector signal traces, which raw2root filters and makes into ROOT files. These need to be downloaded from CERN servers (I left two example ones in the directory though). While the experiment is running these are stored, but will eventually be deleted, so if they don't download, contact me on staging data (i.e. writing it onto servers again after deletion). To download such a binary file for this experiment to the directory you are in use

xrdcp xroot://eosctapublicdisk.cern.ch//eos/ctapublicdisk/archive/ntof/2023/EAR2/26Al_DSSSD/216408/stream1/run216408_1_s1.raw.finished .

Here, xrdcp command is CERN's own copying command, which takes data from the directory listed in the command. I have highlighted above in yellow the bits you may need to change in the command. The first two are simply run number. The last one is the data segment. n_TOF data within a run are subdivided into 20 proton bunch segments, so one such .raw.finished file that you download contains 20 bunches (which is a very small amount of data, so if you need mass_processing, contact me or Fran (francisco.garcia.infantes@cern.ch) at n_TOF). You can download different segments by changing this number. Bunches 1-20 are in segment 0, bunches 21-40 in segment 1, etc.

Once you have downloaded the file of interest execute raw2root with command

./raw2root -p UserInput_Silicons.h -f run216408_1_s1.raw.finished -r rootout.root

This will run for some time, applying settings from UserInput to filters in MWDdetector.cc, and running the filters over data in the .raw.finished file. This will produce an output file called rootout.root, but feel free to change the name in the command to whatever you like, otherwise you will just keep overwriting the old files. This output file will have the amplitudes, times etc. of all the extracted signals listed, but it will not produce traces, as that is not standard raw2root functionality, and requires my code, which I added to MWDdetector.cc

To print traces, open MWDdetector.cc using

gedit ../detector/MWDdetector.cc &

Note, ".." on Linux means "previous directory", so the command above will leave raw2root directory, go to detector directory and open the code. In this code, uncomment (i.e. remove // or /* or */ characters in C++) from lines 310-312, 441, 442, 465 and 529. This will now print trace ROOT files into the Traces directory. Warning: this runs very slowly, as it's a lot of data being written to disk!

The if() statment on line 465 allows you to gate on specific bunches and detectors for producing traces. The contents of histograms inside the output files can be understood in terms of what MWDdetector.cc does by reading the lines 514-522 of that code. This should be everything you need to get started with processing traces and filtering outputs. Good luck!

Entry  Sun Jul 31 15:02:57 2016, Sarah, DEED6 Alpha calibration checks (205168) 

 DEED6: (1 bin = 2 ch)

Pulser (DAQ):
- Centroid = 5145.6(6) ch
- FWHM = 51.4(1) ch = 1%
 

Pulser (Maestro):
- Centroid = 4042 ch
- FWHM = 137 ch = 3.3%
 

148Gd (DAQ):
- Centroid = 1980(1) ch
- FWHM = 64(2) ch = 3.2%

 

148Gd (Maestro):
- Centroid = 1564 ch
- FWHM = 61 ch = 3.9%

Entry  Sun Jul 31 15:56:32 2016, Sarah, DEED16 Alpha calibration checks (205169) 

***note that DEED 16 was on old sampling rate for 205168- so use next run, also DEED 9-12 not plugged in***


  DEED16: (1 bin = 2 ch)

Pulser (DAQ):
- Centroid = 5347(3) ch
- FWHM = 89(7) ch = 1.7%
 

Pulser (Maestro):
- Centroid = 4279 ch
- FWHM = 166 ch = 3.9%

 

*** take the following with a pinch of salt- low stats (top of peak in DAQ = 4 counts)

148Gd (DAQ):
- Centroid = 1948 ch
- FWHM = 138 ch = 7%

 

148Gd (Maestro):
- Centroid = 1586 ch
- FWHM = 11 ch = 0.7%

Entry  Sun Jul 31 14:32:34 2016, Sarah, DEED1 Alpha calibration checks (205168) 

 DEED1: (rebin x2 -> 1 bin = 4 ch)

Pulser (DAQ):
- Centroid = 5000(1) ch
- FWHM = 71(5) ch = 1.4%
 

Pulser (Maestro):
- Centroid = 4008 ch
- FWHM = 148 ch = 4%
 

148Gd (DAQ):
- Centroid = 1880(1) ch
- FWHM = 89(2) ch = 4.7%

 

148Gd (Maestro):
- Centroid = 1524 ch
- FWHM = 67 ch = 4.4%

 

 

Entry  Mon Aug 18 09:19:27 2025, Emmanuel, DEED 11 NO Gamma Flash Signal DEED11_18AUG2025_C.pngDEED11_17AUG2025_B.pngDEED11_17AUG2025_D.pngDEED11_17AUG2025.pngDEED11_18AUG2025.png

We observed that DEED11 no longer have Gamma flash signals.

Before the drop, it had some weird flunctuations.

Attached are the plots.

We will check with the pulser tomorrow.

 

 

Entry  Thu Aug 21 16:19:43 2025, Emmanuel, Checking DEED 11 with the Pulser DEED11_Pulser.png

We checked DEED 11 with the Pulser and it was still unresponsive (See screenshot).

Next, we will change the LEMO cables and do another Pulser Test.

Entry  Thu Oct 6 11:07:47 2022, Nikolay Sosnin, Change of sample/Addition of pulser 

Changed from LiF 4 to LiF 3 after running with LiF 4 overnight (run title on n_TOF DAQ was not updated to refelect the change, and still says LiF 4, but the material setting of the run states correctly that hte run is with LiF 3).

Added pulser triggered from protons. 12 microsecond delay from protons to gamma-flash + 1.75 microsecond delay from gamma flash to pulser. 20 mV pulser output into 50 ohm impedance (10 mV final output) of both polarities (using two pulsers, one NE pulser and one BNC PB5 pulser). Planning torun with 1.75 microsecond delay for approx. 1 hour, change to 5 microsecond delay.

Entry  Fri Oct 7 20:04:30 2022, Nikolay Sosnin, Change of Pulser Setting 

The pulser has been switched from triggering from beam trigger to running at a 10 Hz rate, and will now appear in random places in signal traces. Planned to run overnight measuring LiF3, switch to empty + detector in beam in the morning.

Entry  Thu Oct 6 14:58:29 2022, Nikolay Sosnin, Change of Pulser Delay 

Still using pulser triggered from protons. 12 microsecond delay from protons to gamma-flash + 1.75 microsecond delay from gamma flash to pulser. 20 mV pulser output into 50 ohm impedance (10 mV final output) of both polarities (using two pulsers, one NE pulser and one BNC PB5 pulser). Changed pulser setting to run with 5 microsecond delay for approx. 1 hour, then change to 10 microsecond delay.

Entry  Fri Oct 7 17:17:08 2022, Nikolay Sosnin, Change of Pulser Delay 

Still using pulser triggered from protons. 12 microsecond delay from protons to gamma-flash + 11 microsecond delay from gamma flash to pulser. 20 mV pulser output into 50 ohm impedance (10 mV final output) of both polarities (using two pulsers, one NE pulser and one BNC PB5 pulser). Changed pulser setting to run with 11 microsecond delay for approx. 2 hour, then change to an overnight run with pulser running NOT triggered from beam.

Entry  Sat Oct 8 11:57:36 2022, Nikolay Sosnin, Change of Detector-Target Separation 17x

Increased detector-target (LiF 3) separation by 1.5 cm. Had to replace the support strut under the detectors due to the previous one being fuly retracted even for minimal target-detector separation. This change may affect detector rotation relative to the target.

Entry  Mon Jul 3 13:01:30 2023, Emmanuel, Boxes for nTOF experiments to CERN 

Box 1

1. RC412 Cables

2. Screws and parts for rails

3. Small rails

 

Box 2

1. Vacuum valves

2. IDC cables

 

Box 3 (Detectors)

1. WI-20

3186-9

2. WI-150

3458-4

3. WI-150

3458-1

 

 

Box 4 (Detector)

1. WI-20

3485-12

*List

 

**We also have the tube for the long rails

 

Entry  Mon Aug 4 16:45:43 2025, Selin, Boron-3 Consistency Check B3-1-8.pngB3-9-16.pngB3-17-24.pngB3-25-32.png

These are the consistency checks done for Boron-3 sample.

Please note that the back strips for the first run are mismatched due to the settings in DAQ.

Entry  Mon Aug 4 16:44:06 2025, Selin, Boron-1 Consistency Check B1-1-8.pngB1-9-16.pngB1-17-24.pngB1-25-32.png

These are the consistency checks done for Boron-1 sample.

Entry  Wed Jul 16 11:45:39 2025, Selin, Boron Spectra Update After Setting Change + Pulser Removed B_Strip2_ded.pngB_Strip19_ded.png

Uncalibrated amplitude spectra of Boron (run221188) after the settings were changed, the pulser was removed, and the threshold in the UserInput has been lowered. Both alphas can be seen in the front and back strips. The ratios between the alphas are similar for front (0.066) and back (0.063) strips.

1- Uncalibrated amplitude spectra of strip 2.

2- 1- Uncalibrated amplitude spectra of strip 19.

Entry  Sun Oct 9 21:07:02 2022, Nikolay Sosnin, Boron Sample 3 Measurement 14x

21:15 Changed from detectors in-beam to boron-10 sample 3 in-beam (in-beam measurement got 1000 triggers, 500 of which were dedicated). The sample was mounted identically to LiF 3. An attempt was made to replace the 20-micron dE detector with a 50-micron one, but the screwholes on the 50-micron detector did not match the 300-micron E-detector ones and therefore could not be mounted. 20-micron detector was therefore re-attached. Planning to run for 12 hours with boron than dismount.

Entry  Tue Mar 18 13:28:30 2025, Emmanuel, B10 and LiF data with Fast Fourier Transform B10.pdfLi.pdf

Attached is the B10 and LiF data with Fast Fourier Transform and varying time constants.

ELOG V3.1.3-7933898