Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-MA2018 testbeam-MA2019 testbeam-MA2020 testbeam-MA2021 testbeam-MA2023 testbeam-MA2024
  Testbeams at MedAustron in 2023, Page 2 of 11  Not logged in ELOG logo
ID Date Author Subject Run Number DUT Beam Energy Rate Settingup Particle Type Events Data t-Start t-Stop Duration_min Frontend
  54   Sun Feb 19 06:39:15 2023 BP_PSbeam45RD50-MPW3800200kHzProton15494364Unknown19.02.2023 06:03:1219.02.2023 06:39:15  
automatic log for run 45
Attachment 1: mpw3.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6
#DUTMask= 0xF

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00
#DUTMaskMode= 0x0c
#DUTMaskMode= 0xFF

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0
DUTIgnoreShutterVeto= 0x0
EnableRecordData= 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1

[Producer.tracker_irgendwas]

[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
#EUDAQ_FW_PATTERN= /home/silicon/work/mpw3/testbeam/maus_20230218/tlu_run$6R$X
EUDAQ_FW_PATTERN=  /media/silicon/maus/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/mpw3/testbeam/maus_20230218/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/maus/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 10
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

  57   Thu Apr 27 15:43:21 2023 Felix Ulrich-Purlow flux p800 recommissioning003 800200kHzProton Good    

Measurement with RaMon 22.04.23 (not placed in isocentre) LGAD beam telescope was placed in front. LGADs were moved out of the beam. 4x PCB was in front of the RaMon scintillators (5x5cm^2)
rate slightly lower due to additional material in front
 

  60   Thu Apr 27 15:45:23 2023 Felix Ulrich-PurLGAD beam telescope calibration007 800200kHzProton Good    

22.04.23 trigger on second LGAD (run 006 is missing since cable of pre-amps was loose and 3rd sensor signal was lost)

  61   Thu Apr 27 15:47:05 2023 Felix Ulrich-PurLGAD beam telescope calibration008 800200kHzProton Good    

22.04.23 23:20 trigger on third LGAD

beam spot was off. telescope was shifted

  93   Sat May 6 07:49:04 2023 cibp1st tests49RD50-MPW3800200kHzProton692561Unknown06.05.2023 07:34:2006.05.2023 07:48:13 Normal
automatic log for run 49
Comment:

beam profile tracker -> attachement 1
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x1

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

Attachment 2: hitmap_800MeV_medium.png
hitmap_800MeV_medium.png
  94   Sat May 6 08:08:45 2023 cibp1st tests50RD50-MPW3800200kHzProton868396Unknown06.05.2023 07:51:2206.05.2023 08:07:55 Normal
automatic log for run 50
Comment:
testing for the moment
might (not) be useful data
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

  95   Sat May 6 08:09:15 2023 cibp1st tests RD50-MPW3800200kHzProton Unknown   Normal
changed MPX2 trigger veto from 625us -> 100us veto length
  96   Sat May 6 08:11:28 2023 cibp1st tests51RD50-MPW3800200kHzProton1Unknown06.05.2023 08:10:2606.05.2023 08:10:38 Normal
automatic log for run 51
Comment:
trying to run mpx2
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

  97   Sat May 6 08:45:07 2023 cibp1st tests52RD50-MPW3800200kHzProton8992077Unknown06.05.2023 08:12:3106.05.2023 08:44:16 Normal
automatic log for run 52
Comment:
trying to run mpx2 without trigger loss
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

  98   Sat May 6 08:59:49 2023 cibp1st tests53RD50-MPW3800200kHzProton1Unknown06.05.2023 08:57:0506.05.2023 08:58:59 Normal
automatic log for run 53
Comment:
trying to run mpx2 without trigger loss
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

  99   Sat May 6 09:02:17 2023 cibp1st tests RD50-MPW3800200kHzProton Unknown   Normal
moved whole setup by ~2mm in x
  100   Sat May 6 09:04:46 2023 cibp1st tests RD50-MPW3800200kHzProton Unknown   Normal
apperently wrong direction, adjusting again
moved 2mm (from origin) in other direction
  101   Sat May 6 09:07:40 2023 cibp1st tests54RD50-MPW3800200kHzProton926384Unknown06.05.2023 09:01:5206.05.2023 09:06:49 Normal
automatic log for run 54
Comment:
moved sensors 2mm towards LCR1 (+y for tracker)
apperently wrong direction, adjusting again
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

Attachment 2: hitmap_800MeV_medium_DSSD_2mm_Richtung_LCR1_verschoben.png
hitmap_800MeV_medium_DSSD_2mm_Richtung_LCR1_verschoben.png
  102   Sat May 6 09:17:42 2023 cibpdata-taking55RD50-MPW3800200kHzProton1Unknown06.05.2023 09:16:1906.05.2023 09:16:52 Normal
automatic log for run 55
Comment:
sensors moved 2mm in -y (away from LCR1, towards rack)
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

Attachment 2: hitmap_800MeV_medium_sensors_moves_2mm_in_-y.png
hitmap_800MeV_medium_sensors_moves_2mm_in_-y.png
  103   Sat May 6 09:24:21 2023 cibpdata-taking56RD50-MPW3800200kHzProton1243318Unknown06.05.2023 09:18:2406.05.2023 09:23:30 Normal
automatic log for run 56
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 500
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 224
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

  112   Sat May 6 10:43:57 2023 cibpdata taking common800200kHzProton Unknown   Normal
adjusted table in height by ~-2mm
  113   Sat May 6 11:04:28 2023 cibpdata taking RD50-MPW3800200kHzProton Unknown   Normal
No beam since 30 min
Operator: "spills get rejected by ..."
  114   Sat May 6 11:13:04 2023 cibpdata taking RD50-MPW3800200kHzProton Unknown   Normal
MPS (whatever) restart necessary
No beam for another ~ 20 -30 min
  115   Sat May 6 11:21:47 2023 cibpdata taking60RD50-MPW3800200kHzProton193381Unknown06.05.2023 10:46:4406.05.2023 11:20:56 Normal
automatic log for run 60
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 0
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode
#DUTMaskMode= 0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 336
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

  116   Sat May 6 12:57:47 2023 cibpdata taking61RD50-MPW3800200kHzProton0Unknown06.05.2023 12:56:3406.05.2023 12:56:56 Normal
automatic log for run 61
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing

[Producer.tracker_irgendwas]

################################### TLU #####################################

[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 0
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.012
DACThreshold1 = -0.025 #-0.012
DACThreshold2 = -0.12
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
DUTMask= 0xE #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4

# DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #DUT3 in AIDA mode, rest in EUDET mode


 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x03= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
#DUTIgnoreBusy= 0x4 #ignores triggers
DUTIgnoreBusy= 0x0

DUTIgnoreShutterVeto= 0x0


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


################################### MPW3 #####################################

[Producer.RD50_MPW3]

[DataCollector.mpw3_dc]
# connection to the monitor
EUDAQ_MN = mpw3_mon
EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/work/testbeam/maus_230505/test/mpw3_run$6R$X
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpw3_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1
SYNC_MODE = 1

[Monitor.mpw3_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1


################################### MPX2 #####################################


[Producer.monopix2]
# connection to the data collector
EUDAQ_DC = mpx2_dc
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1
CHIP_CONFIG_FILE = /home/rd50/tjmonopix2/ChipSettings/THR26_NormalCascFE.h5
CHIP_SN = W8R19
CHIP_CMD_CLK = 160

#overriding values in "scan_configuration"
#when none given default ones are being used
START_ROW = 0
STOP_ROW = 512
START_COLUMN = 336
STOP_COLUMN = 448
WAIT_FOR_FPGA = 1

#chip register config
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 8
#VRESET = 95
#IDB = 250

#MASKED_PIXELS_FILE = /mnt/data/monopix2/tj-monopix2-daq/tjmonopix2/scans/masked_pixels.yaml

[Producer.hameg]
#HV = 5
BIAS = 6
SERIAL_PORT = /dev/ttyUSB0

[Monitor.monopix2_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[DataCollector.mpx2_dc]
# connection to the monitor
EUDAQ_MN = monopix2_mon
EUDAQ_FW = native
#path to store .raw file to, $3R is replaced by 3 digit run number, $12D -> 12 character date, $X -> .raw
EUDAQ_FW_PATTERN = /media/silicon/15cb8462-c19d-408a-9e21-4154280cb15a/maus_230507/mpx2_run$6R$X
#fraction of events being sent to the monitor
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100

# config-parameters
#disable output of event to bash, is spamming terminal otherwise
DISABLE_PRINT = 1

ELOG V3.1.5-fc6679b