Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-MA2018 testbeam-MA2019 testbeam-MA2020 testbeam-MA2021 testbeam-MA2023 testbeam-MA2024
  Testbeams at MedAustron in 2024, all entries  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Author Subject Run Number DUT Beam Energy Rate Setting Particle Type Data t-Start t-Stop Duration_min Frontenddown Phantom Phantom thickness
  2   Sat Mar 30 06:53:31 2024 bp, ci, hhRD50-MPW4 RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
about to start

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

[Producer.tracker_irgendwas]

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


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

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

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

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

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

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

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

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

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

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

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

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

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

[dssd_5_1_4]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 231mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
  3   Sat Mar 30 06:54:51 2024 bp, ci, hhRD50-MPW41000RD50-MPW4800 MeVLow Flux Very LowProtonUnknown30.03.2024 06:56:2330.03.2024 06:57:180Normal  
automatic log for run 1000
Comment:
1st test runs
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

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



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


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


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

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 13 
00 01 0 0 0 0 4 
00 02 0 0 0 0 9 
00 03 0 0 0 0 12 
00 04 0 0 0 0 7 
00 05 0 0 0 0 10 
00 06 0 0 0 0 8 
00 07 0 0 0 0 8 
00 08 0 0 0 0 8 
00 09 0 0 0 0 9 
00 10 0 0 0 0 10 
00 11 0 0 0 0 5 
00 12 0 0 0 0 14 
00 13 0 0 0 0 6 
00 14 0 0 0 0 7 
00 15 0 0 0 0 3 
00 16 0 0 0 0 5 
00 17 0 0 0 0 15 
00 18 0 0 0 0 12 
00 19 0 0 0 0 11 
00 20 0 0 0 0 6 
00 21 0 0 0 0 5 
00 22 0 0 0 0 7 
00 23 0 0 0 0 6 
00 24 0 0 0 0 10 
00 25 0 0 0 0 4 
00 26 0 0 0 0 6 
00 27 0 0 0 0 0 
00 28 0 0 0 0 6 
00 29 0 0 0 0 6 
00 30 0 0 0 0 11 
00 31 0 0 0 0 3 
00 32 0 0 0 0 6 
00 33 0 0 0 0 8 
00 34 0 0 0 0 9 
00 35 0 0 0 0 8 
00 36 0 0 0 0 11 
00 37 0 0 0 0 8 
00 38 0 0 0 0 11 
00 39 0 0 0 0 8 
00 40 0 0 0 0 13 
00 41 0 0 0 0 8 
00 42 0 0 0 0 7 
00 43 0 0 0 0 5 
00 44 0 0 0 0 10 
00 45 0 0 0 0 14 
00 46 0 0 0 0 3 
00 47 0 0 0 0 8 
00 48 0 0 0 0 7 
00 49 0 0 0 0 7 
00 50 0 0 0 0 5 
00 51 0 0 0 0 8 
00 52 0 0 0 0 11 
00 53 0 0 0 0 7 
00 54 0 0 0 0 8 
00 55 0 0 0 0 10 
00 56 0 0 0 0 11 
00 57 0 0 0 0 6 
00 58 0 0 0 0 11 
00 59 0 0 0 0 4 
00 60 0 0 0 0 8 
00 61 0 0 0 0 5 
00 62 1 0 0 0 10 
00 63 0 0 0 0 9 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 8 
01 03 0 0 0 0 7 
01 04 0 0 0 0 10 
01 05 0 0 0 0 0 
01 06 0 0 0 0 10 
01 07 0 0 0 0 15 
01 08 0 0 0 0 4 
01 09 0 0 0 0 13 
01 10 0 0 0 0 9 
01 11 0 0 0 0 4 
01 12 0 0 0 0 12 
01 13 0 0 0 0 11 
01 14 0 0 0 0 7 
01 15 0 0 0 0 2 
01 16 0 0 0 0 7 
01 17 0 0 0 0 12 
01 18 0 0 0 0 6 
01 19 0 0 0 0 10 
01 20 0 0 0 0 9 
01 21 0 0 0 0 13 
01 22 0 0 0 0 6 
01 23 0 0 0 0 12 
01 24 0 0 0 0 5 
01 25 0 0 0 0 10 
01 26 0 0 0 0 9 
01 27 0 0 0 0 9 
01 28 0 0 0 0 5 
01 29 0 0 0 0 4 
01 30 0 0 0 0 9 
01 31 0 0 0 0 6 
01 32 0 0 0 0 10 
01 33 0 0 0 0 5 
01 34 1 0 0 0 15 
01 35 0 0 0 0 8 
01 36 0 0 0 0 4 
01 37 0 0 0 0 7 
01 38 0 0 0 0 12 
01 39 0 0 0 0 8 
01 40 0 0 0 0 9 
01 41 0 0 0 0 4 
01 42 0 0 0 0 12 
01 43 0 0 0 0 6 
01 44 0 0 0 0 6 
01 45 0 0 0 0 13 
01 46 0 0 0 0 12 
01 47 0 0 0 0 8 
01 48 0 0 0 0 4 
01 49 0 0 0 0 10 
01 50 0 0 0 0 10 
01 51 0 0 0 0 8 
01 52 0 0 0 0 10 
01 53 0 0 0 0 11 
01 54 0 0 0 0 11 
01 55 0 0 0 0 4 
01 56 0 0 0 0 13 
01 57 0 0 0 0 12 
01 58 0 0 0 0 4 
01 59 0 0 0 0 5 
01 60 0 0 0 0 9 
01 61 0 0 0 0 7 
01 62 0 0 0 0 7 
01 63 0 0 0 0 10 
02 00 0 0 0 0 6 
02 01 0 0 0 0 11 
02 02 0 0 0 0 14 
02 03 0 0 0 0 8 
02 04 0 0 0 0 11 
02 05 0 0 0 0 14 
02 06 0 0 0 0 11 
02 07 0 0 0 0 12 
02 08 0 0 0 0 7 
02 09 0 0 0 0 10 
02 10 0 0 0 0 6 
02 11 0 0 0 0 7 
02 12 0 0 0 0 9 
02 13 0 0 0 0 5 
02 14 0 0 0 0 8 
02 15 0 0 0 0 6 
02 16 0 0 0 0 10 
02 17 0 0 0 0 10 
02 18 0 0 0 0 10 
02 19 0 0 0 0 8 
02 20 0 0 0 0 9 
02 21 0 0 0 0 7 
02 22 0 0 0 0 4 
02 23 0 0 0 0 7 
02 24 0 0 0 0 12 
02 25 0 0 0 0 2 
02 26 0 0 0 0 2 
02 27 0 0 0 0 9 
02 28 0 0 0 0 7 
02 29 0 0 0 0 8 
02 30 0 0 0 0 9 
02 31 0 0 0 0 11 
02 32 0 0 0 0 7 
02 33 0 0 0 0 9 
02 34 0 0 0 0 6 
02 35 1 0 0 0 10 
02 36 0 0 0 0 10 
02 37 0 0 0 0 14 
02 38 0 0 0 0 7 
02 39 0 0 0 0 7 
02 40 0 0 0 0 7 
02 41 0 0 0 0 9 
02 42 0 0 0 0 6 
02 43 0 0 0 0 9 
02 44 0 0 0 0 4 
02 45 0 0 0 0 10 
02 46 0 0 0 0 12 
02 47 0 0 0 0 8 
02 48 0 0 0 0 5 
02 49 0 0 0 0 12 
02 50 0 0 0 0 5 
02 51 0 0 0 0 9 
02 52 0 0 0 0 6 
02 53 0 0 0 0 5 
02 54 0 0 0 0 6 
02 55 0 0 0 0 8 
02 56 0 0 0 0 4 
02 57 0 0 0 0 7 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 8 
02 61 0 0 0 0 9 
02 62 0 0 0 0 12 
02 63 0 0 0 0 8 
03 00 0 0 0 0 8 
03 01 0 0 0 0 11 
03 02 0 0 0 0 5 
03 03 0 0 0 0 2 
03 04 0 0 0 0 6 
03 05 0 0 0 0 9 
03 06 0 0 0 0 6 
03 07 0 0 0 0 7 
03 08 0 0 0 0 8 
03 09 0 0 0 0 8 
03 10 0 0 0 0 6 
03 11 0 0 0 0 5 
03 12 0 0 0 0 12 
03 13 0 0 0 0 3 
03 14 0 0 0 0 9 
03 15 0 0 0 0 1 
03 16 0 0 0 0 6 
03 17 0 0 0 0 13 
03 18 0 0 0 0 15 
03 19 0 0 0 0 8 
03 20 0 0 0 0 8 
03 21 0 0 0 0 6 
03 22 0 0 0 0 7 
03 23 0 0 0 0 8 
03 24 0 0 0 0 4 
03 25 0 0 0 0 5 
03 26 0 0 0 0 6 
03 27 0 0 0 0 5 
03 28 0 0 0 0 11 
03 29 0 0 0 0 9 
03 30 0 0 0 0 6 
03 31 0 0 0 0 12 
03 32 0 0 0 0 6 
03 33 0 0 0 0 6 
03 34 0 0 0 0 9 
03 35 0 0 0 0 6 
03 36 0 0 0 0 10 
03 37 0 0 0 0 11 
03 38 0 0 0 0 10 
03 39 0 0 0 0 10 
03 40 0 0 0 0 4 
03 41 0 0 0 0 8 
03 42 0 0 0 0 12 
03 43 0 0 0 0 12 
03 44 0 0 0 0 9 
03 45 0 0 0 0 12 
03 46 0 0 0 0 9 
03 47 0 0 0 0 3 
03 48 0 0 0 0 9 
03 49 0 0 0 0 7 
03 50 0 0 0 0 1 
03 51 0 0 0 0 8 
03 52 0 0 0 0 9 
03 53 0 0 0 0 10 
03 54 0 0 0 0 4 
03 55 0 0 0 0 3 
03 56 0 0 0 0 12 
03 57 0 0 0 0 5 
03 58 0 0 0 0 4 
03 59 0 0 0 0 7 
03 60 1 0 0 0 8 
03 61 0 0 0 0 8 
03 62 0 0 0 0 8 
03 63 0 0 0 0 1 
04 00 0 0 0 0 8 
04 01 0 0 0 0 15 
04 02 0 0 0 0 12 
04 03 0 0 0 0 4 
04 04 0 0 0 0 9 
04 05 0 0 0 0 11 
04 06 0 0 0 0 14 
04 07 0 0 0 0 10 
04 08 0 0 0 0 4 
04 09 0 0 0 0 7 
04 10 0 0 0 0 8 
04 11 0 0 0 0 11 
04 12 0 0 0 0 9 
04 13 0 0 0 0 11 
04 14 0 0 0 0 7 
04 15 0 0 0 0 10 
04 16 0 0 0 0 3 
04 17 0 0 0 0 10 
04 18 0 0 0 0 11 
04 19 0 0 0 0 12 
04 20 0 0 0 0 10 
04 21 0 0 0 0 11 
04 22 0 0 0 0 8 
04 23 0 0 0 0 11 
04 24 0 0 0 0 2 
04 25 0 0 0 0 3 
04 26 0 0 0 0 9 
04 27 0 0 0 0 11 
04 28 0 0 0 0 7 
04 29 0 0 0 0 4 
04 30 0 0 0 0 5 
04 31 0 0 0 0 9 
04 32 0 0 0 0 4 
04 33 0 0 0 0 8 
04 34 0 0 0 0 7 
04 35 0 0 0 0 3 
04 36 0 0 0 0 4 
04 37 0 0 0 0 10 
... 3802 more lines ...
Attachment 3: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]

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

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  43   Sat Mar 30 13:35:09 2024 bp, ci, hhuseful datataking RD50-MPW4800 MeVLow Flux LowProtonGood   Normal  
new users arrived
  102   Sun Aug 25 06:34:56 2024 tb-crewPiggy test44RD50-MPW4800 MeVLow Flux LowProtonUnknown25.08.2024 06:35:1325.08.2024 06:35:230Normal  
automatic log for run 44
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  103   Sun Aug 25 06:42:38 2024 tb-crewPiggy test45RD50-MPW4800 MeVLow Flux LowProtonUnknown25.08.2024 06:40:5225.08.2024 06:43:042Normal  
automatic log for run 45
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  104   Sun Aug 25 06:43:53 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux LowProtonUnknown   Normal  
first tests, trying to get beam right beam
  105   Sun Aug 25 06:45:12 2024 tb-crewPiggy test46RD50-MPW4800 MeVLow Flux LowProtonUnknown25.08.2024 06:44:3325.08.2024 06:45:391Normal  
automatic log for run 46
Comment:
first tests, trying to get beam right beam
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  106   Sun Aug 25 06:47:14 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
rate should be fine now
  107   Sun Aug 25 06:51:00 2024 tb-crewPiggy test47RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 06:48:2925.08.2024 06:51:272Normal  
automatic log for run 47
Comment:
with tracker
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  108   Sun Aug 25 06:57:58 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
data is correlated
  109   Sun Aug 25 07:01:37 2024 tb-crewPiggy test48RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 06:51:4625.08.2024 07:02:0410Normal  
automatic log for run 48
Comment:
data is correlated
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  110   Sun Aug 25 07:03:33 2024 tb-crewPiggy test49RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 07:02:2425.08.2024 07:04:001Normal  
automatic log for run 49
Comment:
data is correlated
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  111   Sun Aug 25 07:04:31 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
adjusting geometry
was a lil schief
  112   Sun Aug 25 07:43:36 2024 tb-crewPiggy test50RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 07:19:4625.08.2024 07:44:0324Normal  
automatic log for run 50
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  113   Sun Aug 25 07:43:57 2024 tb-crewPiggy test RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
DUT might have been stuck at end of last run
  114   Sun Aug 25 08:10:54 2024 tb-crewPiggy test51RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 07:45:1525.08.2024 08:11:2026Normal  
automatic log for run 51
Comment:
stuck again?
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  115   Sun Aug 25 08:33:56 2024 tb-crewPiggy test52RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 08:11:4025.08.2024 08:34:2322Normal  
automatic log for run 52
Comment:
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  116   Sun Aug 25 08:51:02 2024 tb-crewVNFB scan53RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 08:36:2425.08.2024 08:51:2815Normal  
automatic log for run 53
Comment:
vnfb = 10
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  117   Sun Aug 25 08:59:46 2024 tb-crewVNFB scan54RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 08:53:1625.08.2024 09:00:136Normal  
automatic log for run 54
Comment:
vnfb = 20
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  118   Sun Aug 25 09:12:07 2024 tb-crewVNFB scan55RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 09:01:2625.08.2024 09:12:3411Normal  
automatic log for run 55
Comment:
vnfb = 30
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  119   Sun Aug 25 09:24:15 2024 tb-crewVNFB scan56RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 09:13:3525.08.2024 09:24:4211Normal  
automatic log for run 56
Comment:
vnfb = 40
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  120   Sun Aug 25 09:35:54 2024 tb-crewVNFB scan57RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 09:25:4325.08.2024 09:36:2210Normal  
automatic log for run 57
Comment:
vnfb = 50
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  121   Sun Aug 25 09:47:51 2024 tb-crewVNFB scan58RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 09:37:1325.08.2024 09:48:1811Normal  
automatic log for run 58
Comment:
vnfb = 60
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  122   Sun Aug 25 09:58:51 2024 tb-crewonly base RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
removed Piggy connections
  124   Sun Aug 25 10:06:51 2024 tb-crewonly base59RD50-MPW4800 MeVLow Flux Very LowProtonCrap25.08.2024 10:05:0125.08.2024 10:07:182Normal  
automatic log for run 59
Comment:
reducing base threshold
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



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


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.15
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


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


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

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

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

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


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

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

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




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


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


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

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

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  125   Sun Aug 25 10:26:57 2024 tb-crewonly base60RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 10:12:0425.08.2024 10:27:2415Normal  
automatic log for run 60
Comment:
normal statistic run; !!! en_tb_mode was set to 0 -> possibly sync problem
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  126   Sun Aug 25 10:44:10 2024 tb-crewonly base61RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 10:28:1825.08.2024 10:44:3716Normal  
automatic log for run 61
Comment:
normal statistic run
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  127   Sun Aug 25 10:58:26 2024 tb-crewonly base62RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 10:48:2725.08.2024 10:58:5310Normal  
automatic log for run 62
Comment:
vnfb = 10
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 10
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  128   Sun Aug 25 11:09:44 2024 tb-crewonly base63RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 10:59:4225.08.2024 11:10:1110Normal  
automatic log for run 63
Comment:
vnfb = 60
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 60
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  129   Sun Aug 25 11:16:09 2024 tb-crewonly base64RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 11:14:1925.08.2024 11:16:362Normal  
automatic log for run 64
Comment:
experimental DAC settings
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 45
vnfb = 52
vnsensbias = 50
vnsf = 52
vpbias = 55
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  130   Sun Aug 25 11:19:53 2024 tb-crewonly base65RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 11:17:2225.08.2024 11:20:202Normal  
automatic log for run 65
Comment:
experimental DAC settings
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 45
vnfb = 52
vnsensbias = 50
vnsf = 52
vpbias = 55
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.1
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  131   Sun Aug 25 11:31:49 2024 tb-crewonly base66RD50-MPW4800 MeVLow Flux Very LowProtonUnknown25.08.2024 11:21:0625.08.2024 11:32:1611Normal  
automatic log for run 66
Comment:
experimental DAC settings
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 45
vnfb = 52
vnsensbias = 50
vnsf = 52
vpbias = 55
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 1.1
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  132   Sun Aug 25 11:33:21 2024 tb-crewonly base RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
back to nominal DACs and thr
  133   Sun Aug 25 11:35:21 2024 tb-crewonly base67RD50-MPW4252.7 MeVLow Flux Very LowProtonUnknown25.08.2024 11:35:3325.08.2024 11:35:480Normal  
automatic log for run 67
Comment:
E-scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  134   Sun Aug 25 12:00:00 2024 tb-crewonly base68RD50-MPW4252.7 MeVLow Flux Very LowProtonUnknown25.08.2024 11:37:4125.08.2024 12:00:2722Normal  
automatic log for run 68
Comment:
E-scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  135   Sun Aug 25 12:23:44 2024 tb-crewonly base69RD50-MPW4175.3 MeVLow Flux Very LowProtonUnknown25.08.2024 12:04:3225.08.2024 12:24:1019Normal  
automatic log for run 69
Comment:
E-scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  136   Sun Aug 25 12:39:45 2024 tb-crewonly base70RD50-MPW4100.4 MeVLow Flux Very LowProtonUnknown25.08.2024 12:24:3625.08.2024 12:40:1215Normal  
automatic log for run 70
Comment:
E-scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  137   Sun Aug 25 12:51:10 2024 tb-crewonly base71RD50-MPW462.4 MeVLow Flux Very LowProtonUnknown25.08.2024 12:40:4125.08.2024 12:51:3710Normal  
automatic log for run 71
Comment:
E-scan
Attachment 1: peary_config.cfg
#This config file was generated with the "MPW3_gui - Config Creator"
#Do not change comment lines like "SEC::xxx" !
#They are needed for parsing



[RD50_MPW4]
this_config_file = config.cfg
#SEC::MISC
calib_file = cBase
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
bl__u = 0.9
bl__i = 3
del_hi__u = 0.7
del_hi__i = 3
del_lo__u = 0.9
del_lo__i = 3
inj__u = 0.7
inj__i = 3
p1v3_vssa__u = 1.3
p1v3_vssa__i = 3
p1v8_nw_ring__u = 1.8
p1v8_nw_ring__i = 3
p1v8_vdd!__u = 1.8
p1v8_vdd!__i = 3
p1v8_vdda__u = 1.8
p1v8_vdda__i = 3
p1v8_vddc__u = 1.8
p1v8_vddc__i = 3
p1v8_vddp__u = 1.8
p1v8_vddp__i = 3
p1v8_vsensbus__u = 1.8
p1v8_vsensbus__i = 3
p2v5d__u = 2.5
p2v5d__i = 3
th__u = 0.96
th__i = 3


[RD50_MPW4_Piggy]
this_config_file = config.cfg
#SEC::MISC
calib_file = cPiggy
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_hitbus_dcols = 
en_sfout_dcol = 0
en_tb_mode = 0
execute_file = execute.txt
i2c_addr = 0x47
i2c_dev = /dev/i2c-9
inj_t0 = 0
matrix_config = matrix_mpw4_piggy.txt


#SEC::REGISTERS
conf_reg_ts_ctrl = 4
conf_reg_ts_ini = 0
cu_ctrl = 0
en_ext_ctrl = 0
en_ser_out_dcol = 0
en_sfout_dcol = 0
fei3_pulldn = 0
fei3_read = 3
idle0 = 251
idle1 = 247
idle2 = 247
idle3 = 247
tx_ctrl = 0
vbfb = 38
vblr = 38
vn = 21
vnfb = 18
vnsensbias = 50
vnsf = 45
vpbias = 37
vpcomp = 19
vptrim = 36


#SEC::POWER
# voltages with suffix "__u", currents with "__i"
Attachment 2: matrix_mpw4_base.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 0 0 0 15 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 13 
00 04 0 0 0 0 11 
00 05 0 0 0 0 15 
00 06 0 0 0 0 15 
00 07 0 0 0 0 8 
00 08 0 0 0 0 0 
00 09 0 0 0 0 15 
00 10 0 0 0 0 8 
00 11 0 0 0 0 7 
00 12 0 0 0 0 15 
00 13 0 0 0 0 0 
00 14 0 0 0 0 8 
00 15 0 0 0 0 4 
00 16 0 0 0 0 3 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 15 
00 20 0 0 0 0 0 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 9 
00 24 0 0 0 0 15 
00 25 0 0 0 0 6 
00 26 0 0 0 0 0 
00 27 0 0 0 0 0 
00 28 0 0 0 0 14 
00 29 0 0 0 0 0 
00 30 0 0 0 0 7 
00 31 0 0 0 0 0 
00 32 0 0 0 0 12 
00 33 0 0 0 0 5 
00 34 0 0 0 0 15 
00 35 0 0 0 0 12 
00 36 0 0 0 0 15 
00 37 0 0 0 0 11 
00 38 0 0 0 0 0 
00 39 0 0 0 0 9 
00 40 0 0 0 0 15 
00 41 0 0 0 0 0 
00 42 0 0 0 0 15 
00 43 0 0 0 0 4 
00 44 0 0 0 0 1 
00 45 0 0 0 0 15 
00 46 0 0 0 0 1 
00 47 0 0 0 0 0 
00 48 0 0 0 0 0 
00 49 0 0 0 0 0 
00 50 0 0 0 0 0 
00 51 0 0 0 0 0 
00 52 0 0 0 0 15 
00 53 0 0 0 0 8 
00 54 0 0 0 0 11 
00 55 0 0 0 0 11 
00 56 0 0 0 0 15 
00 57 0 0 0 0 0 
00 58 0 0 0 0 4 
00 59 0 0 0 0 0 
00 60 0 0 0 0 12 
00 61 0 0 0 0 0 
00 62 0 0 0 0 15 
00 63 0 0 0 0 15 
01 00 0 0 0 0 15 
01 01 0 0 0 0 10 
01 02 0 0 0 0 15 
01 03 0 0 0 0 3 
01 04 0 0 0 0 7 
01 05 0 0 0 0 0 
01 06 0 0 0 0 5 
01 07 0 0 0 0 12 
01 08 0 0 0 0 11 
01 09 0 0 0 0 15 
01 10 0 0 0 0 8 
01 11 0 0 0 0 7 
01 12 0 0 0 0 14 
01 13 0 0 0 0 15 
01 14 0 0 0 0 14 
01 15 0 0 0 0 0 
01 16 0 0 0 0 0 
01 17 0 0 0 0 15 
01 18 0 0 0 0 1 
01 19 0 0 0 0 15 
01 20 0 0 0 0 6 
01 21 0 0 0 0 15 
01 22 0 0 0 0 0 
01 23 0 0 0 0 15 
01 24 0 0 0 0 0 
01 25 0 0 0 0 0 
01 26 0 0 0 0 6 
01 27 0 0 0 0 4 
01 28 0 0 0 0 0 
01 29 0 0 0 0 0 
01 30 0 0 0 0 0 
01 31 0 0 0 0 0 
01 32 0 0 0 0 10 
01 33 0 0 0 0 6 
01 34 0 0 0 0 15 
01 35 0 0 0 0 11 
01 36 0 0 0 0 4 
01 37 0 0 0 0 9 
01 38 0 0 0 0 15 
01 39 0 0 0 0 10 
01 40 0 0 0 0 12 
01 41 0 0 0 0 5 
01 42 0 0 0 0 15 
01 43 0 0 0 0 0 
01 44 0 0 0 0 5 
01 45 0 0 0 0 15 
01 46 0 0 0 0 10 
01 47 0 0 0 0 0 
01 48 0 0 0 0 0 
01 49 0 0 0 0 8 
01 50 0 0 0 0 15 
01 51 0 0 0 0 6 
01 52 0 0 0 0 4 
01 53 0 0 0 0 0 
01 54 0 0 0 0 15 
01 55 0 0 0 0 0 
01 56 0 0 0 0 10 
01 57 0 0 0 0 15 
01 58 0 0 0 0 0 
01 59 0 0 0 0 5 
01 60 0 0 0 0 8 
01 61 0 0 0 0 14 
01 62 0 0 0 0 11 
01 63 0 0 0 0 15 
02 00 0 0 0 0 3 
02 01 0 0 0 0 15 
02 02 0 0 0 0 15 
02 03 0 0 0 0 13 
02 04 0 0 0 0 15 
02 05 0 0 0 0 11 
02 06 0 0 0 0 15 
02 07 0 0 0 0 15 
02 08 0 0 0 0 15 
02 09 0 0 0 0 12 
02 10 0 0 0 0 11 
02 11 0 0 0 0 0 
02 12 0 0 0 0 7 
02 13 0 0 0 0 9 
02 14 0 0 0 0 11 
02 15 0 0 0 0 2 
02 16 0 0 0 0 15 
02 17 0 0 0 0 13 
02 18 0 0 0 0 12 
02 19 0 0 0 0 15 
02 20 0 0 0 0 15 
02 21 0 0 0 0 7 
02 22 0 0 0 0 2 
02 23 0 0 0 0 15 
02 24 0 0 0 0 10 
02 25 0 0 0 0 9 
02 26 0 0 0 0 7 
02 27 0 0 0 0 5 
02 28 0 0 0 0 15 
02 29 0 0 0 0 15 
02 30 0 0 0 0 14 
02 31 0 0 0 0 15 
02 32 0 0 0 0 13 
02 33 0 0 0 0 7 
02 34 0 0 0 0 0 
02 35 0 0 0 0 7 
02 36 0 0 0 0 1 
02 37 0 0 0 0 15 
02 38 0 0 0 0 3 
02 39 0 0 0 0 11 
02 40 0 0 0 0 7 
02 41 0 0 0 0 13 
02 42 0 0 0 0 4 
02 43 0 0 0 0 15 
02 44 0 0 0 0 0 
02 45 0 0 0 0 15 
02 46 0 0 0 0 15 
02 47 0 0 0 0 0 
02 48 0 0 0 0 8 
02 49 0 0 0 0 15 
02 50 0 0 0 0 0 
02 51 0 0 0 0 12 
02 52 0 0 0 0 7 
02 53 0 0 0 0 11 
02 54 0 0 0 0 0 
02 55 0 0 0 0 2 
02 56 0 0 0 0 0 
02 57 0 0 0 0 0 
02 58 0 0 0 0 15 
02 59 0 0 0 0 15 
02 60 0 0 0 0 14 
02 61 0 0 0 0 15 
02 62 0 0 0 0 0 
02 63 0 0 0 0 12 
03 00 0 0 0 0 11 
03 01 0 0 0 0 15 
03 02 0 0 0 0 3 
03 03 0 0 0 0 0 
03 04 0 0 0 0 14 
03 05 0 0 0 0 15 
03 06 0 0 0 0 5 
03 07 0 0 0 0 7 
03 08 0 0 0 0 0 
03 09 0 0 0 0 10 
03 10 0 0 0 0 0 
03 11 0 0 0 0 0 
03 12 0 0 0 0 15 
03 13 0 0 0 0 5 
03 14 0 0 0 0 15 
03 15 0 0 0 0 0 
03 16 0 0 0 0 0 
03 17 0 0 0 0 15 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 2 
03 21 0 0 0 0 0 
03 22 0 0 0 0 3 
03 23 0 0 0 0 6 
03 24 0 0 0 0 8 
03 25 0 0 0 0 0 
03 26 0 0 0 0 15 
03 27 0 0 0 0 4 
03 28 0 0 0 0 10 
03 29 0 0 0 0 15 
03 30 0 0 0 0 0 
03 31 0 0 0 0 15 
03 32 0 0 0 0 0 
03 33 0 0 0 0 0 
03 34 0 0 0 0 6 
03 35 0 0 0 0 7 
03 36 0 0 0 0 8 
03 37 0 0 0 0 7 
03 38 0 0 0 0 15 
03 39 0 0 0 0 15 
03 40 0 0 0 0 0 
03 41 0 0 0 0 0 
03 42 0 0 0 0 15 
03 43 0 0 0 0 15 
03 44 0 0 0 0 1 
03 45 0 0 0 0 15 
03 46 0 0 0 0 3 
03 47 0 0 0 0 1 
03 48 0 0 0 0 3 
03 49 0 0 0 0 12 
03 50 0 0 0 0 0 
03 51 0 0 0 0 1 
03 52 0 0 0 0 4 
03 53 0 0 0 0 14 
03 54 0 0 0 0 3 
03 55 0 0 0 0 15 
03 56 0 0 0 0 10 
03 57 0 0 0 0 0 
03 58 0 0 0 0 15 
03 59 0 0 0 0 8 
03 60 0 0 0 0 0 
03 61 0 0 0 0 0 
03 62 0 0 0 0 0 
03 63 0 0 0 0 3 
04 00 0 0 0 0 0 
04 01 0 0 0 0 15 
04 02 0 0 0 0 15 
04 03 0 0 0 0 2 
04 04 0 0 0 0 10 
04 05 0 0 0 0 15 
04 06 0 0 0 0 15 
04 07 0 0 0 0 15 
04 08 0 0 0 0 3 
04 09 0 0 0 0 0 
04 10 0 0 0 0 0 
04 11 0 0 0 0 14 
04 12 0 0 0 0 11 
04 13 0 0 0 0 9 
04 14 0 0 0 0 0 
04 15 0 0 0 0 15 
04 16 0 0 0 0 0 
04 17 0 0 0 0 7 
04 18 0 0 0 0 12 
04 19 0 0 0 0 15 
04 20 0 0 0 0 15 
04 21 0 0 0 0 8 
04 22 0 0 0 0 5 
04 23 0 0 0 0 15 
04 24 0 0 0 0 5 
04 25 0 0 0 0 0 
04 26 0 0 0 0 14 
04 27 0 0 0 0 13 
04 28 0 0 0 0 13 
04 29 0 0 0 0 12 
04 30 0 0 0 0 0 
04 31 0 0 0 0 2 
04 32 0 0 0 0 7 
04 33 0 0 0 0 3 
04 34 0 0 0 0 8 
04 35 0 0 0 0 0 
04 36 0 0 0 0 0 
04 37 0 0 0 0 15 
... 3802 more lines ...
Attachment 3: matrix_mpw4_piggy.txt
# Config-File of the Pixel-Matrix; generated by MPW3-Config-Creator
# each line represents the configuration of an individual pixel
# format: {row} {col} {masked} {en_inj} {en_hb} {en_sfout} {trimDAC} 

# default values (which are not printed) are:
# {row} {col} 0 0 0 0 -1 
00 00 0 1 0 0 0 
00 01 0 0 0 0 0 
00 02 0 0 0 0 15 
00 03 0 0 0 0 11 
00 04 0 0 0 0 11 
00 05 0 0 0 0 6 
00 06 0 0 0 0 0 
00 07 0 0 0 0 0 
00 08 0 0 0 0 7 
00 09 0 0 0 0 3 
00 10 0 0 0 0 15 
00 11 0 0 0 0 6 
00 12 0 0 0 0 6 
00 13 0 0 0 0 5 
00 14 0 0 0 0 15 
00 15 0 0 0 0 15 
00 16 0 0 0 0 1 
00 17 0 0 0 0 15 
00 18 0 0 0 0 15 
00 19 0 0 0 0 7 
00 20 0 0 0 0 6 
00 21 0 0 0 0 0 
00 22 0 0 0 0 15 
00 23 0 0 0 0 10 
00 24 0 0 0 0 14 
00 25 0 0 0 0 0 
00 26 0 0 0 0 15 
00 27 0 0 0 0 0 
00 28 0 0 0 0 3 
00 29 0 0 0 0 0 
00 30 0 0 0 0 11 
00 31 0 0 0 0 0 
00 32 0 0 0 0 6 
00 33 0 0 0 0 6 
00 34 0 0 0 0 11 
00 35 0 0 0 0 7 
00 36 0 0 0 0 15 
00 37 0 0 0 0 15 
00 38 0 0 0 0 8 
00 39 0 0 0 0 0 
00 40 0 0 0 0 1 
00 41 0 0 0 0 7 
00 42 0 0 0 0 8 
00 43 0 0 0 0 0 
00 44 0 0 0 0 7 
00 45 0 0 0 0 9 
00 46 0 0 0 0 15 
00 47 0 0 0 0 10 
00 48 0 0 0 0 15 
00 49 0 0 0 0 6 
00 50 0 0 0 0 14 
00 51 0 0 0 0 15 
00 52 0 0 0 0 15 
00 53 0 0 0 0 6 
00 54 0 0 0 0 15 
00 55 0 0 0 0 7 
00 56 0 0 0 0 15 
00 57 0 0 0 0 15 
00 58 0 0 0 0 15 
00 59 0 0 0 0 15 
00 60 0 0 0 0 15 
00 61 0 0 0 0 15 
00 62 0 0 0 0 15 
00 63 0 0 0 0 9 
01 00 0 0 0 0 0 
01 01 0 0 0 0 0 
01 02 0 0 0 0 8 
01 03 0 0 0 0 4 
01 04 0 0 0 0 9 
01 05 0 0 0 0 0 
01 06 0 0 0 0 9 
01 07 0 0 0 0 0 
01 08 0 0 0 0 15 
01 09 0 0 0 0 0 
01 10 0 0 0 0 15 
01 11 0 0 0 0 1 
01 12 0 0 0 0 13 
01 13 0 0 0 0 0 
01 14 0 0 0 0 0 
01 15 0 0 0 0 7 
01 16 0 0 0 0 15 
01 17 0 0 0 0 0 
01 18 0 0 0 0 6 
01 19 0 0 0 0 4 
01 20 0 0 0 0 6 
01 21 0 0 0 0 0 
01 22 0 0 0 0 0 
01 23 0 0 0 0 14 
01 24 0 0 0 0 1 
01 25 0 0 0 0 6 
01 26 0 0 0 0 7 
01 27 0 0 0 0 0 
01 28 0 0 0 0 13 
01 29 0 0 0 0 0 
01 30 0 0 0 0 15 
01 31 0 0 0 0 7 
01 32 0 0 0 0 15 
01 33 0 0 0 0 13 
01 34 0 0 0 0 15 
01 35 0 0 0 0 0 
01 36 0 0 0 0 0 
01 37 0 0 0 0 0 
01 38 0 0 0 0 15 
01 39 0 0 0 0 0 
01 40 0 0 0 0 1 
01 41 0 0 0 0 0 
01 42 0 0 0 0 0 
01 43 0 0 0 0 15 
01 44 0 0 0 0 12 
01 45 0 0 0 0 7 
01 46 0 0 0 0 15 
01 47 0 0 0 0 8 
01 48 0 0 0 0 11 
01 49 0 0 0 0 0 
01 50 0 0 0 0 15 
01 51 0 0 0 0 3 
01 52 0 0 0 0 15 
01 53 0 0 0 0 2 
01 54 0 0 0 0 15 
01 55 0 0 0 0 7 
01 56 0 0 0 0 15 
01 57 0 0 0 0 15 
01 58 0 0 0 0 15 
01 59 0 0 0 0 0 
01 60 0 0 0 0 15 
01 61 0 0 0 0 14 
01 62 0 0 0 0 6 
01 63 0 0 0 0 7 
02 00 0 0 0 0 15 
02 01 0 0 0 0 3 
02 02 0 0 0 0 5 
02 03 0 0 0 0 0 
02 04 0 0 0 0 6 
02 05 0 0 0 0 0 
02 06 0 0 0 0 7 
02 07 0 0 0 0 4 
02 08 0 0 0 0 8 
02 09 0 0 0 0 6 
02 10 0 0 0 0 15 
02 11 0 0 0 0 0 
02 12 0 0 0 0 12 
02 13 0 0 0 0 5 
02 14 0 0 0 0 4 
02 15 0 0 0 0 0 
02 16 0 0 0 0 15 
02 17 0 0 0 0 0 
02 18 0 0 0 0 15 
02 19 0 0 0 0 0 
02 20 0 0 0 0 7 
02 21 0 0 0 0 15 
02 22 0 0 0 0 5 
02 23 0 0 0 0 0 
02 24 0 0 0 0 6 
02 25 0 0 0 0 0 
02 26 0 0 0 0 15 
02 27 0 0 0 0 9 
02 28 0 0 0 0 10 
02 29 0 0 0 0 0 
02 30 0 0 0 0 10 
02 31 0 0 0 0 11 
02 32 0 0 0 0 13 
02 33 0 0 0 0 13 
02 34 0 0 0 0 15 
02 35 0 0 0 0 0 
02 36 0 0 0 0 15 
02 37 0 0 0 0 4 
02 38 0 0 0 0 0 
02 39 0 0 0 0 0 
02 40 0 0 0 0 6 
02 41 0 0 0 0 7 
02 42 0 0 0 0 15 
02 43 0 0 0 0 6 
02 44 0 0 0 0 10 
02 45 0 0 0 0 4 
02 46 0 0 0 0 15 
02 47 0 0 0 0 15 
02 48 0 0 0 0 15 
02 49 0 0 0 0 9 
02 50 0 0 0 0 3 
02 51 0 0 0 0 7 
02 52 0 0 0 0 15 
02 53 0 0 0 0 9 
02 54 0 0 0 0 15 
02 55 0 0 0 0 3 
02 56 0 0 0 0 14 
02 57 0 0 0 0 15 
02 58 0 0 0 0 15 
02 59 0 0 0 0 14 
02 60 0 0 0 0 15 
02 61 0 0 0 0 9 
02 62 0 0 0 0 15 
02 63 0 0 0 0 15 
03 00 0 0 0 0 15 
03 01 0 0 0 0 14 
03 02 0 0 0 0 15 
03 03 0 0 0 0 10 
03 04 0 0 0 0 15 
03 05 0 0 0 0 0 
03 06 0 0 0 0 0 
03 07 0 0 0 0 0 
03 08 0 0 0 0 15 
03 09 0 0 0 0 8 
03 10 0 0 0 0 14 
03 11 0 0 0 0 0 
03 12 0 0 0 0 12 
03 13 0 0 0 0 0 
03 14 0 0 0 0 11 
03 15 0 0 0 0 6 
03 16 0 0 0 0 15 
03 17 0 0 0 0 0 
03 18 0 0 0 0 15 
03 19 0 0 0 0 0 
03 20 0 0 0 0 15 
03 21 0 0 0 0 8 
03 22 0 0 0 0 8 
03 23 0 0 0 0 14 
03 24 0 0 0 0 15 
03 25 0 0 0 0 0 
03 26 0 0 0 0 14 
03 27 0 0 0 0 15 
03 28 0 0 0 0 5 
03 29 0 0 0 0 0 
03 30 0 0 0 0 4 
03 31 0 0 0 0 0 
03 32 0 0 0 0 7 
03 33 0 0 0 0 7 
03 34 0 0 0 0 15 
03 35 0 0 0 0 0 
03 36 0 0 0 0 8 
03 37 0 0 0 0 0 
03 38 0 0 0 0 15 
03 39 0 0 0 0 7 
03 40 0 0 0 0 6 
03 41 0 0 0 0 4 
03 42 0 0 0 0 13 
03 43 0 0 0 0 6 
03 44 0 0 0 0 15 
03 45 0 0 0 0 8 
03 46 0 0 0 0 5 
03 47 0 0 0 0 0 
03 48 0 0 0 0 0 
03 49 0 0 0 0 9 
03 50 0 0 0 0 12 
03 51 0 0 0 0 13 
03 52 0 0 0 0 7 
03 53 0 0 0 0 0 
03 54 0 0 0 0 15 
03 55 0 0 0 0 0 
03 56 0 0 0 0 6 
03 57 0 0 0 0 11 
03 58 0 0 0 0 12 
03 59 0 0 0 0 7 
03 60 0 0 0 0 11 
03 61 0 0 0 0 15 
03 62 0 0 0 0 9 
03 63 0 0 0 0 0 
04 00 0 0 0 0 10 
04 01 0 0 0 0 12 
04 02 0 0 0 0 4 
04 03 0 0 0 0 0 
04 04 0 0 0 0 0 
04 05 0 0 0 0 0 
04 06 0 0 0 0 7 
04 07 0 0 0 0 6 
04 08 0 0 0 0 15 
04 09 0 0 0 0 4 
04 10 0 0 0 0 4 
04 11 0 0 0 0 2 
04 12 0 0 0 0 15 
04 13 0 0 0 0 0 
04 14 0 0 0 0 5 
04 15 0 0 0 0 8 
04 16 0 0 0 0 8 
04 17 0 0 0 0 6 
04 18 0 0 0 0 6 
04 19 0 0 0 0 3 
04 20 0 0 0 0 13 
04 21 0 0 0 0 15 
04 22 0 0 0 0 15 
04 23 0 0 0 0 7 
04 24 0 0 0 0 15 
04 25 0 0 0 0 8 
04 26 0 0 0 0 8 
04 27 0 0 0 0 8 
04 28 0 0 0 0 11 
04 29 0 0 0 0 8 
04 30 0 0 0 0 3 
04 31 0 0 0 0 2 
04 32 0 0 0 0 15 
04 33 0 0 0 0 10 
04 34 0 0 0 0 15 
04 35 0 0 0 0 7 
04 36 0 0 0 0 15 
04 37 0 0 0 0 0 
... 3802 more lines ...
Attachment 4: mpw4.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.025 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0x6

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x30 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/testbeam_data/mpw4_maus_240825/tlu/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.RD50_MPW4_0]
#register_key = "vnfb"
#register_value = 0x12

[DataCollector.mpw4_dc]
# connection to the monitor
EUDAQ_MN = mpw4_mon
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /media/silicon/testbeam_data/mpw4_maus_240825/mpw4/mpw4_run$6R$X
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 100
# config-parameters
DISABLE_PRINT = 1
XILINX_IP = 192.168.201.1

[Monitor.mpw4_mon]
ENABLE_PRINT = 0
ENABLE_STD_PRINT = 0
ENABLE_STD_CONVERTER = 1
FORWARD2GUI = 1

[Producer.elog1]
start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "peary_config.cfg, matrix_mpw4_base.txt, matrix_mpw4_piggy.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  138   Sun Aug 25 13:04:26 2024 tb-crewonly base RD50-MPW462.4 MeVLow Flux Very LowProtonUnknown   Normal  
End of (promising) shift
  44   Sat Mar 30 15:02:07 2024 hh, mb, ps1st tests1027TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 14:52:5430.03.2024 15:04:3211HV  
automatic log for run 1027
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xB

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  45   Sat Mar 30 15:05:28 2024 hh, mb, ps1st tests1028TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:04:4730.03.2024 15:07:553HV  
automatic log for run 1028
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xB

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  46   Sat Mar 30 15:08:33 2024 hh, mb, ps1st tests1029TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:08:2630.03.2024 15:11:002HV  
automatic log for run 1029
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xB

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  47   Sat Mar 30 15:18:29 2024 hh, mb, ps1st tests1030TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:18:2130.03.2024 15:20:552HV  
automatic log for run 1030
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xB

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  48   Sat Mar 30 15:20:37 2024 hh, mb, ps1st tests1031TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:21:5130.03.2024 15:23:031HV  
automatic log for run 1031
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xB

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  49   Sat Mar 30 15:22:15 2024 hh, mb, ps1st tests1032TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:24:0230.03.2024 15:24:410HV  
automatic log for run 1032
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  50   Sat Mar 30 15:24:44 2024 hh, mb, ps1st tests1033TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:25:0630.03.2024 15:27:102HV  
automatic log for run 1033
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  51   Sat Mar 30 15:31:41 2024 hh, mb, ps1st tests1034TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:29:4930.03.2024 15:34:084HV  
automatic log for run 1034
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  52   Sat Mar 30 15:39:06 2024 hh, mb, ps1st tests1035TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:35:0630.03.2024 15:41:336HV  
automatic log for run 1035

All four chips enabled now


Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  53   Sat Mar 30 15:51:21 2024 hh, mb, ps1st tests1036TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:43:5330.03.2024 15:53:479HV  
automatic log for run 1036
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  54   Sat Mar 30 15:55:32 2024 hh, mb, ps1st tests1037TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 15:54:4430.03.2024 15:57:593HV  
automatic log for run 1037
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  55   Sat Mar 30 16:03:35 2024 hh, mb, ps1st tests1038TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:03:1830.03.2024 16:06:012HV  
automatic log for run 1038
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x7 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  56   Sat Mar 30 16:09:54 2024 hh, mb, ps1st tests1039TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:11:3230.03.2024 16:12:210HV  
automatic log for run 1039
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  57   Sat Mar 30 16:15:20 2024 hh, mb, ps1st tests1040TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:15:2230.03.2024 16:17:462HV  
automatic log for run 1040
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 1
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 10 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  58   Sat Mar 30 16:24:39 2024 hh, mb, ps1st tests1041TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:20:3430.03.2024 16:27:056HV  
automatic log for run 1041
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xC

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x3 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  59   Sat Mar 30 16:38:41 2024 hh, mb, ps1st tests1042TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:32:1230.03.2024 16:41:088HV  
automatic log for run 1042
Comment: First good run
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  60   Sat Mar 30 16:50:35 2024 hh, mb, ps1st tests1043TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:48:3930.03.2024 16:53:014HV  
automatic log for run 1043
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  61   Sat Mar 30 17:00:53 2024 hh, mb, ps1st tests1044TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 16:57:0830.03.2024 17:03:206HV  
automatic log for run 1044
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  62   Sat Mar 30 17:07:45 2024 hh, mb, ps1st tests1045TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 17:07:0130.03.2024 17:10:123HV  
automatic log for run 1045
Comment:
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  63   Sat Mar 30 17:31:59 2024 hh, mb, psHigh statistics1046TJ-Monopix2800 MeVLow Flux LowProtonUnknown30.03.2024 17:13:0930.03.2024 17:34:2521HV  
automatic log for run 1046
Comment:
High statistics run, from now we fix the geometry

Veto: 7us (100, so 7 us is handshake time)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
Attachment 2: testbench_AB.yaml
general: # General configuration
  readout_system: # Readout system, available platforms are BDAQ53 or MIO3 (+ GPAC). BDAQ53 is default
  output_directory: /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/h5  #'/media/raid/data/tjmonopix2/2021-10-25_elsa/tuning' # Top-level output data directory, default is the current folder where the script is started

# Connected Modules
modules:
  module_0: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_0: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W02R01"
      chip_id: 0
      receiver: "rx0"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5500" # Socket address of online monitor
      disable_columns: []
  module_1: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_1: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W08R19"
      chip_id: 1
      receiver: "rx2"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5501" # Socket address of online monitor
      disable_columns: []


TLU:
  TRIGGER_MODE: 3 # Selecting trigger mode: Use trigger inputs/trigger select (0), TLU no handshake (1), TLU simple handshake (2), TLU data handshake (3)
  TRIGGER_SELECT: 0 # Selecting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_INVERT: 0 # Inverting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_LOW_TIMEOUT: 0 # Maximum wait cycles for TLU trigger low.
  TRIGGER_VETO_SELECT: 0 # Selecting trigger veto: AZ VETO (2), RX FIFO full (1), disabled (0). Set to (2) if SYNC FE is enabled.
  TRIGGER_HANDSHAKE_ACCEPT_WAIT_CYCLES: 5 # TLU trigger minimum length in TLU clock cycles
  DATA_FORMAT: 0 # Select trigger data format: only trigger number (0), only time stamp (1), combined, 15 bit time stamp + 16 bit trigger number (2)
  EN_TLU_VETO: 0 # Assert TLU veto when external veto. Activate this in order to VETO triggers if SYNC FE is enabled.
  TRIGGER_DATA_DELAY: 8 # Depends on the cable length and should be adjusted (run scan/tune_tlu.py)

TDC:
  EN_WRITE_TIMESTAMP: 1 # Writing trigger timestamp
  EN_TRIGGER_DIST: 1 # Measuring trigger to TDC delay with 640MHz clock
  EN_NO_WRITE_TRIG_ERR: 1 # Writing TDC word only if valid trigger occurred
  EN_INVERT_TDC: 0 # Inverting TDC input
  EN_INVERT_TRIGGER: 0 # Inverting trigger input, e.g. for using Test output from EUDET TLU

hardware: # Setup-specific hardware settings
  enable_NTC: True # Only enable if you know you have the correct resistors mounted on the BDAQ board!

electron_conversion: # Charge conversion from DAC to e⁻, typically 8.8 for DC and 13.3 for AC (slightly chip dependent!)
  DC_coupled: 8.8
  AC_coupled: 13.3
calibration: # Setup-specific calibration constants
  bdaq_ntc: # Resistors on BDAQ board for NTC readout
    R16: 1.2e6
    R17: 20e3
    R19: 7.95e3

# Standard analysis settings
# Scans might overwrite these settings if needed.
# Detailed description of parameters in bdaq53/analysis/analysis.py
analysis:
  skip: False # Omit analysis in scans
  create_pdf: True # Create analysis summary pdf
  # module_plotting: True  # Create combined plots for chip in a module
  store_hits: True # store hit table
  cluster_hits: False # store cluster data
  # analyze_tdc: False # analyze TDC words
  # use_tdc_trigger_dist: False # analyze TDC to TRG distance
  # align_method: 0 # how to detect new events
  # chunk_size: 1000000 # scales amount of data in RAM (~150 MB)
  # blocking: True # block main process during analysis
Attachment 3: testbench_CD.yaml
general: # General configuration
  readout_system: # Readout system, available platforms are BDAQ53 or MIO3 (+ GPAC). BDAQ53 is default
  output_directory: /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/h5  #'/media/raid/data/tjmonopix2/2021-10-25_elsa/tuning' # Top-level output data directory, default is the current folder where the script is started

# Connected Modules
modules:
  module_2: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_2: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W14R18"
      chip_id: 2
      receiver: "rx2"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W14R18/20240329_175240_threshold_scan_interpreted.h5
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5502" # Socket address of online monitor
      disable_columns: [484, 485]
  module_3: # Arbitrary name of module, defines folder name with chip sub folders
    identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
    chip_3: # Arbitrary name of chip, defines folder name with chip data
      chip_sn: "W18R03"
      chip_id: 3
      receiver: "rx3"
      chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
      record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
      use_good_pixels_diff: False
      send_data: "tcp://127.0.0.1:5503" # Socket address of online monitor
      disable_columns: [456, 457]
  # module_3: # Arbitrary name of module, defines folder name with chip sub folders
  #   identifier: "unknown" # Module/wafer/PCB identifier, has to be given (e.g. SCC number)
  #   chip_3: # Arbitrary name of chip, defines folder name with chip data
  #     chip_sn: "W08R03"
  #     chip_id: 3
  #     receiver: "rx3"
  #     chip_config_file: /home/silicon/TJ-Monopix2/2024_03_MAUS_Tuning/W08R03/20240222_151416_threshold_scan_interpreted.h5 # If defined: use config from in file (either .cfg.yaml or .h5). If not defined use chip config of latest scan and std. config if no previous scan exists
  #     record_chip_status: True # Add chip statuses to the output files after the scan (link errors and powering infos)
  #     use_good_pixels_diff: False
  #     send_data: "tcp://127.0.0.1:5503" # Socket address of online monitor
  #     disable_columns: []


TLU:
  TRIGGER_MODE: 3 # Selecting trigger mode: Use trigger inputs/trigger select (0), TLU no handshake (1), TLU simple handshake (2), TLU data handshake (3)
  TRIGGER_SELECT: 0 # Selecting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_INVERT: 0 # Inverting trigger input: HitOr (individual, TDC loop-through) (16), RX1 (multi purpose) (8), RX0 (TDC loop-trough) (4), HitOR [DP_ML_5 and mDP] (logical OR of all eight lines) (3), HitOR [mDP only] (logical OR of all four lines) (2), HitOR [DP_ML_5 only] (logical OR of all four lines) (1), disabled (0)
  TRIGGER_LOW_TIMEOUT: 0 # Maximum wait cycles for TLU trigger low.
  TRIGGER_VETO_SELECT: 0 # Selecting trigger veto: AZ VETO (2), RX FIFO full (1), disabled (0). Set to (2) if SYNC FE is enabled.
  TRIGGER_HANDSHAKE_ACCEPT_WAIT_CYCLES: 5 # TLU trigger minimum length in TLU clock cycles
  DATA_FORMAT: 0 # Select trigger data format: only trigger number (0), only time stamp (1), combined, 15 bit time stamp + 16 bit trigger number (2)
  EN_TLU_VETO: 0 # Assert TLU veto when external veto. Activate this in order to VETO triggers if SYNC FE is enabled.
  TRIGGER_DATA_DELAY: 8 # Depends on the cable length and should be adjusted (run scan/tune_tlu.py)

TDC:
  EN_WRITE_TIMESTAMP: 1 # Writing trigger timestamp
  EN_TRIGGER_DIST: 1 # Measuring trigger to TDC delay with 640MHz clock
  EN_NO_WRITE_TRIG_ERR: 1 # Writing TDC word only if valid trigger occurred
  EN_INVERT_TDC: 0 # Inverting TDC input
  EN_INVERT_TRIGGER: 0 # Inverting trigger input, e.g. for using Test output from EUDET TLU

hardware: # Setup-specific hardware settings
  enable_NTC: True # Only enable if you know you have the correct resistors mounted on the BDAQ board!

electron_conversion: # Charge conversion from DAC to e⁻, typically 8.8 for DC and 13.3 for AC (slightly chip dependent!)
  DC_coupled: 8.8
  AC_coupled: 13.3
calibration: # Setup-specific calibration constants
  bdaq_ntc: # Resistors on BDAQ board for NTC readout
    R16: 1.2e6
    R17: 20e3
    R19: 7.95e3

# Standard analysis settings
# Scans might overwrite these settings if needed.
# Detailed description of parameters in bdaq53/analysis/analysis.py
analysis:
  skip: False # Omit analysis in scans
  create_pdf: True # Create analysis summary pdf
  # module_plotting: True  # Create combined plots for chip in a module
  store_hits: True # store hit table
  cluster_hits: False # store cluster data
  # analyze_tdc: False # analyze TDC words
  # use_tdc_trigger_dist: False # analyze TDC to TRG distance
  # align_method: 0 # how to detect new events
  # chunk_size: 1000000 # scales amount of data in RAM (~150 MB)
  # blocking: True # block main process during analysis
  64   Sat Mar 30 18:59:16 2024 hh, mb, ps1st tests1047TJ-Monopix2800 MeVLow Flux LowProtonCrap30.03.2024 19:00:1130.03.2024 19:01:431HV  
automatic log for run 1047
Comment:
Test if we get beam, MAUS has problems
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  65   Sat Mar 30 19:24:57 2024 hh, mb, psHigh statistics1048TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:02:5230.03.2024 19:27:2424HV  
automatic log for run 1048
Comment:
Run with medium settings
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  66   Sat Mar 30 19:36:57 2024 hh, mb, psHigh statistics1049TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:28:4430.03.2024 19:39:2410HV  
automatic log for run 1049
Comment:
Try with increased veto period of 20us (800)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  67   Sat Mar 30 19:44:43 2024 hh, mb, psHigh statistics1050TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:40:2130.03.2024 19:47:106HV  
automatic log for run 1050
Comment:
Try with increased veto period of 20us (800)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  68   Sat Mar 30 20:13:29 2024 hh, mb, psHigh statistics1051TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 19:48:3630.03.2024 20:15:5527HV  
automatic log for run 1051
Comment:
Try with increased veto period of 20us (800)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  69   Sat Mar 30 20:27:35 2024 hh, mb, psHigh statistics1052TJ-Monopix2800 MeVLow Flux MediumProtonUnknown30.03.2024 20:17:1130.03.2024 20:30:0212HV  
automatic log for run 1052
Comment:
Back to stock veto period of 7us (100)
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  70   Sat Mar 30 20:46:41 2024 hh, mb, psHigh statistics1053TJ-Monopix2800 MeVLow Flux HighProtonUnknown30.03.2024 20:31:1430.03.2024 20:49:0817HV  
automatic log for run 1053
Comment:
Back to stock veto period of 7us (100)
Lets try with high
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1


[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1


[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  71   Sat Mar 30 20:51:31 2024 hh, mb, psHigh statistics1054TJ-Monopix2800 MeVLow Flux HighProtonUnknown30.03.2024 20:50:5330.03.2024 20:53:583HV  
automatic log for run 1054
Comment:
Litle high settings run
Attachment 1: tjmonopix2.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


[Producer.aida_tlu]
## GENERAL PARAMETERS
verbose= 1
skipconf= 0
confid= 20201311
delayStart= 200  

## HDMI CONFIGURATION
#  4-bits to determine direction of HDMI pins
HDMI1_set= 0x7 #1= output (driven by TLU), 0 = input. bit 0=CONT, 1=SPARE, 2=TRIG, 3=BUSY for eudet, Busy needs to be 0. (0b0111 = 0x7)
HDMI2_set= 0x7
HDMI3_set= 0x7
HDMI4_set= 0x7
#  Clock source (0= no clock, 1= Si5345, 2= FPGA)
HDMI1_clk = 0
HDMI2_clk = 0
HDMI3_clk = 0
HDMI4_clk = 0
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

## PMT POWER CONFIGURATION
PMT1_V= 0.8 #0.6363 #Szinti 4x4cm
PMT2_V= 0.8 #0.6363 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 #0x00000008 #0x00010002 #0x00000001  #8 coinc1+2
in0_STR = 0	# 0 
in0_DEL = 0	# 18
in1_STR = 0	# 0
in1_DEL = 0	# 18
in2_STR = 0	# 0
in2_DEL = 0 	# 0
in3_STR = 0
in3_DEL = 0
in4_STR = 0
in4_DEL = 0
in5_STR = 0 #streches pulse from 6.25ns (at 0) to 12.5ns
in5_DEL = 0
# Generate internal triggers (in Hz, 0= no triggers)
InternalTriggerFreq= 0 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.025 #-0.025 #-0.012
DACThreshold1 = -0.012 #-0.025 #-0.012
DACThreshold2 = -0.012
DACThreshold3 = -0.12
DACThreshold4 = -0.12 #-0.0066
DACThreshold5 = -0.12

## DUT CONFIGURATION
 # DUTMask Which DUTs are on
#DUTMask= 0x3 #6 bit 0= DUT1, bit 1= DUT2, bit 2= DUT3, bit 3= DUT4
DUTMask= 0xA

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x00 #0x00

 # In EUDET mode: 0 = standard trigger/busy mode, 1 = raising BUSY outside handshake vetoes triggers (2 bits per DUT, 0x3= DUT 4! -backwards!)
DUTMaskModeModifier= 0x30 #0x30 #0xC0 PS: Check what this does! 0x0 würde ich hier eingeben

 # Ignore the BUSY signal for a DUT (0xF)
DUTIgnoreBusy= 0x0 #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 1


# EnableShutterMode: 0x0. If 1, shutter mode is enabled. If 0, shutter mode is disabled.
EnableShutterMode= 0x0
# Define which input is used for shutter source [0 - 5]
ShutterSource = 5
# 32-bit counter of clocks. Set to 0 to not use internal shutter generator.
InternalShutterInterval = 0
# 32-bit counter of clocks
ShutterOnTime = 0 #start of shutter after trigger
# 32-bit counter of clocks
ShutterVetoOffTime = 0 #time after input-trigger, until first trigger is sent to output
# 32-bit counter of clocks
ShutterOffTime = 200000000 #end of shutter after trigger #200000000 = 5s (multiples of 25ns)

## DATA COLLECTOR
EUDAQ_DC= tlu_dc

## TLU MONITOR PARAMETER
FileComment="mpw3"
PlotWindowSizeinns=40e9
MinSpillTimeOnins=4.5
MinSpilldownTimeins=0.5
ThreshEvBegin=1
ThreshEvEnd=1
ThreshPartBegin=1
ThreshPartEnd=1




[LogCollector.log]
# Currently, all LogCollectors have a hardcoded runtime name: log
# nothing


[DataCollector.tlu_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /home/silicon/Data/2024_03_MAUS/TLU/tlu_run$6R$X
# the name pattern of data file
# the $12D will be converted a data/time string with 12 digits.
# the $6R will be converted a run number string with 6 digits.
# the $X will be converted the suffix name of data file.
DISABLE_PRINT = 1


[Producer.tjmonopix2_AB]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_AB
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1
VCLIP = 60

[DataCollector.dc_tjmonopix2_AB]
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_AB_$12D$X
DISABLE_PRINT = 1




[Producer.tjmonopix2_CD]
# connection to the data collector
EUDAQ_DC = dc_tjmonopix2_CD
ENABLE_BDAQ_RECORD = 1
ENABLE_HITOR = 1

START_ROW = 0
STOP_ROW = 512
START_COLUMN = 448
STOP_COLUMN = 512
WAIT_FOR_FPGA = 1
VCLIP = 60

[DataCollector.dc_tjmonopix2_CD]
EUDAQ_MN = monopix2_mon
EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
EUDAQ_FW = native
EUDAQ_FW_PATTERN = /home/silicon/Data/2024_03_MAUS/TJ-Monopix2/raw/run$3R_tjmonopix2_CD_$12D$X
DISABLE_PRINT = 1



[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  1   Sat Mar 30 06:34:39 2024 Bernhard PilslAnd a new testbeam starts :D            
  11   Sat Mar 30 08:05:59 2024 Christian IrmlerRD50-MPW4999           

Tracker calibration run: mpw4-tj-monopix2_00-000999.xml
Generated global xml file for MPW4 shift: mpw4-tj-monopix2_TLU_00-000999.xml 

Previous local runs and xml files (mpw4-tj-monopix2_00-000212.xml) are unusable, because sensor L5.1.1.0 had a loose cotact and thus low gain.
Fixed by disconnecting and reconnecting.

  72   Sat Jun 8 19:53:47 2024 Felix Ulrich-PurTOF CAL HADES LGADs Test High Rate1TOF-Cal GSI252.7 MeVLow Flux HighProtonGood16:0016:18    

7.5 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 2.5 MHz on LGAD

  73   Sat Jun 8 19:56:37 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve2TOF-Cal GSI252.7 MeVLow Flux MediumProtonGood16:2916:47    

1 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 350kHz on LGAD

TOF Calibration Curve

  74   Sat Jun 8 19:57:39 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve3TOF-Cal GSI194.3 MeVLow Flux MediumProtonGood16:5117:28    

600 khz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 235kHz on LGAD

TOF Calibration Curve

  75   Sat Jun 8 20:05:27 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve4TOF-Cal GSI175.3 MeVLow Flux MediumProtonGood17:3117:54    

500 khz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 170kHz on LGAD

TOF Calibration Curve

  76   Sat Jun 8 20:07:44 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve5TOF-Cal GSI145.4 MeVLow Flux MediumProtonGood17:5518:24    

400 khz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 120kHz on LGAD

TOF Calibration Curve

  77   Sat Jun 8 20:08:55 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve6TOF-Cal GSI115.7MeVLow Flux MediumProtonGood18:2419:00    

400 khz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 65kHz on LGAD

TOF Calibration Curve

  78   Sat Jun 8 20:09:25 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve7TOF-Cal GSI100.4 MeVLow Flux MediumProtonGood19:0019:42    

300 khz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 65kHz on LGAD

TOF Calibration Curve

  79   Sat Jun 8 20:11:00 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve8TOF-Cal GSI83 MeVLow Flux MediumProtonGood19:4220:51    

300 khz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 35kHz on LGAD

TOF Calibration Curve

  80   Sat Jun 8 21:41:04 2024 Felix Ulrich-PurTOF CAL HADES LGADs Calibrationcurve9TOF-Cal GSI62.4 MeVLow Flux HighProtonGood20:5521:21    

changed back to high due to beamsize vs LGAD size factor
650 khz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 230kHz on LGAD

TOF Calibration Curve

  81   Sat Jun 8 21:42:13 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser10TOF-Cal GSI194.3 MeVLow Flux HighProtonGood21:2721:39    

1cm plastic water (in isocentre)
6 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 1.5 MHz on LGAD

WET measurement

  82   Sat Jun 8 21:43:26 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser11TOF-Cal GSI145.4 MeVLow Flux HighProtonGood21:3921:48    

1cm plastic water (in isocentre)
4 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 700 kHz on LGAD

WET measurement

  83   Sat Jun 8 21:54:59 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser12TOF-Cal GSI194.3 MeVLow Flux HighProtonGood21:5322:05    

2cm plastic water (in isocentre)
5 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 1.2 MHz on LGAD

WET measurement

  84   Sat Jun 8 22:12:06 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser13TOF-Cal GSI145.4 MeVLow Flux HighProtonGood22:0522:34    

2cm plastic water (in isocentre)
3.2 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 600 kHz on LGAD

WET measurement

  85   Sat Jun 8 22:38:41 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser14TOF-Cal GSI194.3 MeVLow Flux HighProtonGood22:1922.34    

3 cm plastic water (in isocentre)
4.3 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 1MHz on LGAD

WET measurement

  86   Sun Jun 9 00:04:23 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser15TOF-Cal GSI194.3 MeVLow Flux HighProtonGood22:3422:50    

3 cm plastic water (in isocentre)
2.6 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 400 kHz on LGAD

WET measurement

  87   Sun Jun 9 00:05:11 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser (wrong energy)16TOF-Cal GSI194.3 MeVLow Flux HighProtonCrap22:5022:52    

wrong energy don't use

  88   Sun Jun 9 00:06:01 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser17TOF-Cal GSI194.3 MeVLow Flux HighProtonGood22:5323:04    

4 cm plastic water (in isocentre)
3.8 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 900 kHz on LGAD

WET measurement

  89   Sun Jun 9 00:07:17 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser18TOF-Cal GSI145.4 MeVLow Flux HighProtonGood23:0423:20    

4 cm plastic water (in isocentre)
2 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 500 kHz on LGAD

WET measurement

  90   Sun Jun 9 00:08:07 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser19TOF-Cal GSI194.3 MeVLow Flux HighProtonGood23:2023:30    

5 cm plastic water (in isocentre)
3.7 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 795 kHz on LGAD

WET measurement

  91   Sun Jun 9 00:10:38 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Wasser20TOF-Cal GSI145.4 MeVLow Flux HighProtonGood23:3100:00    

5 cm plastic water (in isocentre)
2 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 330 kHz on LGAD

14 min break with beam off (DAQ failed, had to power cycle TRB3s and all DIRICH boards-->out of synch DIRICH)

WET measurement

  92   Sun Jun 9 00:12:41 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen21TOF-Cal GSI194.3 MeVLow Flux HighProtonGood00:0000:14    

1 cm dense bone (in isocentre)
4.5 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 1.2 MHz on LGAD

WET measurement

  93   Sun Jun 9 01:22:48 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen22TOF-Cal GSI145.4 MeVLow Flux HighProtonGood00:1400:23    

1 cm dense bone (in isocentre)
2.8 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 600 kHz on LGAD

WET measurement

  94   Sun Jun 9 01:25:26 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen23TOF-Cal GSI194.3 MeVLow Flux HighProtonGood00:3001:02    

2 cm dense bone (in isocentre)
- Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 1 MHz on LGAD

interlock at 00:31 till 00:50 --> 19min break

WET measurement

  95   Sun Jun 9 01:26:56 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen24TOF-Cal GSI145.4 MeVLow Flux HighProtonGood01:0201:14    

2 cm dense bone (in isocentre)
2.1 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 315 kHz on LGAD

WET measurement

  96   Sun Jun 9 01:27:38 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen25TOF-Cal GSI194.3 MeVLow Flux HighProtonGood01:1601:30    

3 cm dense bone (in isocentre)
2.8 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 600 kHz on LGAD

WET measurement

  97   Sun Jun 9 01:32:51 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen26TOF-Cal GSI145.4 MeVLow Flux HighProtonGood01:3001:45    

3 cm dense bone (in isocentre)
1.7 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 230 kHz on LGAD

WET measurement

  98   Sun Jun 9 01:48:51 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen27TOF-Cal GSI194.3 MeVLow Flux HighProtonGood01:4801:59    

4 cm dense bone (in isocentre)
2 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 470 kHz on LGAD

WET measurement

  100   Sun Jun 9 02:02:16 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen28TOF-Cal GSI145.4 MeVLow Flux HighProtonGood02:0002:14    

4 cm dense bone (in isocentre)
1.4 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 175 kHz on LGAD

WET measurement

  101   Sun Jun 9 02:18:55 2024 Felix Ulrich-PurTOF CAL HADES LGADs WET Messung Knochen29TOF-Cal GSI194.3 MeVLow Flux HighProtonGood02:18     

5 cm dense bone (in isocentre)
1.8 Mhz on Ramon (after 5 Layers of Silicon and close to second iso centre) and 350 kHz on LGAD

WET measurement

Entry is currently edited by RD50 Generic User on 193.170.243.131    123   Sun Aug 25 10:02:35 2024 RD50 Generic Userinit_geo_file            

position of duts needs to be switched

Attachment 1: detectors.geo
[TLU_0]
role = auxiliary
type = tlu
number_of_pixels = 0, 0
pixel_pitch = 0um, 0um
position = 0mm, 0mm, 5m
orientation = 0deg, 0deg, 0deg
time_resolution = 0ns

[dssd_5_1_1]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 0mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s

[dssd_5_1_2]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 50mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
role = reference

[RD50_MPWx_0]
#mask_file = mask_maus.txt
role = dut
type = RD50_MPWx
number_of_pixels = 64, 64
pixel_pitch = 62um, 62um
position = 0mm, 0mm, 77.5mm
orientation = 90deg,0deg,180deg
orientation_mode = "zyx"
time_resolution = 25ns
material_budget = 0.00320305

[RD50_MPWx_1]
#mask_file = mask_maus.txt
role = dut
type = RD50_MPWx
number_of_pixels = 64, 64
pixel_pitch = 62um, 62um
position = 0mm, 0mm, 109.5mm
orientation = 90deg,0deg,180deg
orientation_mode = "zyx"
time_resolution = 25ns
material_budget = 0.00320305

[dssd_5_1_3]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 232.5mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
#role = reference

[dssd_5_1_4]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 282.5mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
  139   Mon Aug 26 09:18:25 2024 RD50 Generic Usergeo            

new geo file with adjusted dut position

Attachment 1: detectors_new.geo
[TLU_0]
role = auxiliary
type = tlu
number_of_pixels = 0, 0
pixel_pitch = 0um, 0um
position = 0mm, 0mm, 5m
orientation = 0deg, 0deg, 0deg
time_resolution = 0ns

[dssd_5_1_1]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 0mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s

[dssd_5_1_2]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 50mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
role = reference

[RD50_MPWx_1]
#mask_file = mask_maus.txt
role = auxiliary
#role = dut
type = RD50_MPWx
number_of_pixels = 64, 64
pixel_pitch = 62um, 62um
position = 0mm, 0mm, 85mm
orientation = 90deg,0deg,180deg
orientation_mode = "zyx"
time_resolution = 25ns
material_budget = 0.00320305


[RD50_MPWx_0]
#mask_file = mask_maus.txt
role = dut
type = RD50_MPWx
number_of_pixels = 64, 64
pixel_pitch = 62um, 62um
position = 0mm, 0mm, 117mm
orientation = 90deg,0deg,180deg
orientation_mode = "zyx"
time_resolution = 25ns
material_budget = 0.00320305


[dssd_5_1_3]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 240mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
#role = reference

[dssd_5_1_4]
type = dssd
number_of_pixels = 512, 512
pixel_pitch = 100um, 50um
position = 0mm, 0mm, 289mm
orientation = 0deg, 0deg, 0deg
spatial_resolution = 29um,14.5um
material_budget = 0.0032021081576535286
time_resolution = 10000s
  140   Fri Dec 13 11:48:21 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon1RaMon205.2 MeV/uLow Flux MediumHeliumGood06:2806:302   

Mean rate per spill~ 4-6E5 p/s (online estimation without proper analysis)

  141   Sat Dec 14 12:52:02 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon2RaMon177.8 MeV/uLow Flux MediumHeliumGood06:3106:321   

Mean rate per spill~ 6-8E5 p/s (online estimation without proper analysis)

  142   Sat Dec 14 12:52:57 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon3RaMon147.2 MeV/uLow Flux MediumHeliumGood06:3206:331   

Mean rate per spill~ 2.5-4-5E5 p/s (online estimation without proper analysis)

  143   Sat Dec 14 12:53:28 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon4RaMon124.4 MeV/uLow Flux MediumHeliumGood06:3306:331   

Mean rate per spill~ 2-8E5 p/s (online estimation without proper analysis)

  144   Sat Dec 14 12:54:04 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon5RaMon97.2MeV/uLow Flux MediumHeliumGood06:3306:331   

Mean rate per spill~ 1-5E5 p/s (online estimation without proper analysis)

  145   Sat Dec 14 12:54:55 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon6RaMon73.2 MeV/uLow Flux MediumHeliumGood06:3406:341   

Mean rate per spill~ 4.5-8E5 p/s (online estimation without proper analysis)

  146   Sat Dec 14 12:55:41 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon7RaMon63.3 MeV/uLow Flux MediumHeliumGood06:3506:361   

Mean rate per spill~ 2-5E5 p/s (online estimation without proper analysis)

  147   Sat Dec 14 12:56:05 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon8RaMon205.2 MeV/uLow Flux HighHeliumGood06:3906:401   

Mean rate per spill~ 5e6 p/s (online estimation without proper analysis)

  148   Sat Dec 14 12:56:38 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon9RaMon177.8 MeV/uLow Flux HighHeliumGood06:4006:411   

Mean rate per spill~ 4.5e6 p/s (online estimation without proper analysis)

  149   Sat Dec 14 12:57:13 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon10RaMon147.2 MeV/uLow Flux HighHeliumGood06:4206:421   

Mean rate per spill~ 3..5e6 p/s (online estimation without proper analysis)

  150   Sat Dec 14 12:58:35 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon11RaMon124.4 MeV/uLow Flux HighHeliumGood06:4306:431   

Mean rate per spill~ 4Ee6 p/s (online estimation without proper analysis)

  151   Sat Dec 14 12:59:33 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon12RaMon97.2MeV/uLow Flux HighHeliumGood06:4306:441   

Mean rate per spill~ 6Ee6 p/s (online estimation without proper analysis)

  152   Sat Dec 14 13:00:26 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon13RaMon73.2 MeV/uLow Flux HighHeliumGood06:4406:451   

Mean rate per spill~ 4Ee6 p/s (online estimation without proper analysis)

  153   Sat Dec 14 13:01:14 2024 Felix Ulrich-PurShift 23.11.24 low flux He test with RaMon14RaMon63.3 MeV/uLow Flux HighHeliumGood06:4606:461   

Mean rate per spill~ 5Ee6 p/s (online estimation without proper analysis)

  154   Sat Dec 14 13:02:29 2024 Felix Ulrich-PurShift 23.11.24 low flux Carbon test with RaMon (did not work)15RaMon Low Flux HighCarbonCrap06:5507:016   

Low flux carbon did not work

1µs EFE, 30s Extraction, Deg100
we tried different energies (402.MeV/u)-> 120 MeV/u, but unfortunately we did not get any beam

  155   Sat Dec 14 13:04:57 2024 Felix Ulrich-PurShift 23.11.24 low flux Carbon test with RaMon (did not work)16RaMon Low Flux HighCarbonCrap07:0207:2018   

Low flux carbon did not work

5µs EFE, 10s Extraction, Deg100
we tried different energies (402.MeV/u)-> 238 MeV/u, but unfortunately we did not get any beam

  156   Sat Dec 14 13:07:15 2024 Felix Ulrich-PurEnergy vs TOF calibration17TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux MediumHeliumGood08:4609:4256   

before run, setups had to be aligned (first slab in slabholder was put in isocentre. However, in this run, no slab was used). Room was closed at 08:10

Beam->Nozzle-> Slabholder->TOF-CAL (TRB)-> DOGMA Setup(Diamond+LGADs)-> RaMon

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

measured 400kHz with Ramon and only 100kHz with LGADs (third LGAD) and 60kHz accepted trrigger rate

beam was shifted vertically by x? cm? (need to lookup again). So TRB setup was shifted with motors such that the He beam was hitting the centre of the LGADs

  157   Sat Dec 14 13:16:33 2024 Felix Ulrich-PurEnergy vs TOF calibration +Alignment of DOGMA setup18TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux MediumHeliumGood09:4209:486   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

DOGMA setup had to be shifted manually to align it with the beam

  158   Sat Dec 14 13:26:29 2024 Felix Ulrich-PurEnergy vs TOF calibration19TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon177.8 MeV/uLow Flux MediumHeliumGood10:0810:2517   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

750kHz with Ramon and only 160kHz with TRB, 44ps single channel res preacalib

  159   Sat Dec 14 13:28:57 2024 Felix Ulrich-PurEnergy vs TOF calibration20TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux MediumHeliumGood10:3310:385   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

300kHz with Ramon and only 40kHz with TRB--> decision to go to low flux high was made

  160   Sat Dec 14 13:31:49 2024 Felix Ulrich-PurEnergy vs TOF calibration21TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood10:4110:5615   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

3.5MHz with Ramon and only 600kHz with TRB-52ps single channel res prae calib

  161   Sat Dec 14 13:34:18 2024 Felix Ulrich-PurEnergy vs TOF calibration21TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood10:5811:2325   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

3MHz with Ramon and only 300kHz with TRB-44ps single channel res prae calib

  162   Sat Dec 14 13:35:59 2024 Felix Ulrich-PurEnergy vs TOF calibration23TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood11:2411:3713   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

5MHz with Ramon and only 500kHz TRB

  163   Sat Dec 14 13:37:26 2024 Felix Ulrich-PurEnergy vs TOF calibration24TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon73.2 MeV/uLow Flux HighHeliumGood11:4212:0018   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

2MHz with Ramon and only 200kHz TRB

  164   Sat Dec 14 13:39:15 2024 Felix Ulrich-PurEnergy vs TOF calibration25TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon63.3 MeV/uLow Flux HighHeliumGood12:0512:2318   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

380 kHz with Ramon and only 180kHz TRB, 42ps single channel res prae calib

  165   Sat Dec 14 13:40:47 2024 Felix Ulrich-Purthreshold and preamp tests26TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon63.3 MeV/uLow Flux HighHeliumGood12:3512:4914   

TRB Setup: 260V bias and 250mA pre-amps, threshold 10000 (changed threshold)

Diamond: 500mA, threshold 50

  166   Sat Dec 14 13:42:52 2024 Felix Ulrich-Purthreshold and preamp tests 27TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon63.3 MeV/uLow Flux HighHeliumGood12:5213:1624   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000 (changed threshold)

Diamond: 900mA, threshold 50

  167   Sat Dec 14 13:45:34 2024 Felix Ulrich-Purthreshold and preamp tests 28TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon63.3 MeV/uLow Flux HighHeliumGood13:2013:322   

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000 (changed threshold)

Diamond: 900mA, threshold 1000 offset

  168   Sat Dec 14 13:46:11 2024 Felix Ulrich-PurWET measurement slabs29TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood13:3414:0329 Plastic Water Slabs1cm

1cm Plastic Water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000 (changed threshold)

Diamond: 900mA, threshold 1000 offset

DOGMA lost DiRICH after restarting Wave (happened several times)

  169   Sat Dec 14 13:49:20 2024 Felix Ulrich-PurWET measurement slabs30TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood14:0214:4543 Plastic Water Slabs1cm

1cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 500 kHz TRB

  170   Sat Dec 14 13:56:16 2024 Felix Ulrich-PurWET measurement slabs31TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood14:4815:0618 Plastic Water Slabs2cm

2cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 1.4MHz TRB

  171   Sat Dec 14 15:09:34 2024 Felix Ulrich-PurWET measurement slabs32TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood15:0615:1913 Plastic Water Slabs2cm

2cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

 

 

  172   Sat Dec 14 15:10:35 2024 Felix Ulrich-PurWET measurement slabs33TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood15:2415:3612 Plastic Water Slabs3cm

3cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

3-4MHz Ramon 600 kHz TRB

  173   Sat Dec 14 15:12:01 2024 Felix Ulrich-PurWET measurement slabs34TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood15:3715:4811 Plastic Water Slabs3cm

3cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

3MHz Ramon 300 kHz TRB

  174   Sat Dec 14 15:12:46 2024 Felix Ulrich-PurWET measurement slabs35TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood15:5316:1017 Plastic Water Slabs4cm

4cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 600 kHz TRB

  175   Sat Dec 14 15:15:04 2024 Felix Ulrich-PurWET measurement slabs36TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood16:1116:2312 Plastic Water Slabs4cm

4cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

3MHz Ramon 300 kHz TRB

  176   Sat Dec 14 15:15:46 2024 Felix Ulrich-PurWET measurement slabs37TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood16:2816:4212 Plastic Water Slabs5cm

5cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

3-5MHz Ramon 500 kHz TRB

  177   Sat Dec 14 15:17:10 2024 Felix Ulrich-PurWET measurement slabs38TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood16:4216:5513 Plastic Water Slabs5cm

5cm plastic water

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

2.5MHz Ramon 200 kHz TRB

  178   Sat Dec 14 15:17:57 2024 Felix Ulrich-PurWET measurement slabs39TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood17:0017:1413 Dense Bone Slabs1cm

1cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 700 kHz TRB

  179   Sat Dec 14 15:18:48 2024 Felix Ulrich-PurWET measurement slabs40TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood17:1417:2814 Dense Bone Slabs1cm

1cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

3.5MHz Ramon 400 kHz TRB

  180   Sat Dec 14 15:19:57 2024 Felix Ulrich-PurWET measurement slabs41TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood17:3217:4412 Dense Bone Slabs2cm

2cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 600 kHz TRB

  181   Sat Dec 14 15:20:52 2024 Felix Ulrich-PurWET measurement slabs42TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood17:4818:0012 Dense Bone Slabs2cm

2cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

2.5MHz Ramon 250 kHz TRB

  182   Sat Dec 14 15:21:44 2024 Felix Ulrich-PurWET measurement slabs43TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood18:0418:1814 Dense Bone Slabs3cm

3cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 1MHz TRB

  183   Sat Dec 14 15:23:21 2024 Felix Ulrich-PurWET measurement slabs44TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood18:1918:3314 Dense Bone Slabs2cm

3cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 200kHz TRB

  184   Sat Dec 14 15:24:22 2024 Felix Ulrich-PurWET measurement slabs45TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood18:3718:5114 Dense Bone Slabs4cm

4cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

3MHz Ramon 800kHz TRB

  185   Sat Dec 14 15:25:12 2024 Felix Ulrich-PurWET measurement slabs46TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood18:5519:1116 Dense Bone Slabs4cm

4cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

2MHz Ramon 120kHz TRB

  186   Sat Dec 14 15:26:18 2024 Felix Ulrich-PurWET measurement slabs47TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood19:1619:2913 Dense Bone Slabs5cm

5cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

3MHz Ramon 300kHz TRB

  187   Sat Dec 14 15:27:08 2024 Felix Ulrich-PurWET measurement slabs48TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood19:3019:5020 Dense Bone Slabs5cm

5cm dense bone

TRB Setup: 260V bias and 250mA pre-amps, threshold 1000

Diamond: 900mA, threshold 1000 offset

1.5MHz Ramon

Wave crashes if 1 TDC disappears in dog d, DABC is still running

  188   Sat Dec 14 15:28:46 2024 Felix Ulrich-Purthreshold and preamp tests49TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood20:0420:095   

TRB Setup: 260V bias and 250mA pre-amps, threshold 10000 (was too high)

Diamond: 900mA, threshold 1000 offset

3.5MHz Ramon

  189   Sat Dec 14 15:30:23 2024 Felix Ulrich-Purthreshold and preamp tests50TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood20:1920:3516   

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000 (looks good, clustersize max at ~3)

Diamond: 900mA, threshold 1000 offset

4MHz Ramon 370kHz TRB

  190   Sat Dec 14 15:31:32 2024 Felix Ulrich-Purplastic mouse radiography51TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood21:1421:3016 plastic mouse 

before run, mouse was aligned with lasers and shift of beam w.r.t. sensor center was taken into account

pos x=250, posy=0

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  191   Sat Dec 14 15:33:35 2024 Felix Ulrich-Purplastic mouse radiography53TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood21:3321:5724 plastic mouse 

run 52 was crap

pos x=175, posy=0

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  192   Sat Dec 14 15:34:50 2024 Felix Ulrich-Purplastic mouse radiography54TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood21:5822:1022 plastic mouse 

pos x=100, posy=0

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  193   Sat Dec 14 15:35:56 2024 Felix Ulrich-Purplastic mouse radiography55TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood22:1222:4533 plastic mouse 

pos x=25, posy=0

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  194   Sat Dec 14 15:36:37 2024 Felix Ulrich-Purplastic mouse radiography56TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood22:4623:0014 plastic mouse 

pos x=-25, posy=0

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  195   Sat Dec 14 15:37:26 2024 Felix Ulrich-Purplastic mouse radiography57TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood23:0223:1614 plastic mouse 

pos x=-100, posy=0

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  196   Sat Dec 14 15:37:48 2024 Felix Ulrich-Purplastic mouse radiography58TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood23:1723:3013 plastic mouse 

pos x=-175, posy=0

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  197   Sat Dec 14 15:39:11 2024 Felix Ulrich-Purplastic mouse radiography59TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood23:3323:4613 plastic mouse 

pos x=-175, posy=-75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  198   Sat Dec 14 15:39:42 2024 Felix Ulrich-Purplastic mouse radiography60TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood23:5000:0818 plastic mouse 

pos x=-100, posy=-75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  199   Sat Dec 14 15:40:09 2024 Felix Ulrich-Purplastic mouse radiography61TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood00:0900:2213 plastic mouse 

pos x=-25, posy=-75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  200   Sat Dec 14 15:40:45 2024 Felix Ulrich-Purplastic mouse radiography62TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood00:2200:3715 plastic mouse 

pos x=25, posy=-75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  201   Sat Dec 14 15:41:19 2024 Felix Ulrich-Purplastic mouse radiography63TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood00:3700:5417 plastic mouse 

pos x=100, posy=-75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  202   Sat Dec 14 15:41:43 2024 Felix Ulrich-Purplastic mouse radiography64TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood00:5401:0817 plastic mouse 

pos x=175, posy=-75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  203   Sat Dec 14 15:42:01 2024 Felix Ulrich-Purplastic mouse radiography65TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood01:0801:2012 plastic mouse 

pos x=250, posy=-75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  204   Sat Dec 14 15:42:32 2024 Felix Ulrich-Purplastic mouse radiography66TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood01:2101:3413 plastic mouse 

pos x=250, posy=75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  205   Sat Dec 14 15:43:01 2024 Felix Ulrich-Purplastic mouse radiography67TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood01:3501:5116 plastic mouse 

pos x=175, posy=75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  206   Sat Dec 14 15:43:45 2024 Felix Ulrich-Purplastic mouse radiography68TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood01:5102:0716 plastic mouse 

pos x=100, posy=75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  207   Sat Dec 14 15:45:05 2024 Felix Ulrich-Purplastic mouse radiography69TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood02:0702:2518 plastic mouse 

pos x=25, posy=75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  208   Sat Dec 14 15:45:36 2024 Felix Ulrich-Purplastic mouse radiography70TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood02:2502:4520 plastic mouse 

pos x=-25, posy=75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

beam was shortly off at 02:30

  209   Sat Dec 14 15:46:16 2024 Felix Ulrich-Purplastic mouse radiography71TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood02:4603:0317 plastic mouse 

pos x=-100, posy=75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  210   Sat Dec 14 15:46:54 2024 Felix Ulrich-Purplastic mouse radiography72TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood03:0303:1916 plastic mouse 

pos x=-175, posy=75

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  211   Sat Dec 14 15:47:29 2024 Felix Ulrich-Purplastic mouse radiography73TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood03:2003:5525 plastic mouse 

pos x=-175, posy=-175

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  212   Sat Dec 14 15:47:59 2024 Felix Ulrich-Purplastic mouse radiography74TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood03:3503:5116 plastic mouse 

pos x=-100, posy=-175

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  213   Sat Dec 14 15:48:26 2024 Felix Ulrich-Purplastic mouse radiography75TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood03:5204:0513 plastic mouse 

pos x=-25, posy=-175

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  214   Sat Dec 14 15:48:49 2024 Felix Ulrich-Purplastic mouse radiography76TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood04:0604:2115 plastic mouse 

pos x=25, posy=-175

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  215   Sat Dec 14 15:49:12 2024 Felix Ulrich-Purplastic mouse radiography77TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood04:2204:3614 plastic mouse 

pos x=100, posy=-175

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  216   Sat Dec 14 15:49:32 2024 Felix Ulrich-Purplastic mouse radiography78TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood04:3604:5014 plastic mouse 

pos x=175, posy=-175

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  217   Sat Dec 14 15:49:58 2024 Felix Ulrich-Purplastic mouse radiography79TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHeliumGood04:5105:0514 plastic mouse 

pos x=250, posy=-175

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

  218   Sat Dec 14 15:50:19 2024 Felix Ulrich-PurLGAD+Diamond test with clinical carbon beam80TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/u CarbonGood05:1505:5035   

Carbon Deg10 (clinical rate)

TRB Setup: 260V bias and 250mA pre-amps, threshold 5000

Diamond: 900mA, threshold 1000 offset

ELOG V3.1.5-fc6679b