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


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

[Producer.tracker_irgendwas]

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


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


[Producer.RD50_MPW3]

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

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

  133   Sat May 6 16:43:35 2023 TB crewMPX2 MPW3 TB79RD50-MPW3175.3Low Flux MediumProton4106269Good06.05.2023 16:37:5306.05.2023 16:42:43 Normal Casc
automatic log for run 79
Comment:
VCLIP 150
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  132   Sat May 6 16:37:40 2023 TB crewMPX2 MPW3 TB78RD50-MPW3175.3Low Flux MediumProton4053764Good06.05.2023 16:31:3306.05.2023 16:36:48 Normal Casc
automatic log for run 78
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  127   Sat May 6 15:58:49 2023 TB crewMPX2 MPW3 TB73RD50-MPW3800200kHzProton3897223Good06.05.2023 15:52:1906.05.2023 15:57:58 Normal Casc
automatic log for run 73
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  144   Sat May 6 18:52:10 2023   90common800Low Flux LowProton36435245Good06.05.2023 18:01:4706.05.2023 18:51:18 Normal
automatic log for run 90
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
pCT_STOP_RUN_AFTER_N_SECONDS = 120
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  29   Sun Feb 19 01:31:35 2023 BP_PSbeam22common8005kHzProton3527769Unknown19.02.2023 01:23:5819.02.2023 01:31:34  
automatic log for run 22
Attachment 1: mpw3.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

[Producer.tracker_irgendwas]

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


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


[Producer.RD50_MPW3]

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

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

  168   Sat May 6 21:04:50 2023   114common800200kHzProton349320Good06.05.2023 21:03:2406.05.2023 21:03:58 Normal
automatic log for run 114
Comment:
VCLIP 200
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
pCT_STOP_RUN_AFTER_N_SECONDS = 120
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  45   Sun Feb 19 04:07:11 2023 BP_PSbeam36RD50-MPW3800200kHzProton342134Unknown19.02.2023 04:05:4419.02.2023 04:07:11  
automatic log for run 36
Attachment 1: mpw3.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

[Producer.tracker_irgendwas]

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


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


[Producer.RD50_MPW3]

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

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

  21   Sun Feb 19 00:32:49 2023 BP_PSbeam14common8005kHzProton3313269Unknown19.02.2023 00:26:0819.02.2023 00:32:49  
automatic log for run 14
Attachment 1: mpw3.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.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

[Producer.tracker_irgendwas]

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


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


[Producer.RD50_MPW3]

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

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

  137   Sat May 6 17:08:40 2023 TB crewMPX2 MPW3 TB83RD50-MPW3100.4Low Flux MediumProton3272369Good06.05.2023 17:02:2906.05.2023 17:07:49 Normal Casc
automatic log for run 83
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  152   Sat May 6 19:42:31 2023   98common800200kHzProton314807Crap06.05.2023 19:20:4306.05.2023 19:41:39 Normal
automatic log for run 98
Comment:
VCLIP 190
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
pCT_STOP_RUN_AFTER_N_SECONDS = 120
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  140   Sat May 6 17:28:18 2023 TB crewMPX2 MPW3 TB86RD50-MPW383Low Flux MediumProton3144767Good06.05.2023 17:22:3106.05.2023 17:27:26 Normal Casc
automatic log for run 86
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  164   Sat May 6 20:42:17 2023   110common800200kHzProton3100010Good06.05.2023 20:36:5906.05.2023 20:41:24 Normal
automatic log for run 110
Comment:
VCLIP 135
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
pCT_STOP_RUN_AFTER_N_SECONDS = 120
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  178   Sat May 6 21:58:14 2023   124common8005kHzProton306082Good06.05.2023 21:50:0406.05.2023 21:57:21 Normal
automatic log for run 124
Comment:
Alignment run low flux
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
pCT_STOP_RUN_AFTER_N_SECONDS = 120
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

#chip register config
#VCLIP = 190 
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 20
VRESET = 140
#IDB = 250

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

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

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

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

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

  177   Sat May 6 21:46:56 2023   123common8005kHzProton2987729Unknown06.05.2023 21:41:3706.05.2023 21:46:04 Normal
automatic log for run 123
Comment:
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
pCT_STOP_RUN_AFTER_N_SECONDS = 120
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

#chip register config
#VCLIP = 190 
#VL = 30 
#VH = 150
#ITHR = 30
#IBIAS = 60
#VCASP = 40
#ICASN = 20
VRESET = 140
#IDB = 250

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

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

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

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

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

  139   Sat May 6 17:22:40 2023 TB crewMPX2 MPW3 TB85RD50-MPW383Low Flux MediumProton2779147Good06.05.2023 17:16:2506.05.2023 17:21:48 Normal Casc
automatic log for run 85
Comment:
VCLIP 150
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  175   Sat May 6 21:38:19 2023   121common800200kHzProton2732840Good06.05.2023 21:33:3306.05.2023 21:37:27 Normal
automatic log for run 121
Comment:
VCLIP?
Attachment 1: mpw3_mpx2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
pCT_STOP_RUN_AFTER_N_SECONDS = 120
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

[Producer.tracker_irgendwas]

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

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

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

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

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

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

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

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


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

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

DUTIgnoreShutterVeto= 0x0


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc
EnableRecordData = 1

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


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


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

[Producer.RD50_MPW3]

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

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


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


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

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

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

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

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

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

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

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

  15   Sat Feb 18 23:38:40 2023 BP_PSbeam9common8005kHzProton2714936Unknown18.02.2023 23:33:1518.02.2023 23:38:40  
automatic log for run 9
Attachment 1: mpw3.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.6363 #Szinti 4x4cm
PMT2_V= 0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

[Producer.tracker_irgendwas]

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


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


[Producer.RD50_MPW3]

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

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

  26   Sun Feb 19 00:47:46 2023 BP_PSbeam19common8005kHzProton2516208Unknown19.02.2023 00:42:4319.02.2023 00:47:46  
automatic log for run 19
Attachment 1: mpw3.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

[Producer.tracker_irgendwas]

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


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


[Producer.RD50_MPW3]

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

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

  43   Sun Feb 19 03:35:01 2023  beam34RD50-MPW3800200kHzProton2514361Unknown19.02.2023 03:29:0019.02.2023 03:35:01  
automatic log for run 34
Attachment 1: mpw3.conf
# example config file: Ex0.conf
[RunControl]
pCT_STOP_RUN_AFTER_N_SECONDS = 10000000000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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

[Producer.tracker_irgendwas]

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


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


[Producer.RD50_MPW3]

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

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

ELOG V3.1.5-fc6679b