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 2024, all entries  Not logged in ELOG logo
ID Datedown Author Subject Run Number DUT Beam Energy Rate Setting Particle Type Data t-Start t-Stop Duration_min Frontend
  71   Sat Mar 30 20:51:31 2024 hh, mb, psHigh statistics1054TJ-Monopix2800 MeVLow Flux HighProtonUnknown30.03.2024 20:50:5330.03.2024 20:53:583HV
automatic log for run 1054
Comment:
Litle high settings run
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1
VCLIP = 60

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1




[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1
VCLIP = 60

[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  70   Sat Mar 30 20:46:41 2024 hh, mb, psHigh statistics1053TJ-Monopix2800 MeVLow Flux HighProtonUnknown30.03.2024 20:31:1430.03.2024 20:49:0817HV
automatic log for run 1053
Comment:
Back to stock veto period of 7us (100)
Lets try with high
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  69   Sat Mar 30 20:27:35 2024 hh, mb, psHigh statistics1052TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 20:17:1130.03.2024 20:30:0212HV
automatic log for run 1052
Comment:
Back to stock veto period of 7us (100)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  68   Sat Mar 30 20:13:29 2024 hh, mb, psHigh statistics1051TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:48:3630.03.2024 20:15:5527HV
automatic log for run 1051
Comment:
Try with increased veto period of 20us (800)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  67   Sat Mar 30 19:44:43 2024 hh, mb, psHigh statistics1050TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:40:2130.03.2024 19:47:106HV
automatic log for run 1050
Comment:
Try with increased veto period of 20us (800)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  66   Sat Mar 30 19:36:57 2024 hh, mb, psHigh statistics1049TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:28:4430.03.2024 19:39:2410HV
automatic log for run 1049
Comment:
Try with increased veto period of 20us (800)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  65   Sat Mar 30 19:24:57 2024 hh, mb, psHigh statistics1048TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:02:5230.03.2024 19:27:2424HV
automatic log for run 1048
Comment:
Run with medium settings
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  64   Sat Mar 30 18:59:16 2024 hh, mb, ps1st tests1047TJ-Monopix2800 MeVLow Flux LowProtonCrap30.03.2024 19:00:1130.03.2024 19:01:431HV
automatic log for run 1047
Comment:
Test if we get beam, MAUS has problems
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  63   Sat Mar 30 17:31:59 2024 hh, mb, psHigh statistics1046TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 17:13:0930.03.2024 17:34:2521HV
automatic log for run 1046
Comment:
High statistics run, from now we fix the geometry

Veto: 7us (100, so 7 us is handshake time)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
Attachment 2: testbench_AB.yaml
general: # General configuration
  readout_system: # Readout system, available platforms are BDAQ53 or MIO3 (+ GPAC). BDAQ53 is default
  output_directory: /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/h5  #'/media/raid/data/tjmonopix2/2021-10-25_elsa/tuning' # Top-level output data directory, default is the current folder where the script is started

# Connected Modules
modules:
  module_0: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_0: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W02R01"
      chip_id: 0
      receiver: "rx0"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5500" # Socket address of online monitor
      disable_columns: []
  module_1: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_1: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W08R19"
      chip_id: 1
      receiver: "rx2"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5501" # Socket address of online monitor
      disable_columns: []


TLU:
  TRIGGER_MODE: 3 # Selecting trigger mode: Use trigger inputs/trigger select (0), TLU no handshake (1), TLU simple handshake (2), TLU data handshake (3)
  TRIGGER_SELECT: 0 # Selecting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_INVERT: 0 # Inverting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_LOW_TIMEOUT: 0 # Maximum wait cycles for TLU trigger low.
  TRIGGER_VETO_SELECT: 0 # Selecting trigger veto: AZ VETO (2), RX FIFO full (1), disabled (0). Set to (2) if SYNC FE is enabled.
  TRIGGER_HANDSHAKE_ACCEPT_WAIT_CYCLES: 5 # TLU trigger minimum length in TLU clock cycles
  DATA_FORMAT: 0 # Select trigger data format: only trigger number (0), only time stamp (1), combined, 15 bit time stamp + 16 bit trigger number (2)
  EN_TLU_VETO: 0 # Assert TLU veto when external veto. Activate this in order to VETO triggers if SYNC FE is enabled.
  TRIGGER_DATA_DELAY: 8 # Depends on the cable length and should be adjusted (run scan/tune_tlu.py)

TDC:
  EN_WRITE_TIMESTAMP: 1 # Writing trigger timestamp
  EN_TRIGGER_DIST: 1 # Measuring trigger to TDC delay with 640MHz clock
  EN_NO_WRITE_TRIG_ERR: 1 # Writing TDC word only if valid trigger occurred
  EN_INVERT_TDC: 0 # Inverting TDC input
  EN_INVERT_TRIGGER: 0 # Inverting trigger input, e.g. for using Test output from EUDET TLU

hardware: # Setup-specific hardware settings
  enable_NTC: True # Only enable if you know you have the correct resistors mounted on the BDAQ board!

electron_conversion: # Charge conversion from DAC to e⁻, typically 8.8 for DC and 13.3 for AC (slightly chip dependent!)
  DC_coupled: 8.8
  AC_coupled: 13.3
calibration: # Setup-specific calibration constants
  bdaq_ntc: # Resistors on BDAQ board for NTC readout
    R16: 1.2e6
    R17: 20e3
    R19: 7.95e3

# Standard analysis settings
# Scans might overwrite these settings if needed.
# Detailed description of parameters in bdaq53/analysis/analysis.py
analysis:
  skip: False # Omit analysis in scans
  create_pdf: True # Create analysis summary pdf
  # module_plotting: True  # Create combined plots for chip in a module
  store_hits: True # store hit table
  cluster_hits: False # store cluster data
  # analyze_tdc: False # analyze TDC words
  # use_tdc_trigger_dist: False # analyze TDC to TRG distance
  # align_method: 0 # how to detect new events
  # chunk_size: 1000000 # scales amount of data in RAM (~150 MB)
  # blocking: True # block main process during analysis
Attachment 3: testbench_CD.yaml
general: # General configuration
  readout_system: # Readout system, available platforms are BDAQ53 or MIO3 (+ GPAC). BDAQ53 is default
  output_directory: /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/h5  #'/media/raid/data/tjmonopix2/2021-10-25_elsa/tuning' # Top-level output data directory, default is the current folder where the script is started

# Connected Modules
modules:
  module_2: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_2: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W14R18"
      chip_id: 2
      receiver: "rx2"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W14R18/20240329_175240_threshold_scan_interpreted.h5
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5502" # Socket address of online monitor
      disable_columns: [484, 485]
  module_3: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_3: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W18R03"
      chip_id: 3
      receiver: "rx3"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5503" # Socket address of online monitor
      disable_columns: [456, 457]
  # module_3: # Arbitrary name of module, defines folder name with chip sub folders
  #   identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
  #   chip_3: # Arbitrary name of chip, defines folder name with chip data
  #     chip_sn: "W08R03"
  #     chip_id: 3
  #     receiver: "rx3"
  #     chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W08R03/20240222_151416_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
  #     record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
  #     use_good_pixels_diff: False
  #     send_data: "tcp://127.0.0.1:5503" # Socket address of online monitor
  #     disable_columns: []


TLU:
  TRIGGER_MODE: 3 # Selecting trigger mode: Use trigger inputs/trigger select (0), TLU no handshake (1), TLU simple handshake (2), TLU data handshake (3)
  TRIGGER_SELECT: 0 # Selecting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_INVERT: 0 # Inverting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_LOW_TIMEOUT: 0 # Maximum wait cycles for TLU trigger low.
  TRIGGER_VETO_SELECT: 0 # Selecting trigger veto: AZ VETO (2), RX FIFO full (1), disabled (0). Set to (2) if SYNC FE is enabled.
  TRIGGER_HANDSHAKE_ACCEPT_WAIT_CYCLES: 5 # TLU trigger minimum length in TLU clock cycles
  DATA_FORMAT: 0 # Select trigger data format: only trigger number (0), only time stamp (1), combined, 15 bit time stamp + 16 bit trigger number (2)
  EN_TLU_VETO: 0 # Assert TLU veto when external veto. Activate this in order to VETO triggers if SYNC FE is enabled.
  TRIGGER_DATA_DELAY: 8 # Depends on the cable length and should be adjusted (run scan/tune_tlu.py)

TDC:
  EN_WRITE_TIMESTAMP: 1 # Writing trigger timestamp
  EN_TRIGGER_DIST: 1 # Measuring trigger to TDC delay with 640MHz clock
  EN_NO_WRITE_TRIG_ERR: 1 # Writing TDC word only if valid trigger occurred
  EN_INVERT_TDC: 0 # Inverting TDC input
  EN_INVERT_TRIGGER: 0 # Inverting trigger input, e.g. for using Test output from EUDET TLU

hardware: # Setup-specific hardware settings
  enable_NTC: True # Only enable if you know you have the correct resistors mounted on the BDAQ board!

electron_conversion: # Charge conversion from DAC to e⁻, typically 8.8 for DC and 13.3 for AC (slightly chip dependent!)
  DC_coupled: 8.8
  AC_coupled: 13.3
calibration: # Setup-specific calibration constants
  bdaq_ntc: # Resistors on BDAQ board for NTC readout
    R16: 1.2e6
    R17: 20e3
    R19: 7.95e3

# Standard analysis settings
# Scans might overwrite these settings if needed.
# Detailed description of parameters in bdaq53/analysis/analysis.py
analysis:
  skip: False # Omit analysis in scans
  create_pdf: True # Create analysis summary pdf
  # module_plotting: True  # Create combined plots for chip in a module
  store_hits: True # store hit table
  cluster_hits: False # store cluster data
  # analyze_tdc: False # analyze TDC words
  # use_tdc_trigger_dist: False # analyze TDC to TRG distance
  # align_method: 0 # how to detect new events
  # chunk_size: 1000000 # scales amount of data in RAM (~150 MB)
  # blocking: True # block main process during analysis
  62   Sat Mar 30 17:07:45 2024 hh, mb, ps1st tests1045TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 17:07:0130.03.2024 17:10:123HV
automatic log for run 1045
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  61   Sat Mar 30 17:00:53 2024 hh, mb, ps1st tests1044TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:57:0830.03.2024 17:03:206HV
automatic log for run 1044
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  60   Sat Mar 30 16:50:35 2024 hh, mb, ps1st tests1043TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:48:3930.03.2024 16:53:014HV
automatic log for run 1043
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  59   Sat Mar 30 16:38:41 2024 hh, mb, ps1st tests1042TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:32:1230.03.2024 16:41:088HV
automatic log for run 1042
Comment: First good run
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xA

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  58   Sat Mar 30 16:24:39 2024 hh, mb, ps1st tests1041TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:20:3430.03.2024 16:27:056HV
automatic log for run 1041
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  57   Sat Mar 30 16:15:20 2024 hh, mb, ps1st tests1040TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:15:2230.03.2024 16:17:462HV
automatic log for run 1040
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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= 10 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  56   Sat Mar 30 16:09:54 2024 hh, mb, ps1st tests1039TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:11:3230.03.2024 16:12:210HV
automatic log for run 1039
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  55   Sat Mar 30 16:03:35 2024 hh, mb, ps1st tests1038TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:03:1830.03.2024 16:06:012HV
automatic log for run 1038
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x7 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  54   Sat Mar 30 15:55:32 2024 hh, mb, ps1st tests1037TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:54:4430.03.2024 15:57:593HV
automatic log for run 1037
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  53   Sat Mar 30 15:51:21 2024 hh, mb, ps1st tests1036TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:43:5330.03.2024 15:53:479HV
automatic log for run 1036
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  52   Sat Mar 30 15:39:06 2024 hh, mb, ps1st tests1035TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:35:0630.03.2024 15:41:336HV
automatic log for run 1035

All four chips enabled now


Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  51   Sat Mar 30 15:31:41 2024 hh, mb, ps1st tests1034TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:29:4930.03.2024 15:34:084HV
automatic log for run 1034
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  50   Sat Mar 30 15:24:44 2024 hh, mb, ps1st tests1033TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:25:0630.03.2024 15:27:102HV
automatic log for run 1033
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  49   Sat Mar 30 15:22:15 2024 hh, mb, ps1st tests1032TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:24:0230.03.2024 15:24:410HV
automatic log for run 1032
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xC

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  48   Sat Mar 30 15:20:37 2024 hh, mb, ps1st tests1031TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:21:5130.03.2024 15:23:031HV
automatic log for run 1031
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xB

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  47   Sat Mar 30 15:18:29 2024 hh, mb, ps1st tests1030TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:18:2130.03.2024 15:20:552HV
automatic log for run 1030
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xB

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  46   Sat Mar 30 15:08:33 2024 hh, mb, ps1st tests1029TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:08:2630.03.2024 15:11:002HV
automatic log for run 1029
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xB

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  45   Sat Mar 30 15:05:28 2024 hh, mb, ps1st tests1028TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:04:4730.03.2024 15:07:553HV
automatic log for run 1028
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xB

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  44   Sat Mar 30 15:02:07 2024 hh, mb, ps1st tests1027TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 14:52:5430.03.2024 15:04:3211HV
automatic log for run 1027
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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 = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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= 0xB

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x3 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  43   Sat Mar 30 13:35:09 2024 bp, ci, hhuseful datataking RD50-MPW4800 MeVLow Flux LowProtonGood   Normal
new users arrived
  42   Sat Mar 30 13:28:15 2024 bp, ci, hhuseful datataking1026RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 12:58:0230.03.2024 13:30:4232Normal
automatic log for run 1026
Comment:
changed thr to 0.98V
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .98
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  41   Sat Mar 30 12:54:24 2024 bp, ci, hhuseful datataking1025RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 12:32:2730.03.2024 12:56:5124Normal
automatic log for run 1025
Comment:
changed thr to 0.95V
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = .95
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  40   Sat Mar 30 12:28:29 2024 bp, ci, hhuseful datataking1024RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 11:58:4530.03.2024 12:30:5632Normal
automatic log for run 1024
Comment:
changed thr to 1V (not 100% sure, configure was not executed)
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  39   Sat Mar 30 11:55:55 2024 bp, ci, hhuseful datataking1023RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 11:06:4930.03.2024 11:58:2251Normal
automatic log for run 1023
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  38   Sat Mar 30 11:20:13 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux LowProtonGood   Normal
alignment good now
  37   Sat Mar 30 11:04:10 2024 bp, ci, hhRD50-MPW41022RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 11:03:0530.03.2024 11:06:373Normal
automatic log for run 1022
Comment:
changed alignment again
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  36   Sat Mar 30 10:39:45 2024 bp, ci, hhRD50-MPW41021RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 10:37:0130.03.2024 10:42:125Normal
automatic log for run 1021
Comment:
no tracker at start of run
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  35   Sat Mar 30 10:34:27 2024 bp, ci, hhRD50-MPW41020RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 10:33:0130.03.2024 10:36:533Normal
automatic log for run 1020
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  34   Sat Mar 30 10:28:42 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux LowProtonGood   Normal
tracker FADC down, HV not on earlier, restart happening
  33   Sat Mar 30 10:27:56 2024 bp, ci, hhRD50-MPW41019RD50-MPW4800 MeVLow Flux LowProtonCrap30.03.2024 10:28:2830.03.2024 10:30:221Normal
automatic log for run 1019
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  32   Sat Mar 30 10:25:55 2024 bp, ci, hhRD50-MPW41018RD50-MPW4800 MeVLow Flux LowProtonCrap30.03.2024 10:26:1730.03.2024 10:28:212Normal
automatic log for run 1018
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  31   Sat Mar 30 10:23:06 2024 bp, ci, hhRD50-MPW41017RD50-MPW4800 MeVLow Flux LowProtonCrap30.03.2024 10:25:0930.03.2024 10:25:330Normal
automatic log for run 1017
Comment:
changed rate to low again, too much "noise"
also moved table down and a bit to the left

no HV, is crap
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  30   Sat Mar 30 10:23:04 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux LowProtonGood   Normal
changed rate to low again, too much "noise"
also moved table down and a bit to the left
  29   Sat Mar 30 10:10:57 2024 bp, ci, hhRD50-MPW41016RD50-MPW4800 MeVLow Flux MediumProtonGood30.03.2024 10:07:5130.03.2024 10:13:235Normal
automatic log for run 1016
Comment:
changed rate
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  28   Sat Mar 30 10:05:09 2024 bp, ci, hhRD50-MPW41015RD50-MPW4800 MeVLow Flux MediumProtonGood30.03.2024 10:02:1730.03.2024 10:07:365Normal
automatic log for run 1015
Comment:
changed rate
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  27   Sat Mar 30 09:59:40 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux MediumProtonGood   Normal
changed rate
  26   Sat Mar 30 09:59:25 2024 bp, ci, hhRD50-MPW41014RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 09:56:1730.03.2024 10:01:515Normal
automatic log for run 1014
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  25   Sat Mar 30 09:54:37 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux LowProtonGood   Normal
correlations still there after rate change
  24   Sat Mar 30 09:53:41 2024 bp, ci, hhRD50-MPW41013RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 09:46:2730.03.2024 09:56:089Normal
automatic log for run 1013
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  23   Sat Mar 30 09:43:29 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux LowProtonGood   Normal
max triggerof tracker set to 100
  22   Sat Mar 30 09:42:55 2024 bp, ci, hhRD50-MPW41012RD50-MPW4800 MeVLow Flux LowProtonGood30.03.2024 09:39:0830.03.2024 09:45:216Normal
automatic log for run 1012
Comment:
changed rate
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  21   Sat Mar 30 09:36:22 2024 bp, ci, hhRD50-MPW41011RD50-MPW4800 MeVLow Flux Very LowProtonGood30.03.2024 09:30:1830.03.2024 09:38:488Normal
automatic log for run 1011
Comment:
testing new tablealignment
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 10
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  20   Sat Mar 30 09:27:33 2024 bp, ci, hhRD50-MPW41010RD50-MPW4800 MeVLow Flux Very LowProtonCrap30.03.2024 09:23:4230.03.2024 09:29:596Normal
automatic log for run 1010
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 10
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  19   Sat Mar 30 09:25:05 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonCrap   Normal
bea is back Big grin
  18   Sat Mar 30 09:15:13 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonCrap   Normal
moved entire setup a bit in order too better focus beam on MPW4 (hopefully)
  17   Sat Mar 30 09:03:54 2024 bp, ci, hhRD50-MPW41009RD50-MPW4800 MeVLow Flux Very LowProtonCrap30.03.2024 08:43:2230.03.2024 09:06:2022Normal
automatic log for run 1009
Comment:
waiting for beam
Performing MTS restart
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 10
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  16   Sat Mar 30 08:56:25 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonCrap   Normal
waiting for beam
Performing MTS restart
  15   Sat Mar 30 08:40:10 2024 bp, ci, hhRD50-MPW41008RD50-MPW4800 MeVLow Flux Very LowProtonCrap30.03.2024 08:37:0330.03.2024 08:42:375Normal
automatic log for run 1008
Comment:
waiting for beam
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 10
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  14   Sat Mar 30 08:38:21 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonGood   Normal
beam not back, fake news
  13   Sat Mar 30 08:34:12 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonGood   Normal
beam should be back, there was something in the nozzle too
  12   Sat Mar 30 08:21:04 2024 bp, ci, hhRD50-MPW41007RD50-MPW4800 MeVLow Flux Very LowProtonGood30.03.2024 08:02:4630.03.2024 08:23:3020Normal
automatic log for run 1007
Comment:
waiting for eam
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  11   Sat Mar 30 08:05:59 2024 Christian IrmlerRD50-MPW4999         

Tracker calibration run: mpw4-tj-monopix2_00-000999.xml
Generated global xml file for MPW4 shift: mpw4-tj-monopix2_TLU_00-000999.xml 

Previous local runs and xml files (mpw4-tj-monopix2_00-000212.xml) are unusable, because sensor L5.1.1.0 had a loose cotact and thus low gain.
Fixed by disconnecting and reconnecting.

  10   Sat Mar 30 07:59:55 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonCrap   Normal
currently no beam
  9   Sat Mar 30 07:59:41 2024 bp, ci, hhRD50-MPW41006RD50-MPW4800 MeVLow Flux Very LowProtonGood30.03.2024 07:46:5030.03.2024 08:02:0815Normal
automatic log for run 1006
Comment:
beautifully correlated Big grin
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  8   Sat Mar 30 07:44:15 2024 bp, ci, hhRD50-MPW41005RD50-MPW4800 MeVLow Flux Very LowProtonUnknown30.03.2024 07:25:5130.03.2024 07:46:4120Normal
automatic log for run 1005
Comment:
beautifully correlated Big grin
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  7   Sat Mar 30 07:22:49 2024 bp, ci, hhRD50-MPW41004RD50-MPW4800 MeVLow Flux Very LowProtonUnknown30.03.2024 07:14:5130.03.2024 07:25:1610Normal
automatic log for run 1004
Comment:
1st test runs
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  6   Sat Mar 30 07:11:30 2024 bp, ci, hhRD50-MPW41003RD50-MPW4800 MeVLow Flux Very LowProtonUnknown30.03.2024 07:12:1930.03.2024 07:13:571Normal
automatic log for run 1003
Comment:
1st test runs
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  5   Sat Mar 30 07:09:36 2024 bp, ci, hhRD50-MPW41002RD50-MPW4800 MeVLow Flux Very LowProtonUnknown30.03.2024 07:11:1530.03.2024 07:12:030Normal
automatic log for run 1002
Comment:
1st test runs
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  4   Sat Mar 30 07:00:10 2024 bp, ci, hhRD50-MPW41001RD50-MPW4800 MeVLow Flux Very LowProtonUnknown30.03.2024 06:58:0330.03.2024 07:02:364Normal
automatic log for run 1001
Comment:
1st test runs
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  3   Sat Mar 30 06:54:51 2024 bp, ci, hhRD50-MPW41000RD50-MPW4800 MeVLow Flux Very LowProtonUnknown30.03.2024 06:56:2330.03.2024 06:57:180Normal
automatic log for run 1000
Comment:
1st test runs
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = calib_base.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 511
matrix_config = matrix_mpw4.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 0
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.92
th__i = 3
Attachment 2: matrix_mpw4.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# 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.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #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= 1000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
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

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

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= 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= 0x0 #ignores triggers
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




[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/Data/2024_03_MAUS/TLU/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_MPW4_0]

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/MPW4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  2   Sat Mar 30 06:53:31 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal
about to start

geo and eudaq ini attached
Attachment 1: mpw4.ini
# example init file: Ex0.ini
[LogCollector.log]
EULOG_GUI_LOG_FILE_PATTERN = $12D.log

[Producer.tracker_irgendwas]

[Producer.aida_tlu]
initid= 20210115
verbose = 1
ConnectionFile= "file:///home/pct/frameworks/trackereudaq/user/tlu/misc/aida_tlu/aida_tlu_connection.xml"
#ConnectionFile= "file:///home/tlu-ma/latesteudaq/eudaq/user/tlu/misc/aida_tlu/aida_tlu_connection.xml" #for TLU MAUS
DeviceName = "aida_tlu.controlhub"
#DeviceName = "aida_tlu.udp"
TLUmod = "1e"
# number of HDMI inputs, leave 4 even if you only use fewer inputs
nDUTs = 4
nTrgIn = 6
# 0= False (Internal Reference OFF), 1= True
intRefOn = 0
VRefInt = 2.5
VRefExt = 1.3
# I2C address of the bus expander on Enclustra FPGA
I2C_COREEXP_Addr = 0x21
# I2C address of the Si5345
I2C_CLK_Addr = 0x68
# I2C address of 1st AD5665R
I2C_DAC1_Addr = 0x13
# I2C address of 2nd AD5665R
I2C_DAC2_Addr = 0x1F
# address of unique Id number EEPROM
I2C_ID_Addr = 0x50
#I2C address of 1st expander PCA9539PW~/
I2C_EXP1_Addr = 0x74
#I2C address of 2st expander PCA9539PW
I2C_EXP2_Addr = 0x75
#I2C address of AD5665R on powermodule
I2C_DACModule_Addr = 0x1CnoiseTrim
# Max value for control voltage on PMTs (usually 1 V)
PMT_vCtrlMax= 1.0
#I2C address of 1st expander PCA9539PW on powermodule
I2C_EXP1Module_Addr = 0x76
#I2C address of 2nd expander PCA9539PW on powermodule
I2C_EXP2Module_Addr = 0x77


##CONFCLOCK 0= skip clock configuration, 1= configure si5345
CONFCLOCK= 1
#CLOCK_CFG_FILE = "/home/pct-eudaq/latesteudaq/trackereudaq/user/caribou/MPW3/csv/20mhz_out2.txt"
#CLOCK_CFG_FILE = "/home/tlu-ma/mpw3/configs/20mhz_out2.txt"
CLOCK_CFG_FILE = "/home/pct/frameworks/trackereudaq/user/tlu/misc/aida_tlu/aida_tlu_clk_config.txt"
#CLOCK_CFG_FILE = "~/latesteudaq/trackereudaq/user/eudet/misc/hw_conf/aida_tlu/aida_tlu_clk_config.txt" # for TLU MAUS

[Producer.RD50_MPW4_0]
# general
log_level=INFO
# configuration
config_file="config.cfg"

[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
EULOG_GUI_LOG_FILE_PATTERN = maus_$12D.log
# the $12D will be converted a data/time string with 12 digits.

[Producer.elog1]
elog_installation = "/home/pct/frameworks/elog/elog"
elog_host = "elog.hephy.at"
elog_port = 443
elog_logbook = "testbeam-MA2024"
att_stop_time = "t-Stop"
att_start_time = "t-Start"
att_run_number = "Run Number"
att_run_duration = "Duration_min"
color = ""

#simply paste configuration of your Elog logbook
Comment = Testbeams at MedAustron in 2024
Admin user = bergi, maks, bpilsl
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2
Extendable options = DUT, Beam Energy, Rate Setting
Options Data = Unknown, Good, Crap
Options Beam Energy = 800 MeV, 252.7 MeV, 194.3 MeV, 175.3 MeV, 145.4 MeV, 100.4 MeV, 83 MeV, 62.4 MeV
Options Particle Type = Proton, Carbon
Options Rate Setting = Low Flux Very Low, Low Flux Low, Low Flux Medium, Low Flux High
Options Frontend = Normal, Normal Casc, HV, HV Casc
Quick filter = Date, Subject, Run Number, DUT, Beam Energy

Menu commands =  List, New, Edit, Delete, Reply, Duplicate, Move to, Find, Help
List Menu commands = New, Find, Select, Logout, Config, Help  
Guest List Menu commands = Find, Login, Help  
Guest menu commands = List, Find, Login, Help

##################################################################

Attachment 2: detectors.geo
[TLU_0]
role = auxiliary
type = tlu
number_of_pixels = 0, 0
pixel_pitch = 0um, 0um
position = 0mm, 0mm, 0mm
orientation = 0deg, 0deg, 0deg
time_resolution = 0ns

[dssd_5_1_1]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 0mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s

[dssd_5_1_2]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 50mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
#role = reference

[RD50_MPWx_base_0]
#mask_file = mask_maus.txt
role = dut
type = RD50_MPWx
number_of_pixels = 64, 64
pixel_pitch = 62um, 62um
position = 0mm, 0mm, 68mm
orientation = 90deg,0deg,180deg
orientation_mode = "zyx"
time_resolution = 25ns
material_budget = 0.00320305

[dssd_5_1_3]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 181mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
role = reference

[dssd_5_1_4]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 231mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
  1   Sat Mar 30 06:34:39 2024 Bernhard PilslAnd a new testbeam starts :D          
ELOG V3.1.5-fc6679b