Home CMS Production Clean room MedAustron HEPHY testbeams old
testbeam-MA2018 testbeam-MA2019 testbeam-MA2020 testbeam-MA2021 testbeam-MA2023 testbeam-MA2024 testbeam-MA2025
  Testbeams at MedAustron in 2025, 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-Stopdown Duration_min Frontend Phantom Phantom thickness
  61   Sat Mar 15 08:52:52 2025 RD50 Generic UserAlignment Run 800MeV2Sandwich-iCT setup(GSI)+RaMon800 MeVLow Flux MediumProtonGood08:229:4078   

RaMon Rate 400kHz

front sensors 200mu: ~10-20kHz pro Streifen

Comments:

In between run, sensors were shifted by 2mm to the left (left and right in online DAQ is mirrored)

 

  331   Sun Dec 7 08:24:32 2025 RD50 Generic UserMaus386TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood8:248:273 Mouse 

angle = 180

x/y=-21/-59.5 

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  330   Sun Dec 7 08:21:19 2025 RD50 Generic UserMaus385TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood8:218:243 Mouse 

angle = 180

x/y=-21/-56.5 

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  329   Sun Dec 7 08:18:05 2025 RD50 Generic UserMaus384TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood8:188:213 Mouse 

angle = 180

x/y=-21/-53.5 

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  327   Sun Dec 7 08:06:53 2025 RD50 Generic UserMaus382TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood8:078:147 Mouse 

angle = 180

x/y=-21/-47.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  326   Sun Dec 7 08:03:04 2025 RD50 Generic UserMaus381TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood8:028:064 Mouse 

angle = 180

x/y=-21/-50.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  325   Sun Dec 7 07:55:52 2025 RD50 Generic UserMaus380TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood8:008:022 Mouse 

angle = 180

x/y=-24/-50.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  324   Sun Dec 7 07:52:12 2025 RD50 Generic UserMaus378TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:537:552 Mouse 

angle = 180

x/y=-24/-56.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  323   Sun Dec 7 07:48:18 2025 RD50 Generic UserMaus377TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:497:523 Mouse 

angle = 180

x/y=-24/-59.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  322   Sun Dec 7 07:45:04 2025 RD50 Generic UserMaus376TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:457:472 Mouse 

angle = 180

x/y=-27/-59.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  321   Sun Dec 7 07:41:53 2025 RD50 Generic UserMaus375TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:427:442 Mouse 

angle = 180

x/y=-27/-56.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  320   Sun Dec 7 07:38:26 2025 RD50 Generic UserMaus374TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:387:413 Mouse 

angle = 180

x/y=-27/-53.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  319   Sun Dec 7 07:33:45 2025 RD50 Generic UserMaus373TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:347:373 Mouse 

angle = 180

x/y=-27/-50.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  318   Sun Dec 7 07:24:21 2025 RD50 Generic UserMaus372TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:247:306 Mouse 

angle = 0

x/y=-27/-29.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  317   Sun Dec 7 06:52:51 2025 RD50 Generic UserMaus371TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood7:187:246 Mouse 

angle = 0

x/y=-27/-26.5

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  316   Sun Dec 7 06:49:21 2025 RD50 Generic UserMaus270TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:496:523 Mouse 

angle = 0

x/y=-66/-28

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  315   Sun Dec 7 06:47:22 2025 RD50 Generic UserMaus269TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:476:492 Mouse 

angle = 0

x/y=-66/-31

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  314   Sun Dec 7 06:45:44 2025 RD50 Generic UserMaus268TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:466:471 Mouse 

angle = 0

x/y=-66/-34

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  313   Sun Dec 7 06:43:11 2025 RD50 Generic UserMaus267TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:436:441 Mouse 

angle = 0

x/y=-66/-37

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  312   Sun Dec 7 06:41:09 2025 RD50 Generic UserMaus266TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:416:421 Mouse 

angle = 0

x/y=-66/-40

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  311   Sun Dec 7 06:38:19 2025 RD50 Generic UserMaus265TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:386:402 Mouse 

angle = 0

x/y=-72/-40

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  309   Sun Dec 7 06:33:22 2025 RD50 Generic UserMaus263TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:336:352 Mouse 

angle = 0

x/y=-72/-34

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  310   Sun Dec 7 06:36:14 2025 RD50 Generic UserMaus264TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:366:352 Mouse 

angle = 0

x/y=-72/-37

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  308   Sun Dec 7 06:31:03 2025 RD50 Generic UserMaus262TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:316:332 Mouse 

angle = 0

x/y=-72/-31

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  307   Sun Dec 7 06:27:30 2025 RD50 Generic UserMaus261TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:276:303 Mouse 

angle = 0

x/y=-72/-28

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  306   Sun Dec 7 06:24:54 2025 RD50 Generic UserMaus260TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:256:261 Mouse 

angle = 0

x/y=-69/-28

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  305   Sun Dec 7 06:22:51 2025 RD50 Generic UserMaus259TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:236:241 Mouse 

angle = 0

x/y=-69/-31

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  304   Sun Dec 7 06:21:13 2025 RD50 Generic UserMaus258TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:216:221 Mouse 

angle = 0

x/y=-69/-34

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  303   Sun Dec 7 06:18:46 2025 RD50 Generic UserMaus257TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:196:201 Mouse 

angle = 0

x/y=-69/-37

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  302   Sun Dec 7 06:16:06 2025 RD50 Generic UserMaus256TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:166:182 Mouse 

angle = 0

x/y=-69/-40

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  301   Sun Dec 7 06:13:56 2025 RD50 Generic UserMaus255TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:146:151 Mouse 

angle = 0

x/y=-66/-40

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  300   Sun Dec 7 06:11:59 2025 RD50 Generic UserMaus254TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:126:131 Mouse 

angle = 0

x/y=-66/-37

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

  299   Sun Dec 7 06:09:41 2025 RD50 Generic UserMaus253TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:106:111 Mouse 

angle = 0

x/y=-66/-34

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

70 MB/s Events 10 MB/s rejected

  298   Sun Dec 7 06:07:01 2025 RD50 Generic UserMaus252TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:076:092 Mouse 

angle = 0

x/y=-66/-31

rate:6 10e6

PreTriggerWindow 1.915us and PostTriggerWindow 85ns

  297   Sun Dec 7 06:04:39 2025 RD50 Generic UserMaus251TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:046:062 Mouse 

angle = 0

x/y=-66/-28

rate:6 10e6

PreTriggerWindow 1.915us and PostTriggerWindow 85ns

  296   Sun Dec 7 06:01:26 2025 RD50 Generic UserMaus250TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood6:016:032 Mouse 

angle = 0

x/y=-66/-19

rate:6 10e6

PreTriggerWindow 1.915us and PostTriggerWindow 85ns

77Mb/s Events 12Mb/s rejected

  295   Sun Dec 7 05:58:06 2025 RD50 Generic UserMaus249TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood5:586:013 Mouse 

angle = 0

x/y=-66/-22

rate:6 10e6

PreTriggerWindow 1.915us and PostTriggerWindow 85ns

75Mb/s Events 12Mb/s rejected

  132   Sun Jun 22 05:16:32 2025 Julia Müllner402 MeV mouse58TOF-Cal GSI402MeV/uLow Flux HighCarbonGood5:296:0031   

axis 1: 5

axis 2: 2

degrader 10, mouse is still inside

  294   Sun Dec 7 05:54:40 2025 RD50 Generic UserMaus248TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood5:555:572 Mouse 

angle = 0

x/y=-66/-25

rate:6 10e6

PreTriggerWindow 1.36us and PostTriggerWindow 640ns

70Mb/s Events 10Mb/s rejected

  131   Sun Jun 22 05:03:52 2025 Julia Müllner124.4 MeV mouse57TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood5:065:1610   

axis 1: -24

axis 2: 2

still upside down

  292   Sun Dec 7 05:12:43 2025 RD50 Generic UserMaus146TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood5:125:153 Mouse 

angle = 90

x/y=-39/-24

rate:6 10e6

PreTriggerWindow 640ns and PostTriggerWindow 85n

  291   Sun Dec 7 05:10:03 2025 RD50 Generic UserMaus145TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood5:095:123 Mouse 

angle = 90

x/y=-39/-33

rate:6 10e6

PreTriggerWindow 640ns and PostTriggerWindow 85n

  290   Sun Dec 7 05:07:16 2025 RD50 Generic UserMaus144TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood5:065:093 Mouse 

angle = 90

x/y=-39/-30

rate:6 10e6

PreTriggerWindow 640ns and PostTriggerWindow 85n

  289   Sun Dec 7 05:00:23 2025 RD50 Generic UserMaus143TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood5:045:062 Mouse 

angle = 90

x/y=-39/-27

rate:6 10e6

PreTriggerWindow 640ns and PostTriggerWindow 85n

  130   Sun Jun 22 04:53:41 2025 Julia Müllner124.4 MeV mouse56TOF-Cal GSI124.4 MeV/uLow Flux HighHelium 4:595:034   

axis 1: 5

axis 2: 2

mouse is upside down

  288   Sun Dec 7 04:57:35 2025 RD50 Generic UserMaus142TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:575:003 Mouse 

angle = 0

x/y=-39/-39

rate:6 10e6

PreTriggerWindow 640ns and PostTriggerWindow 85n

  287   Sun Dec 7 04:54:10 2025 RD50 Generic UserMaus141TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:544:573 Mouse 

angle = 0

x/y=-39/-36

rate:6 10e6

PreTriggerWindow 640ns and PostTriggerWindow 85n

  129   Sun Jun 22 04:44:05 2025 Julia Müllner124.4 MeV mouse55TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood4:444:539   

axis 1: 1

axis 2: 5

  286   Sun Dec 7 04:51:45 2025 RD50 Generic UserMaus140TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:524:533 Mouse 

angle = 0

x/y=-39/-33

PreTriggerWindow 640ns and PostTriggerWindow 85n

  285   Sun Dec 7 04:47:33 2025 RD50 Generic UserMaus139TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:484:502 Mouse 

angle = 0

x/y=-39/-30

PreTriggerWindow 640ns and PostTriggerWindow 85n

  284   Sun Dec 7 04:45:08 2025 RD50 Generic UserMaus138TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:454:483 Mouse 

angle = 0

x/y=-39/-18

PreTriggerWindow 640ns and PostTriggerWindow 85n

  128   Sun Jun 22 04:34:00 2025 Julia Müllner124.4 MeV mouse54TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood4:344:439   

axis 1: 1

axis 2: 2

  282   Sun Dec 7 04:36:22 2025 RD50 Generic UserMaus136TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:354:383 Mouse 

angle = 0

x/y=-39/-24

PreTriggerWindow 640ns and PostTriggerWindow 85n

  281   Sun Dec 7 04:27:09 2025 RD50 Generic UserMaus135TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:294:356 Mouse0.5cm

angle = 0

x/y=-39/-27

PreTriggerWindow 640ns and PostTriggerWindow 85n

  127   Sun Jun 22 04:23:59 2025 Julia Müllner124.4 MeV mouse53TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood4:244:339   

axis1: 1

axis 2: -1

  126   Sun Jun 22 04:14:02 2025 Julia Müllner124.4 MeV mouse52TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood4:134:2310   

axis 1: 1

axis 2: -4

  125   Sun Jun 22 04:03:00 2025 Julia Müllner124.4 MeV mouse51TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood4:034:1310   

axis 1: 5

axis 2: -4

  124   Sun Jun 22 03:52:09 2025 Julia Müllner124.4 MeV mouse50TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood3:524:0210   

axis 1: 5

axis 2: -1

  122   Sun Jun 22 03:32:06 2025 Julia Müllner124.4 MeV mouse48TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood3:313:4110   

axis 1: 5

axis 2: 5

  121   Sun Jun 22 03:21:57 2025 Julia Müllner124.4 MeV mouse47TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood3:213:3110   

axis 1: 5

axis 2: 8

  120   Sun Jun 22 03:11:40 2025 Julia Müllner124.4 MeV mouse46TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood3:113:2110   

axis 1: 5

axis 2: 11

  119   Sun Jun 22 02:55:26 2025 Julia Müllner124.4 MeV mouse45TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood2:553:1116   

axis 1: 5

axis 2: 14

beam was interrupted for a few minutes

  280   Sun Dec 7 02:33:26 2025 RD50 Generic UserRW3 slab34TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood2:342:58  RW30.5cm

48Mb/s Events and 2Mb/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

troubles till 02:48 (dogma powercycle)

  118   Sun Jun 22 02:43:48 2025 Julia Müllner124.4 MeV mouse44TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood2:462:559   

axis 1: 5

axis 2: 17

  117   Sun Jun 22 02:35:55 2025 Julia Müllner124.4 MeV mouse43TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood2:362:459   

axis 1: 5

axis 2: 20

  116   Sun Jun 22 02:25:33 2025 Julia Müllner124.4 MeV mouse42TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood2:262:359   

axis 1: 5

axis 2: 23

  279   Sun Dec 7 02:09:24 2025 Felix Ulrich-PurRW3 slab33TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood2:132:2916 RW34cm

30Mb/s Events and 300kb/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  115   Sun Jun 22 02:18:00 2025 Julia Müllner124.4 MeV mouse41TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood2:172:258   

axis 1: 13

axis 2: 23

  114   Sun Jun 22 02:08:49 2025 Julia Müllner124.4 MeV mouse40TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood2:092:167   

axis 1: 13

axis 2: 20

  113   Sun Jun 22 02:01:51 2025 Julia Müllner124.4 MeV mouse39TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood2:012:087   

axis 1: 13

axis 2: 17

  278   Sun Dec 7 01:40:40 2025 Felix Ulrich-PurRW3 slab32TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood1:402:0424 RW33cm

Problems with the source -> no beam

Beam started at 1:50

30Mb/s Events and 1Mb/s rejected

  112   Sun Jun 22 01:53:14 2025 Julia Müllner124.4 MeV mouse38TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood1:532:018   

axis 1: 13

axis 2: 14

 

  98   Sat Jun 21 23:49:42 2025 Julia Müllner124.4 MeV mouse24TOF-Cal GSI124.4 MeV/uLow Flux HighHelium 23:5023:599   

axis 1: 9

axis 2: 17 

  97   Sat Jun 21 23:38:17 2025 Julia Müllner124.4 MeV mouse23TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood23:4123:498   

axis 1: 9

axis 2: 20

24Gb of collected data

  272   Sat Dec 6 23:35:39 2025 Felix Ulrich-Pur97.2MeV/u systemtest26TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon97.2MeV/uLow Flux HighHelium 23:3623:4913 None 

36 Mb/s Events and 500kB/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  96   Sat Jun 21 23:23:15 2025 Julia Müllner124.4 MeV mouse22TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood23:2423:3814   

position 23 in x (axis 2) and 9 in y (axis 1)

  271   Sat Dec 6 23:14:26 2025 Felix Ulrich-Pur147.2 MeV/u systemtest25TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon147.2 MeV/uLow Flux HighHeliumGood23:1623:3519 None 

45Mb/s Events and 2Mb/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  270   Sat Dec 6 22:59:27 2025 Felix Ulrich-Pur124.4 MeV/u systemtest24TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood23:0023:1414 None 

65Mb/s Events and 1Mb/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  269   Sat Dec 6 22:35:09 2025 Felix Ulrich-Pur177.8 MeV/u systemtest23TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon177.8 MeV/uLow Flux HighHeliumGood22:3522:5918 None 

60Mb/s Events and 3Mb/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  95   Sat Jun 21 22:21:56 2025 Julia Müllner124.4 MeV w slab21TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood22:2622:359 PTW Slabs0.2cm

auf hades p81 sind alle files ab 008 einschließend sind keine daten sonder kalibrationspulse

  268   Sat Dec 6 22:20:09 2025 Felix Ulrich-Pur205.2 MeV/u systemtest22TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHelium 22:2222:3412 None 

PreTriggerWindow 640ns and PostTriggerWindwo 85ns

  94   Sat Jun 21 22:04:52 2025 Julia Müllner124.4 MeV w slab20TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood22:0922:2112 PTW Slabs0.5cm

Recorded data: 20GB

  267   Sat Dec 6 22:00:50 2025 Felix Ulrich-Pur205.2 MeV/u systemtest21TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon205.2 MeV/uLow Flux HighHeliumGood22:0322:2017 None 

110 Mb/s Events, 65 Mb/s rejected

PreTriggerWindow 3360ns and PostTriggerWindow 640ns 

runs of hadesp81 nicht umbenannt

  93   Sat Jun 21 21:47:40 2025 Julia Müllner124.4 MeV/u w 4slabs19TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood21:5122:0514 PTW Slabs4cm
  266   Sat Dec 6 21:38:02 2025 Felix Ulrich-Pur402MeV/u systemtest20TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood21:4122:0019 None 

PreTriggerWindow 3360ns and PostTriggerWindow 640ns 

Max 100Mb/s Events and 50Mb/s rejected

  73   Sat Mar 15 21:25:18 2025 RD50 Generic UserSlab Test Water 5cm14Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux HighHeliumGood21:2621:5024 Plastic Water Slabs5cm

RaMon rate: 4.5MHz

  92   Sat Jun 21 21:33:45 2025 Julia Müllner124.4 MeV/u w 3slabs18TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood21:3421:4713 PTW Slabs3cm
  265   Sat Dec 6 21:20:03 2025 Felix Ulrich-Pur402MeV/u systemtest19TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood21:2121:3716 None 

PreTriggerWindow 640ns and PostTriggerWindow 85ns

Max 70Mb/s and Droprate 6 Mb/s

  91   Sat Jun 21 21:11:04 2025 Julia Müllner124.4 MeV/u w 2slabs17TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood21:1621:2913 PTW Slabs2cm
  74   Sat Mar 15 21:29:28 2025 RD50 Generic UserSlab and rate testing (with Michael)13Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux HighHeliumGood20:4421:2238 Plastic Water Slabs4cm

totzeit optimieren und deadtime finden

hex wert mal 10ns deadtime

13 ab file 10 besat effort
ab 52 wieder ohne best effort

600

  264   Sat Dec 6 20:29:53 2025 Felix Ulrich-Pur402MeV/u systemtest18TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood20:5021:1929 None 

2us TriggerWindow insgesamt: 640ns PostTriggerWindow und 1360 PreTriggerWindow, max 60Mb/s Events und 25Mb/s rejected pro Eventbuilder

  90   Sat Jun 21 20:42:42 2025 Julia Müllner124.4 MeV/u w slabs16TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood21:0121:109 PTW Slabs1cm

1.041 WET RW3 (mm)

  89   Sat Jun 21 20:32:58 2025 Julia Müllner402MeV systemtest 15TOF-Cal GSI402MeV/uLow Flux HighHeliumGood20:3520:4712   

rejected roughly 10-20%, 8MHz beam

rejected quite a lot of data later -> eventloader restarted

  72   Sat Mar 15 19:37:42 2025 RD50 Generic UserSlab Test Water 4cm12Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux MediumHelium 19:3920:4162 Plastic Water Slabs4cm

RaMon Rate 1.4MHz

  88   Sat Jun 21 20:24:05 2025 Julia Müllner205.2 MeV systemtest 14TOF-Cal GSI205.2 MeV/uLow Flux HighHeliumGood20:2420:328   

last events already with 400MeV/u

  263   Sat Dec 6 20:15:47 2025 Felix Ulrich-Pursystemtest carbon17TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon  CarbonGood20:1620:2913 None 

400.1MeV, Degrader 10

  87   Sat Jun 21 20:15:25 2025 Julia Müllner177.8 MeV systemtest 13TOF-Cal GSI177.8 MeV/uLow Flux HighHeliumGood20:1620:237   

16.2 GB collected

  86   Sat Jun 21 20:05:49 2025 Julia Müllner147.2 MeV systemtest 12TOF-Cal GSI147.2 MeV/uLow Flux HighHeliumGood20:0620:159   
  262   Sat Dec 6 19:59:15 2025 Felix Ulrich-Pur800MeV systemtest16TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon800 MeVLow Flux HighHeliumGood19:5920:0910 None 

40Mb/s Events and 4 Mb/s rejected

PreTriggerWindow: 1360ns and PostTriggerWindow: 640ns

  85   Sat Jun 21 19:54:12 2025 Julia Müllner124.4 MeV systemtest 11TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood19:5420:0511   

16GB collected

  247   Sat Sep 20 21:23:52 2025 elog_producerCaribou 1.51044RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 21:23:4420.09.2025 21:24:030Normal  
automatic log for run 1044
Comment:
DMA debugging
no data
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 1


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 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48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/dma/dma_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  246   Sat Sep 20 21:19:29 2025 elog_producerCaribou 1.51043RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 21:18:0920.09.2025 21:19:401Normal  
automatic log for run 1043
Comment:
DMA debugging
not waiting for IOC flag
frame rate UDP vs. DMA similar now
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 1


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0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
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/dma/dma_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  244   Sat Sep 20 21:12:30 2025 elog_producerCaribou 1.51042RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 21:11:5720.09.2025 21:12:410Normal  
automatic log for run 1042
Comment:
DMA debugging
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 1


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4
0 62 1 0 0 0 10
0 63 0 0 0 0 10
1 0 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0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/dma/dma_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  243   Sat Sep 20 21:02:14 2025 elog_producerCaribou 1.51041RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 21:01:3420.09.2025 21:02:260Normal  
automatic log for run 1041
Comment:
no data from DMA Frown
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 1


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 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41 0 0 0 0 7
3 42 0 0 0 0 12
3 43 0 0 0 0 12
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/dma/dma_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  239   Sat Sep 20 20:58:41 2025 elog_producerCaribou 1.51040RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 20:51:5720.09.2025 20:58:536Normal  
automatic log for run 1040
Comment:
this time no RX drops
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 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1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  236   Sat Sep 20 20:40:06 2025 elog_producerCaribou 1.51038RD50-MPW4800 MeVLow Flux HighProtonUnknown20.09.2025 20:34:3120.09.2025 20:40:185Normal  
automatic log for run 1038
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 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23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  234   Sat Sep 20 20:32:10 2025 elog_producerCaribou 1.51037RD50-MPW4800 MeVLow Flux MediumProtonUnknown20.09.2025 20:27:1420.09.2025 20:32:225Normal  
automatic log for run 1037
Comment:
higher rates
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 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11
3 37 0 0 0 0 11
3 38 0 0 0 0 11
3 39 0 0 0 0 11
3 40 0 0 0 0 2
3 41 0 0 0 0 7
3 42 0 0 0 0 12
3 43 0 0 0 0 12
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  233   Sat Sep 20 20:26:50 2025 elog_producerCaribou 1.51036RD50-MPW4800 MeVLow Flux MediumProtonUnknown20.09.2025 20:21:4820.09.2025 20:27:015Normal  
automatic log for run 1036
Comment:
higher rates
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 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0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  231   Sat Sep 20 20:17:25 2025 elog_producerCaribou 1.51035RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 20:12:2620.09.2025 20:17:365Normal  
automatic log for run 1035
Comment:
bias voltage low voltages
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 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0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -18

[Producer.tracker_irgendwas]
  230   Sat Sep 20 20:11:08 2025 elog_producerCaribou 1.51034RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 20:06:0820.09.2025 20:11:195Normal  
automatic log for run 1034
Comment:
bias voltage low voltages
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 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12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -15

[Producer.tracker_irgendwas]
  229   Sat Sep 20 20:04:05 2025 elog_producerCaribou 1.51033RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:58:4320.09.2025 20:04:175Normal  
automatic log for run 1033
Comment:
bias voltage low voltages
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 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0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -12

[Producer.tracker_irgendwas]
  228   Sat Sep 20 19:57:10 2025 elog_producerCaribou 1.51032RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:51:0420.09.2025 19:57:226Normal  
automatic log for run 1032
Comment:
bias voltage low voltages
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 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10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -160

[Producer.tracker_irgendwas]
  225   Sat Sep 20 19:49:27 2025 elog_producerCaribou 1.51031RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:44:4320.09.2025 19:49:394Normal  
automatic log for run 1031
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: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0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -150

[Producer.tracker_irgendwas]
  224   Sat Sep 20 19:43:31 2025 elog_producerCaribou 1.51030RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:34:1720.09.2025 19:43:419Normal  
automatic log for run 1030
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 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49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -140

[Producer.tracker_irgendwas]
  223   Sat Sep 20 19:32:53 2025 elog_producerCaribou 1.51029RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:28:0020.09.2025 19:33:055Normal  
automatic log for run 1029
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 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11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -130

[Producer.tracker_irgendwas]
  222   Sat Sep 20 19:26:22 2025 elog_producerCaribou 1.51028RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:21:2920.09.2025 19:26:335Normal  
automatic log for run 1028
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4
0 62 1 0 0 0 10
0 63 0 0 0 0 10
1 0 0 0 0 0 15
1 1 0 0 0 0 10
1 2 0 0 0 0 8
1 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0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -120

[Producer.tracker_irgendwas]
  221   Sat Sep 20 19:20:08 2025 elog_producerCaribou 1.51027RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:15:1620.09.2025 19:20:195Normal  
automatic log for run 1027
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 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44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -110

[Producer.tracker_irgendwas]
  220   Sat Sep 20 19:14:00 2025 elog_producerCaribou 1.51026RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:09:0720.09.2025 19:14:125Normal  
automatic log for run 1026
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 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12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -100

[Producer.tracker_irgendwas]
  219   Sat Sep 20 19:07:43 2025 elog_producerCaribou 1.51025RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 19:02:5120.09.2025 19:07:545Normal  
automatic log for run 1025
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4
0 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0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -90

[Producer.tracker_irgendwas]
  218   Sat Sep 20 19:01:35 2025 elog_producerCaribou 1.51024RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:56:4420.09.2025 19:01:475Normal  
automatic log for run 1024
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 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39 0 0 0 0 11
3 40 0 0 0 0 2
3 41 0 0 0 0 7
3 42 0 0 0 0 12
3 43 0 0 0 0 12
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -80

[Producer.tracker_irgendwas]
  217   Sat Sep 20 18:55:26 2025 elog_producerCaribou 1.51023RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:50:0620.09.2025 18:55:385Normal  
automatic log for run 1023
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 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5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -70

[Producer.tracker_irgendwas]
  216   Sat Sep 20 18:48:56 2025 elog_producerCaribou 1.51022RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:43:5620.09.2025 18:49:085Normal  
automatic log for run 1022
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 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0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -60

[Producer.tracker_irgendwas]
  215   Sat Sep 20 18:42:38 2025 elog_producerCaribou 1.51021RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:36:5520.09.2025 18:42:505Normal  
automatic log for run 1021
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 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0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -50

[Producer.tracker_irgendwas]
  214   Sat Sep 20 18:35:42 2025 elog_producerCaribou 1.51020RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:30:3720.09.2025 18:35:535Normal  
automatic log for run 1020
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 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12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -40

[Producer.tracker_irgendwas]
  213   Sat Sep 20 18:29:16 2025 elog_producerCaribou 1.51019RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:24:1220.09.2025 18:29:275Normal  
automatic log for run 1019
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 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0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -30

[Producer.tracker_irgendwas]
  212   Sat Sep 20 18:22:57 2025 elog_producerCaribou 1.51018RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:17:5820.09.2025 18:23:085Normal  
automatic log for run 1018
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 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0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -20

[Producer.tracker_irgendwas]
  211   Sat Sep 20 18:16:31 2025 elog_producerCaribou 1.51017RD50-MPW4800 MeVLow Flux LowProtonUnknown20.09.2025 18:11:1720.09.2025 18:16:425Normal  
automatic log for run 1017
Comment:
bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 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8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -10

[Producer.tracker_irgendwas]
  209   Sat Sep 20 18:08:47 2025 elog_producerCaribou 1.51016RD50-MPW4800 MeVLow Flux Very LowProtonUnknown20.09.2025 18:05:2820.09.2025 18:08:583Normal  
automatic log for run 1016
Comment:
Bias voltage 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 = calib.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3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 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -10

[Producer.tracker_irgendwas]
  208   Sat Sep 20 18:03:30 2025 elog_producerCaribou 1.51015RD50-MPW4800 MeVLow Flux Very LowProtonUnknown20.09.2025 17:55:0120.09.2025 18:03:428Normal  
automatic log for run 1015
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4
0 62 1 0 0 0 10
0 63 0 0 0 0 10
1 0 0 0 0 0 15
1 1 0 0 0 0 10
1 2 0 0 0 0 8
1 3 0 0 0 0 7
1 4 0 0 0 0 10
1 5 0 0 0 0 0
1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 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  207   Sat Sep 20 17:54:23 2025 elog_producerCaribou 1.51014RD50-MPW4800 MeVLow Flux Very LowProtonUnknown20.09.2025 17:49:5920.09.2025 17:54:344Normal  
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0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 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  204   Sat Sep 20 17:49:26 2025 elog_producerCaribou 1.51013RD50-MPW4800 MeVLow Flux Very LowProtonUnknown20.09.2025 17:39:3920.09.2025 17:49:389Normal  
automatic log for run 1013
Comment:
debugging mpw4, config problems
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0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 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  203   Sat Sep 20 17:39:17 2025 elog_producerCaribou 1.51012RD50-MPW4800 MeVLow Flux Very LowProtonUnknown20.09.2025 17:32:0120.09.2025 17:39:287Normal  
automatic log for run 1012
Comment:
debugging mpw4, config problems
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11
0 37 0 0 0 0 8
0 38 0 0 0 0 12
0 39 0 0 0 0 8
0 40 0 0 0 0 15
0 41 0 0 0 0 7
0 42 0 0 0 0 8
0 43 0 0 0 0 5
0 44 0 0 0 0 9
0 45 0 0 0 0 14
0 46 0 0 0 0 3
0 47 0 0 0 0 7
0 48 0 0 0 0 7
0 49 0 0 0 0 7
0 50 0 0 0 0 4
0 51 0 0 0 0 8
0 52 0 0 0 0 13
0 53 0 0 0 0 7
0 54 0 0 0 0 8
0 55 0 0 0 0 10
0 56 0 0 0 0 11
0 57 0 0 0 0 5
0 58 0 0 0 0 11
0 59 0 0 0 0 3
0 60 0 0 0 0 8
0 61 0 0 0 0 4
0 62 1 0 0 0 10
0 63 0 0 0 0 10
1 0 0 0 0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 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  202   Sat Sep 20 17:30:32 2025 elog_producerCaribou 1.51011RD50-MPW4800 MeVLow Flux Very LowProtonUnknown20.09.2025 17:30:2320.09.2025 17:30:420Normal  
automatic log for run 1011
Comment:
debugging mpw4, config problems
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0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 0 0 0 0 7
3 42 0 0 0 0 12
3 43 0 0 0 0 12
3 44 0 0 0 0 8
3 45 0 0 0 0 12
3 46 0 0 0 0 10
3 47 0 0 0 0 3
3 48 0 0 0 0 8
3 49 0 0 0 0 8
3 50 0 0 0 0 0
3 51 0 0 0 0 8
3 52 0 0 0 0 8
3 53 0 0 0 0 10
3 54 0 0 0 0 4
3 55 0 0 0 0 3
3 56 0 0 0 0 12
3 57 0 0 0 0 3
3 58 0 0 0 0 5
3 59 0 0 0 0 8
3 60 0 0 0 0 9
3 61 0 0 0 0 5
3 62 0 0 0 0 8
3 63 0 0 0 0 1
4 0 0 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  200   Sat Sep 20 17:27:39 2025 elog_producerCaribou 1.51010RD50-MPW4800 MeVLow Flux Very LowProtonUnknown20.09.2025 17:26:5420.09.2025 17:27:510Normal  
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.txt
config_si5345 = clock_config_mpw4.txt
en_freeze = 1
en_tb_mode = 1
execute_file = execute.txt
i2c_addr = 0x41
i2c_dev = /dev/i2c-17
inj_t0 = 0
matrix_config = matrix_mpw4_base.txt
use_dma = 0


#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 = 2
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
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 = 0.93
th__u = 1
th__i = 3
Attachment 2: matrix_mpw4_base.txt
0 0 0 0 0 0 15
0 1 0 0 0 0 3
0 2 0 0 0 0 12
0 3 0 0 0 0 13
0 4 0 0 0 0 8
0 5 0 0 0 0 11
0 6 0 0 0 0 10
0 7 0 0 0 0 8
0 8 0 0 0 0 6
0 9 0 0 0 0 10
0 10 0 0 0 0 10
0 11 0 0 0 0 4
0 12 0 0 0 0 14
0 13 0 0 0 0 7
0 14 0 0 0 0 7
0 15 0 0 0 0 2
0 16 0 0 0 0 5
0 17 0 0 0 0 15
0 18 0 0 0 0 14
0 19 0 0 0 0 12
0 20 0 0 0 0 6
0 21 0 0 0 0 5
0 22 0 0 0 0 8
0 23 0 0 0 0 7
0 24 0 0 0 0 10
0 25 0 0 0 0 4
0 26 0 0 0 0 5
0 27 0 0 0 0 0
0 28 0 0 0 0 6
0 29 0 0 0 0 5
0 30 0 0 0 0 12
0 31 0 0 0 0 2
0 32 0 0 0 0 6
0 33 0 0 0 0 8
0 34 0 0 0 0 10
0 35 0 0 0 0 9
0 36 0 0 0 0 11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 0 0 0 8
4 1 0 0 0 0 15
4 2 0 0 0 0 12
4 3 0 0 0 0 4
4 4 0 0 0 0 9
4 5 0 0 0 0 11
4 6 0 0 0 0 14
4 7 0 0 0 0 11
4 8 0 0 0 0 4
4 9 0 0 0 0 7
4 10 0 0 0 0 8
4 11 0 0 0 0 12
4 12 0 0 0 0 10
4 13 0 0 0 0 11
4 14 0 0 0 0 7
4 15 0 0 0 0 11
4 16 0 0 0 0 4
4 17 0 0 0 0 10
4 18 0 0 0 0 10
4 19 0 0 0 0 14
4 20 0 0 0 0 11
4 21 0 0 0 0 11
4 22 0 0 0 0 8
4 23 0 0 0 0 11
4 24 0 0 0 0 1
4 25 0 0 0 0 2
4 26 0 0 0 0 9
4 27 0 0 0 0 11
4 28 0 0 0 0 8
4 29 0 0 0 0 3
4 30 0 0 0 0 5
4 31 0 0 0 0 8
4 32 0 0 0 0 4
4 33 0 0 0 0 9
4 34 0 0 0 0 8
4 35 0 0 0 0 3
4 36 0 0 0 0 3
4 37 0 0 0 0 11
4 38 0 0 0 0 7
4 39 0 0 0 0 10
4 40 0 0 0 0 12
4 41 0 0 0 0 7
4 42 0 0 0 0 6
4 43 0 0 0 0 4
... 3796 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.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= 0xF0 #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= 0xD #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/Elements/caribou_maus_250920/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
EUDAQ_DC= peary_dc

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

[DataCollector.peary_dc]
EUDAQ_FW=native
# the format of data file
EUDAQ_FW_PATTERN= /media/silicon/Elements/caribou_maus_250920/peary/peary_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

[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" #files to attach to the auto Elog entries, EUDAQ config will be logged by default

[Producer.keithleyPS]
max_current = 50e-6
ramp_speed = 100
ramp_step = 2.5
voltage = -190

[Producer.tracker_irgendwas]
  111   Sun Jun 22 01:44:58 2025 Julia Müllner124.4 MeV mouse37TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood1:451:538   

axis 1: 13

axis 2: 11

last files of hades81 are already for the next run, forgot to copy xml to 81.

  110   Sun Jun 22 01:37:25 2025 Julia Müllner124.4 MeV mouse36TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood1:371:447   

axis 1: 13

axis 2: 8

  109   Sun Jun 22 01:29:58 2025 Julia Müllner124.4 MeV mouse35TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood1:301:377   

axis 1: 13

axis 2: 5

  277   Sun Dec 7 01:21:22 2025 Felix Ulrich-PurRW3 slab31TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood1:241:3410 RW32cm

 

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  108   Sun Jun 22 01:21:30 2025 Julia Müllner124.4 MeV mouse34TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood1:211:298   

axis 1: 13

axis 2: 2

  107   Sun Jun 22 01:13:44 2025 Julia Müllner124.4 MeV mouse33TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood1:141:217   

axis 1: 13

axis 2: -1

  276   Sun Dec 7 01:05:08 2025 Felix Ulrich-PurRW3 slab30TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood1:061:148 RW31cm

80Mb/s Events and 20Mb/s rejected

PreTriggerWindow 3360ns and PostTriggerWindow 640ns

  106   Sun Jun 22 01:05:13 2025 Julia Müllner124.4 MeV mouse32TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood1:041:139   

axis 1: 13

axis 2: -4

  275   Sun Dec 7 00:47:00 2025 Felix Ulrich-PurRW3 slab29TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood00:471:0417 RW31cm

45Mb/s Events and 1Mb/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  261   Sat Dec 6 19:47:32 2025 Felix Ulrich-Pur800MeV systemtest15TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon800 MeVLow Flux HighProtonGood19:4819:579 None 

PreTriggerWindow: 640ns and PostTriggerWindow: 3.36µs

25Mb/s Events and 25Mb/s rejected

  84   Sat Jun 21 19:35:59 2025 Julia Müllner63.3 MeV systemtest 10TOF-Cal GSI63.3 MeV/uLow Flux HighHeliumGood19:3719:5316   
  260   Sat Dec 6 19:20:24 2025 Felix Ulrich-Pur800MeV systemtest14TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon800 MeVLow Flux HighProtonGood19:3019:4515 None 

3360ns PreTriggerWindow and 640ns PostTriggerWindow

Had to restart eventbuilder at 19:39 due to high rejected rate

60Mb/s Events and 10-15Mb/s rejected

  83   Sat Jun 21 19:22:45 2025 Julia Müllner73.2 MeV systemtest 9TOF-Cal GSI73.2 MeV/uLow Flux HighHeliumGood19:2319:3512   

Threshold change from 50 to 500

10GB collected

  71   Sat Mar 15 18:37:36 2025 RD50 Generic UserSlab Test Water 3cm11Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux MediumHelium 18:4119:2847 Plastic Water Slabs3cm

RaMon Rate 1.5MHz

  82   Sat Jun 21 18:22:28 2025 Julia Müllner73.2 MeV systemtest 8TOF-Cal GSI73.2 MeV/uLow Flux HighHeliumCrap19:1019:2111   

new callibration was done, dimanond detector connected to readout

Threshold = 4000

thresholds were too low -> run was canceled

  259   Sat Dec 6 18:36:14 2025 Felix Ulrich-Pur800MeV systemtest13TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon800 MeVLow Flux Very LowProtonGood18:5319:1825 None 

Run nr. 12 wasn't recorded.

new calib from this run on

  70   Sat Mar 15 17:30:18 2025 RD50 Generic UserSlab Test Water 2cm10Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux MediumHelium 17:3018:2454 Plastic Water Slabs2cm

RaMon Rate 1.5 MHz

  258   Sat Dec 6 18:08:39 2025 Felix Ulrich-Pur800MeV systemtest11TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon800 MeVLow Flux HighProtonGood18:1618:237 None 

adjusted threshold for double-sided LGAD (accounted for polarity of signal)

  81   Sat Jun 21 18:05:21 2025 Julia Müllner97.2 MeV systemtest 7TOF-Cal GSI97.2MeV/uLow Flux HighHeliumGood18:0618:2115   

Threshold set to 2000

50GB data collected

Room Entry Request: 18:21

  257   Sat Dec 6 17:45:43 2025 Felix Ulrich-Pur402MeV/u systemtest10TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood17:4718:0821 None 

threshold = 2000

  80   Sat Jun 21 17:54:27 2025 Julia Müllner97.2 MeV systemtest 6TOF-Cal GSI97.2MeV/uLow Flux HighHeliumGood17:5618:048   

Threshold set to 4000

40GB data collected

  79   Sat Jun 21 17:13:34 2025 Julia Müllner97.2 MeV systemtest 5TOF-Cal GSI97.2MeV/uLow Flux HighHeliumGood17:3117:5423   

Threshold set to 3000

moved Ripple filters back in 

100GB data collected

  256   Sat Dec 6 17:24:05 2025 Felix Ulrich-Pur402MeV/u systemtest9TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood17:2417:4521 None 

17:43: eventbuilder restart since lots of rejected triggers 

  69   Sat Mar 15 16:50:39 2025 RD50 Generic UserSlab Test Water 1cm9Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux MediumHeliumGood16:3517:2348 Plastic Water Slabs1cm

RaMon Rate: 1.3MHz

  255   Sat Dec 6 17:12:41 2025 Felix Ulrich-Pur402MeV/u systemtest8TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood17:1517:227 None 

threshold = 2000

PreTriggerWindow 640ns und PostTriggerWindow 85ns

  78   Sat Jun 21 17:01:05 2025 Julia Müllner97.2 MeV systemtest 4TOF-Cal GSI97.2MeV/uLow Flux HighHeliumGood16:5817:1113   

Data was good, we have to shuft the setup in x direction and slightly down. Enter room request 17:12.

  254   Sat Dec 6 16:53:28 2025 Felix Ulrich-Pur402MeV/u systemtest7TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood16:5317:0815 None 

Setup wurde verschoben: 5mm vorne nach links und hinten 4mm, in Beamrichtung

threshold = 4000

  77   Sat Jun 21 16:30:44 2025 Julia Müllner205.2 MeV systemtest 3TOF-Cal GSI205.2 MeV/uLow Flux HighHeliumUnknown16:3816:5719   

Threshold set to 5000

dead channels on last LGAD, changed trigger from LGAD 12 to LGAD 11

  253   Sat Dec 6 16:41:57 2025 Felix Ulrich-Pur402MeV/u systemtest6TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood16:4216:475 None 

setup was moved, stopped to move setup again

threshold = 4000

  252   Sat Dec 6 16:27:41 2025 Felix Ulrich-Pur402MeV/u systemtest5TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood16:2716:347 None 

interupted to get inside the room

  68   Sat Mar 15 15:26:08 2025 RD50 Generic UserRate testing8Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux MediumHelium 15:3116:3059   

RaMon Rate: 1.3MHz

Comments:

Tested different evenbuilder settings which made things worse, probably switch is the bottleneck, changed rate settings inbetween, requires sergey

  76   Sat Jun 21 15:43:47 2025 Julia Müllner800MeV systemtest 2TOF-Cal GSI800 MeVLow Flux HighProtonGood16:0216:2927   

Threshold set to 1000

Factor 4 chosen for future runs, 80 GB in total recorded in this run

  251   Sat Dec 6 16:25:24 2025 Felix Ulrich-Pur402MeV/u systemtest4TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumGood16:2316:241 None 

just to check if the beam was there

  250   Sat Dec 6 16:15:17 2025 Felix Ulrich-Pur402MeV/u systemtest3TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumUnknown16:0516:2318 None 
  249   Sat Dec 6 16:14:11 2025 Felix Ulrich-Pur402MeV/u systemtest2TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon402MeV/uLow Flux HighHeliumUnknown15:5516:005 None 
  196   Sat Aug 16 21:08:36 2025 elog_producerCastid108TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 20:59:0516.08.2025 21:08:399HVNone 
automatic log for run 108
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  195   Sat Aug 16 20:58:19 2025 elog_producerCastid107TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 20:47:5516.08.2025 20:58:2110HVNone 
automatic log for run 107
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  194   Sat Aug 16 20:47:06 2025 elog_producerCastid106TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 20:35:0716.08.2025 20:47:0812HVNone 
automatic log for run 106
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  193   Sat Aug 16 20:21:34 2025 elog_producerCastid105TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 20:21:2816.08.2025 20:21:360HVNone 
automatic log for run 105
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  192   Sat Aug 16 20:19:50 2025 elog_producerCastid104TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 20:19:4616.08.2025 20:19:520HVNone 
automatic log for run 104
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  191   Sat Aug 16 20:18:49 2025 elog_producerCastid103TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 20:15:3616.08.2025 20:18:513HVNone 
automatic log for run 103
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  190   Sat Aug 16 20:14:08 2025 elog_producerCastid102TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 20:10:0816.08.2025 20:14:104HVNone 
automatic log for run 102
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  189   Sat Aug 16 20:07:21 2025 elog_producerCastid101TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 20:02:0816.08.2025 20:07:235HVNone 
automatic log for run 101
Comment:
self.configure_rx(delay=10, rd_frz_dly=10) (4x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  188   Sat Aug 16 20:01:32 2025 elog_producerCastid100TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 19:56:3116.08.2025 20:01:355HVNone 
automatic log for run 100
Comment:
self.configure_rx(delay=10, rd_frz_dly=10) (4x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  187   Sat Aug 16 19:55:27 2025 elog_producerCastid99TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 19:50:0016.08.2025 19:55:295HVNone 
automatic log for run 99
Comment:
self.configure_rx(delay=20, rd_frz_dly=20) (2x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  186   Sat Aug 16 19:49:26 2025 elog_producerCastid98TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 19:43:0016.08.2025 19:49:296HVNone 
automatic log for run 98
Comment:
self.configure_rx(delay=20, rd_frz_dly=20) (2x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  185   Sat Aug 16 19:41:42 2025 elog_producerCastid97TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 19:36:3316.08.2025 19:41:445HVNone 
automatic log for run 97
Comment:
self.configure_rx(delay=30, rd_frz_dly=30) (1.5x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  184   Sat Aug 16 19:34:46 2025 elog_producerCastid96TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 19:28:3816.08.2025 19:34:486HVNone 
automatic log for run 96
Comment:
self.configure_rx(delay=30, rd_frz_dly=30) (1.5x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  183   Sat Aug 16 19:28:03 2025 elog_producerCastid95TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 19:26:2916.08.2025 19:28:051HVNone 
automatic log for run 95
Comment:
self.configure_rx(delay=30, rd_frz_dly=30) (1.5x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  182   Sat Aug 16 19:25:21 2025 elog_producerCastid94TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 19:23:0916.08.2025 19:25:222HVNone 
automatic log for run 94
Comment:
self.configure_rx(delay=30, rd_frz_dly=30) (1.5x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  181   Sat Aug 16 19:22:06 2025 elog_producerCastid93TJ-Monopix2800 MeVLow Flux HighProtonCrap16.08.2025 19:18:1916.08.2025 19:22:083HVNone 
automatic log for run 93
Comment:
self.configure_rx(delay=30, rd_frz_dly=30) (1.5x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  180   Sat Aug 16 19:07:18 2025 elog_producerCastid91TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 19:01:5716.08.2025 19:07:205HVNone 
automatic log for run 91
Comment:
self.configure_rx(delay=30, rd_frz_dly=30) (1.5x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  179   Sat Aug 16 18:59:32 2025 elog_producerCastid90TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:54:1816.08.2025 18:59:345HVNone 
automatic log for run 90
Comment:
self.configure_rx(delay=20, rd_frz_dly=20) (2x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  178   Sat Aug 16 18:53:31 2025 elog_producerCastid89TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:51:1016.08.2025 18:53:332HVNone 
automatic log for run 89
Comment:
self.configure_rx(delay=20, rd_frz_dly=20) (2x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  177   Sat Aug 16 18:48:32 2025 elog_producerCastid88TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:47:0116.08.2025 18:48:341HVNone 
automatic log for run 88
Comment:
self.configure_rx(delay=10, rd_frz_dly=10) (4x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  176   Sat Aug 16 18:45:42 2025 elog_producerCastid87TJ-Monopix2800 MeVLow Flux HighProtonCrap16.08.2025 18:42:4216.08.2025 18:45:443HVNone 
automatic log for run 87
Comment:
self.configure_rx(delay=10, rd_frz_dly=10) (4x)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  175   Sat Aug 16 18:41:37 2025 elog_producerCastid86TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:40:3316.08.2025 18:41:401HVNone 
automatic log for run 86
Comment:
self.configure_rx(delay=10, rd_frz_dly=10) (4x)

no TLU (?)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  174   Sat Aug 16 18:34:59 2025 elog_producerCastid85TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:32:5916.08.2025 18:35:012HVNone 
automatic log for run 85
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x faster than default)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  173   Sat Aug 16 18:32:26 2025 elog_producerCastid84TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:27:2616.08.2025 18:32:285HVNone 
automatic log for run 84
Comment:
self.configure_rx(delay=2, rd_frz_dly=2) (20x faster than default)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  172   Sat Aug 16 18:21:36 2025 elog_producerCastid83TJ-Monopix2800 MeVLow Flux HighProtonCrap16.08.2025 18:19:1316.08.2025 18:21:382HVNone 
automatic log for run 83
Comment:
error
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  171   Sat Aug 16 18:18:22 2025 elog_producerCastid82TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:13:2016.08.2025 18:18:245HVNone 
automatic log for run 82
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  170   Sat Aug 16 18:12:41 2025 elog_producerCastid81TJ-Monopix2800 MeVLow Flux HighProtonUnknown16.08.2025 18:11:3316.08.2025 18:12:431HVNone 
automatic log for run 81
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  169   Sat Aug 16 18:10:52 2025 elog_producerCastid80TJ-Monopix2800 MeVLow Flux HighProtonCrap16.08.2025 18:08:3116.08.2025 18:10:532HVNone 
automatic log for run 80
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  168   Sat Aug 16 18:07:31 2025 elog_producerCastid79TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 18:02:2916.08.2025 18:07:335HVNone 
automatic log for run 79
Comment:
A little longer, but it goes so quickly Wink
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  167   Sat Aug 16 18:01:49 2025 elog_producerCastid78TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 17:59:3916.08.2025 18:01:512HVNone 
automatic log for run 78
Comment:
A little longer, but it goes so quickly Wink
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  166   Sat Aug 16 17:59:02 2025 elog_producerCastid77TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 17:58:4416.08.2025 17:59:040HVNone 
automatic log for run 77
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  165   Sat Aug 16 17:52:31 2025 elog_producerCastid75TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 17:51:4416.08.2025 17:52:330HVNone 
automatic log for run 75
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  164   Sat Aug 16 17:22:50 2025 elog_producerCastid74TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 17:21:2816.08.2025 17:22:521HVNone 
automatic log for run 74
Comment:
operators called it 200kHz 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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  163   Sat Aug 16 17:20:51 2025 elog_producerCastid73TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 17:19:5116.08.2025 17:20:531HVNone 
automatic log for run 73
Comment:
operators called it 200kHz 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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  162   Sat Aug 16 17:19:08 2025 elog_producerCastid72TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 17:18:4416.08.2025 17:19:100HVNone 
automatic log for run 72
Comment:
operators called it 200kHz 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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  161   Sat Aug 16 17:17:06 2025 elog_producerCastid71TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 17:16:0316.08.2025 17:17:071HVNone 
automatic log for run 71
Comment:
Operators called it 200kHz 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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  160   Sat Aug 16 17:12:35 2025 elog_producerCastid70TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 16:53:0516.08.2025 17:12:3719HVNone 
automatic log for run 70
Comment:
Operators called it 5kHz 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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  159   Sat Aug 16 16:51:50 2025 elog_producerCastid69TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 16:38:1116.08.2025 16:51:5213HVNone 
automatic log for run 69
Comment:
Operators called it 5kHz 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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  158   Sat Aug 16 16:35:04 2025 elog_producerCastid68TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown16.08.2025 16:19:2016.08.2025 16:35:0515HVNone 
automatic log for run 68
Comment:
Super high stat run (50M triggers)
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  157   Sat Aug 16 16:18:06 2025 elog_producerCastid67TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown16.08.2025 16:11:2616.08.2025 16:18:086HVNone 
automatic log for run 67
Comment:
Now with TLU data
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  156   Sat Aug 16 16:10:30 2025 elog_producerCastid66TJ-Monopix2800 MeVLow Flux LowProtonCrap16.08.2025 16:08:2016.08.2025 16:10:322HVNone 
automatic log for run 66
Comment:
debug tlu
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  155   Sat Aug 16 16:07:41 2025 elog_producerCastid65TJ-Monopix2800 MeVLow Flux LowProtonCrap16.08.2025 16:05:5416.08.2025 16:07:421HVNone 
automatic log for run 65
Comment:
debug tlu
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 = 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 #Szinti 4x4cm
PMT2_V= 0.8 #Szinti 4x4cm
PMT3_V= 0.0
PMT4_V= 0.0

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  154   Sat Aug 16 16:04:24 2025 elog_producerCastid64TJ-Monopix2800 MeVLow Flux LowProtonCrap16.08.2025 16:03:5516.08.2025 16:04:260HVNone 
automatic log for run 64
Comment:
debug tlu
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  153   Sat Aug 16 16:03:13 2025 elog_producerCastid63TJ-Monopix2800 MeVLow Flux LowProtonCrap16.08.2025 15:59:5616.08.2025 16:03:153HVNone 
automatic log for run 63
Comment:
debug tlu
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  152   Sat Aug 16 15:59:21 2025 elog_producerCastid62TJ-Monopix2800 MeVLow Flux LowProtonCrap16.08.2025 15:54:4616.08.2025 15:59:234HVNone 
automatic log for run 62
Comment:
power cycled the tlu
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  151   Sat Aug 16 15:48:04 2025 elog_producerCastid61TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 15:42:2416.08.2025 15:48:065HVNone 
automatic log for run 61
Comment:
second try w/o online monitor this 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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  150   Sat Aug 16 15:41:43 2025 elog_producerCastid60TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 15:39:0316.08.2025 15:41:452HVNone 
automatic log for run 60
Comment:
moved DUT again
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  149   Sat Aug 16 15:29:15 2025 elog_producerCastid59TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 15:28:2816.08.2025 15:29:170HVNone 
automatic log for run 59
Comment:
moved DUT
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  148   Sat Aug 16 15:19:55 2025 elog_producerCastid58TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 15:12:1216.08.2025 15:19:577HVNone 
automatic log for run 58
Comment:
Testrun with beam, TLU does not trigger but monopixes should be fine
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  147   Sat Aug 16 15:11:38 2025 elog_producerCastid57TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 15:08:1816.08.2025 15:11:393HVNone 
automatic log for run 57
Comment:
Testrun with beam, TLU does not trigger but monopixes should be fine
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  146   Sat Aug 16 15:06:39 2025 elog_producerCastid56TJ-Monopix2800 MeVLow Flux LowProtonUnknown16.08.2025 15:04:1316.08.2025 15:06:412HVNone 
automatic log for run 56
Comment:
Testrun with beam, TLU does not trigger but monopixes should be fine...

longer run, 8b/10 error on W02R01
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  145   Sat Aug 16 15:01:51 2025 elog_producerCastid55TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 14:59:1016.08.2025 15:01:522HVNone 
automatic log for run 55
Comment:
Testrun with beam, TLU does not trigger but monopixes should be fine...
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  144   Sat Aug 16 14:55:11 2025 elog_producerCastid54TJ-Monopix2800 MeVLow Flux MediumProtonUnknown16.08.2025 14:52:4716.08.2025 14:55:132HVNone 
automatic log for run 54
Comment:
Testrun with beam, TLU does not trigger but monopixes should be fine...
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  143   Sat Aug 16 14:50:38 2025 elog_producerCastid53TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 14:43:5716.08.2025 14:50:406HVNone 
automatic log for run 53
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  142   Sat Aug 16 14:41:43 2025 elog_producerCastid52TJ-Monopix2800 MeVLow Flux MediumProtonCrap16.08.2025 14:41:2816.08.2025 14:41:450HVNone 
automatic log for run 52
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  248   Sat Dec 6 16:11:39 2025 Felix Ulrich-Pur800MeV systemtest1TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon800 MeVLow Flux HighProtonUnknown15:4515:505 None 
  75   Sat Jun 21 14:30:29 2025 Julia Müllner800MeV systemtest 1TOF-Cal GSI800 MeVLow Flux HighProtonGood14:4515:4257   

first spills were done with low flux medium, changed to high at 14:49

again changed to medium at 14:55

again changed to high at 15:00

30 MB pro event builder

last few spills were with the wrong threshold

thresholds were set to 2000 instead of 1000 

  67   Sat Mar 15 15:02:39 2025 RD50 Generic UserRate testing7Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux HighHeliumGood15:0415:2521   

RaMon Rate 4.5MHz

Comments:

From File 7 until 21 optional false, and from 22 true (everything deleted)

  60   Sat Mar 15 05:42:14 2025 elog-producertest 8b10b246TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 05:38:4215.03.2025 05:42:413HVNone 
automatic log for run 246
Comment:
BDAQ Board to Monopix connection swapped - and now the W02R01 chip works fine with full rate
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
#daqboard_ip="192.168.10.23"
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
#daqboard_ip="192.168.12.23"
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  59   Sat Mar 15 05:27:08 2025 elog-producertest 8b10b245TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 05:26:5215.03.2025 05:27:340HVNone 
automatic log for run 245
Comment:
test with swapped ethernet ports and bsaq IP adresses
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=450
stop_column=466
start_row=226
stop_row=238
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
#daqboard_ip="192.168.10.23"
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
#daqboard_ip="192.168.12.23"
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  58   Sat Mar 15 05:12:19 2025 elog-producertest 8b10b244TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 05:08:0315.03.2025 05:12:464HVNone 
automatic log for run 244
Comment:
both chips, more stat with small window on W02R01
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=450
stop_column=466
start_row=226
stop_row=238
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  57   Sat Mar 15 05:06:44 2025 elog-producertest 8b10b243TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 05:05:5915.03.2025 05:07:101HVNone 
automatic log for run 243
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=450
stop_column=466
start_row=226
stop_row=238
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  56   Sat Mar 15 05:02:22 2025 elog-producertest 8b10b242TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 05:00:5815.03.2025 05:02:481HVNone 
automatic log for run 242
Comment:
more quadratic now
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=450
stop_column=466
start_row=226
stop_row=242
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  55   Sat Mar 15 04:58:42 2025 elog-producertest 8b10b241TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 04:56:5315.03.2025 04:59:082HVNone 
automatic log for run 241
Comment:
test HVC fe
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=450
stop_column=454
start_row=250
stop_row=300
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  54   Sat Mar 15 04:51:42 2025 elog-producertest 8b10b239TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 04:50:0815.03.2025 04:52:092HVNone 
automatic log for run 239
Comment:
THR -0.2

tiny part of matrix enabled
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=450
stop_column=454
start_row=200
stop_row=300
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  53   Sat Mar 15 04:48:44 2025 elog-producertest 8b10b238TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 04:47:5515.03.2025 04:49:101HVNone 
automatic log for run 238
Comment:
THR -0.2

tiny part of matrix enabled
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=490
stop_column=492
start_row=200
stop_row=300
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  52   Sat Mar 15 04:42:48 2025 elog-producertest rate limits237TJ-Monopix2800 MeVLow Flux HighProtonUnknown15.03.2025 04:40:2815.03.2025 04:43:142HVNone 
automatic log for run 237
Comment:
Increase csinti thr to -0.3
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.3 #-0.025 #-0.012
DACThreshold1 = -0.3 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=490
stop_column=496
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  51   Sat Mar 15 04:39:13 2025 elog-producertest rate limits236TJ-Monopix2800 MeVLow Flux HighProtonUnknown15.03.2025 04:38:0415.03.2025 04:39:391HVNone 
automatic log for run 236
Comment:
Increase csinti thr to -0.2
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=490
stop_column=496
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  50   Sat Mar 15 04:35:45 2025 elog-producertest rate limits235TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 04:29:5715.03.2025 04:36:126HVNone 
automatic log for run 235
Comment:
Increase csinti thr to -0.2
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.2 #-0.025 #-0.012
DACThreshold1 = -0.2 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=490
stop_column=496
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  49   Sat Mar 15 04:28:39 2025 elog-producer test rate limits 234TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 04:28:2315.03.2025 04:29:060HVNone 
automatic log for run 234
Comment:
Increase csinti thr to -0.075
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.075 #-0.025 #-0.012
DACThreshold1 = -0.075 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=490
stop_column=496
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  48   Sat Mar 15 04:26:35 2025 elog-producer test rate limits 233TJ-Monopix2800 MeVLow Flux MediumProtonUnknown15.03.2025 04:24:0615.03.2025 04:27:012HVNone 
automatic log for run 233
Comment:
Increase csinti thr to -0.05
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #4000 #00

## DISCRIMINATOR THRESHOLDS
DACThreshold0 = -0.05 #-0.025 #-0.012
DACThreshold1 = -0.05 #-0.025 #-0.012
#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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=490
stop_column=496
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  47   Sat Mar 15 04:20:39 2025 elog-producerenergy scans232TJ-Monopix283 MeVLow Flux Very LowProtonGood15.03.2025 04:13:5115.03.2025 04:21:057HVNone 
automatic log for run 232
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  46   Sat Mar 15 04:11:28 2025 elog-producerenergy scans231TJ-Monopix283 MeVLow Flux Very LowProtonCrap15.03.2025 04:00:2015.03.2025 04:11:5411HVNone 
automatic log for run 231
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  45   Sat Mar 15 03:59:08 2025 elog-producerenergy scans230TJ-Monopix2100.4 MeVLow Flux Very LowProtonUnknown15.03.2025 03:41:1815.03.2025 03:59:3418HVNone 
automatic log for run 230
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  44   Sat Mar 15 03:39:19 2025 elog-producerenergy scans229TJ-Monopix2145.4 MeVLow Flux Very LowProtonUnknown15.03.2025 03:30:4215.03.2025 03:39:459HVNone 
automatic log for run 229
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  43   Sat Mar 15 03:29:19 2025 elog-producerenergy scans228TJ-Monopix2175.3 MeVLow Flux Very LowProtonUnknown15.03.2025 03:20:0215.03.2025 03:29:459HVNone 
automatic log for run 228
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  42   Sat Mar 15 03:18:15 2025 elog-producerenergy scans227TJ-Monopix2252.7 MeVLow Flux Very LowProtonUnknown15.03.2025 03:16:5215.03.2025 03:18:411HVNone 
automatic log for run 227
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  39   Sat Mar 15 02:53:18 2025 elog-producerenergy scans224TJ-Monopix2252.7 MeVLow Flux Very LowProtonUnknown15.03.2025 02:49:4415.03.2025 02:53:443HVNone 
automatic log for run 224
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  36   Sat Mar 15 02:15:34 2025 elog-producerFast RO Test221TJ-Monopix2800 MeVLow Flux LowProtonUnknown15.03.2025 02:02:1515.03.2025 02:16:0013HVNone 
automatic log for run 221
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  32   Sat Mar 15 01:29:25 2025 elog-producerFast RO Test215TJ-Monopix2800 MeVLow Flux LowProtonUnknown15.03.2025 01:26:1315.03.2025 01:29:513HVNone 
automatic log for run 215
Comment:
Lower rates then Very low settings, so just a quick run here
Fast RO for Monopix:

Delay = 2
rd_frz_delay = 2

LOAD_CONF=10
FREEZE_STOP_CONF=11
STOP_CONF=10
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  31   Sat Mar 15 01:22:54 2025 elog-producerFast RO Test214TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown15.03.2025 01:08:5415.03.2025 01:23:2114HVNone 
automatic log for run 214
Comment:
Fast RO for Monopix: Medium

Delay = 20
rd_frz_delay = 20

LOAD_CONF=20
FREEZE_STOP_CONF=21
STOP_CONF=20
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  30   Sat Mar 15 01:05:30 2025 elog-producerFast RO Test213TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown15.03.2025 00:50:3615.03.2025 01:05:5615HVNone 
automatic log for run 213
Comment:
Fast RO for Monopix:

Delay = 2
rd_frz_delay = 2

LOAD_CONF=10
FREEZE_STOP_CONF=11
STOP_CONF=10
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  29   Sat Mar 15 00:46:34 2025 elog-producerproper run212TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown15.03.2025 00:05:0815.03.2025 00:47:0041HVNone 
automatic log for run 212
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  28   Sat Mar 15 00:00:49 2025 elog-producer1st tests with beam211TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 23:58:3115.03.2025 00:01:152HVNone 
automatic log for run 211
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  66   Sat Mar 15 13:15:25 2025 RD50 Generic UserSlab Measurement 205MeV6Sandwich-iCT setup(GSI)+RaMon205.2 MeV/uLow Flux MediumHeliumGood13:2714:4982   

RaMon Rate 1.3 MHz

Comments:

We entered the room and connected the second LAN Port to the ReadOut-PC. The Eventbuilder-parameter got changed.

  27   Fri Mar 14 23:55:03 2025 elog-producer1st tests with beam210TJ-Monopix2800 MeVLow Flux Very LowProtonCrap14.03.2025 23:37:0214.03.2025 23:55:2918HVNone 
automatic log for run 210
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  26   Fri Mar 14 23:35:49 2025 elog-producer1st tests with beam209TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 23:26:4414.03.2025 23:36:169HVNone 
automatic log for run 209
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  22   Fri Mar 14 23:21:11 2025 elog-producer1st tests with beam208TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 23:19:4714.03.2025 23:21:371HVNone 
automatic log for run 208
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0xF3 #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  20   Fri Mar 14 22:47:46 2025 elog-producer1st tests with beam203TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 22:42:3014.03.2025 22:48:125HVNone 
automatic log for run 203
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  18   Fri Mar 14 22:41:04 2025 elog-producer1st tests with beam202TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 22:38:5114.03.2025 22:41:302HVNone 
automatic log for run 202
Comment:
Attachment 1: tjmonopix2.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

[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-MA2025"
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 yourComment = Testbeams at MedAustron in 2025
Admin user = bergi, maks, bpilsl, FUL
Self register = 3

Attributes = Author, Subject, Run Number, DUT, Beam Energy, Rate Setting, Particle Type, Data, t-Start, t-Stop, Duration_min, Frontend, Phantom, Phantom thickness,
Options DUT = common, DSSD-Tracker, RD50-MPW4, TJ-Monopix2, TOF-Cal GSI, RaMon, TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon
Extendable options = DUT, Beam Energy, Rate Setting, Phantom, Phantom Thickness
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, 115.7MeV, 205.2 MeV/u, 177.8 MeV/u, 147.2 MeV/u, 124.4 MeV/u, 97.2MeV/u, 73.2 MeV/u, 63.3 MeV/u, 402MeV/u
Options Particle Type = Proton, Carbon, Helium
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
Options Phantom = Plastic Water Slabs, Dense Bone Slabs, None, plastic mouse
Options Phantom Thickness = 1cm, 2cm, 3cm, 4cm, 5cm

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

################################################################## Elog logbook
[Producer.HamegProducer]
serial_port="/dev/ttyUSB0"

##################################################################
Attachment 2: 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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xD #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  17   Fri Mar 14 22:20:25 2025 elog-producer1st tests with beam201TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 22:11:2314.03.2025 22:20:519HVNone 
automatic log for run 201
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xB #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
Attachment 2: tjmonopix2_1.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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xB #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.ini" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  15   Fri Mar 14 22:09:23 2025 elog-producer1st tests with beam200TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 22:04:0114.03.2025 22:09:495HVNone 
automatic log for run 200
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xB #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.conf" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
Attachment 2: tjmonopix2_1.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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xB #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
files2log = "tjmonopix2.conf" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  12   Fri Mar 14 21:44:46 2025 elog-producervalidating setup118TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 21:44:2014.03.2025 21:45:120HVNone 
automatic log for run 118
Comment:
tracker test without beam
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xB #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  11   Fri Mar 14 21:43:10 2025 elog-producervalidating setup117TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 21:42:4614.03.2025 21:43:360HVNone 
automatic log for run 117
Comment:
tracker test without beam
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 50000 #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= 0x3F #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= 0xB #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[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   Fri Mar 14 21:41:12 2025 elog-producervalidating setup116TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 21:41:0514.03.2025 21:41:380HVNone 
automatic log for run 116
Comment:
tracker test without beam
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 20000 #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= 0x3F #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= 0xB #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[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   Fri Mar 14 20:40:06 2025 elog-producervalidating setup112TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 20:07:4714.03.2025 20:40:3232HVNone 
automatic log for run 112
Comment:
still testing nonsense
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 0xF

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x3F #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= 0xF #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[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   Fri Mar 14 20:04:41 2025 elog-producervalidating setup111TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 20:03:3414.03.2025 20:05:071HVNone 
automatic log for run 111
Comment:
bla
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 0xF

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x3F #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= 0xF #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[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   Fri Mar 14 19:57:28 2025 elog-producervalidating setup110TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 19:51:5114.03.2025 19:57:546HVNone 
automatic log for run 110
Comment:
bla
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 0xF

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x3F #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= 0xF #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 0


# 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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[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   Fri Mar 14 19:50:29 2025 elog-producervalidating setup109TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown14.03.2025 19:49:1014.03.2025 19:50:551HVNone 
automatic log for run 109
Comment:
system tests
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 = 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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 0xF

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0x3F #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= 0xF #ignores triggers
DUTIgnoreShutterVeto= 0x0
EnableRecordData = 0


# 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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5500"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5700"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[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 15 11:46:28 2025 RD50 Generic UserSlab Measurement 145MeV5Sandwich-iCT setup(GSI)+RaMon145.4 MeVLow Flux MediumProtonGood11:4813:1385   

RaMon Rate 600kHz

front sensors 200mu: ~1kHz pro Streifen

Comments:

change of the trigger settings inbetween, we saw inefficency on all detectors

  334   Sat Dec 13 10:18:41 2025 elog_producerAlignment3Sandwich-iCT setup(GSI)+RaMon200 MeV/ureduced_mixed_beamMixed Beam (He+C)Good13.12.2025 09:41:1913.12.2025 10:19:0637NormalNone 
automatic log for run 3
Comment:
alignment mixed beam - testing beam settings
trigger window: 640ns pre and 85ns post
Attachment 1: ramon.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.8
PMT4_V= 0.8

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 # 0x00000008 Koinzidenz 1+2 ; 0x00000040 Koinzidenz 2+3
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= 0xF #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="LU_MedAustron"
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

[Producer.elog1]


  333   Sat Dec 13 08:06:08 2025 elog_producerAlignment2TOF-Cal_GSI_8LGAD+RaMon200 MeV/uLow Flux High Good13.12.2025 07:56:3113.12.2025 08:06:3410NormalNone 
automatic log for run 2
Comment:
initial alignment run
(run 1 not recorded, same settings)
Attachment 1: ramon.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.8
PMT4_V= 0.8

## TRIGGER CONFIGURATION
trigMaskHi = 0x00000000
trigMaskLo = 0x00000008 # 0x00000008 Koinzidenz 1+2 ; 0x00000040 Koinzidenz 2+3
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= 0xF #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="LU_MedAustron"
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

[Producer.elog1]


  3   Thu Mar 13 16:36:43 2025 tb-crewvalidating setup95TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown13.03.2025 16:34:1913.03.2025 16:37:082HVNone 
automatic log for run 95
Comment:
tests without beam
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 = 1
HDMI2_clk = 0
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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 0xD

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5700"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5500"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  2   Thu Mar 13 16:29:06 2025 tb-crewvalidating setup94TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown13.03.2025 16:27:3313.03.2025 16:29:311HVNone 
automatic log for run 94
Comment:
tests without beam
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 = 6	# 0 
in0_DEL = 0	# 18
in1_STR = 6	# 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= 0xD

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF0 #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/TJ-Monopix2/testbeam_03_2025/tlu/tlu_run$6R.raw"
# 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_W02R01]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W02R01_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.10.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W02R01"
chip_sn="W02R01"
online_monitor_port="5700"

[Producer.tjmonopix2_W14R18]
start_column=448
stop_column=512
start_row=0
stop_row=512
scan_timeout=0
max_triggers=0
chip_config_file="/home/silicon/TJ-Monopix2/Tuning/2BDAQ_boards_test/HV_W14R18_threshold_scan_interpreted.h5"
VCLIP=255
daqboard_ip="192.168.12.23"
output_directory="/home/silicon/TJ-Monopix2/testbeam_03_2025/W14R18"
chip_sn="W14R18"
online_monitor_port="5500"

[Producer.HamegProducer]
hv=20
power_cycle_at_stop=1 #0=False 1=True
logging=1 #0=False 1=True
log_interval=10
logging_directory="/home/silicon/TJ-Monopix2/TJ-Monopix2-Power/Log/testbeam_prep"

[Producer.elog1]
#start_cmd = "./get_mpw4_configs.sh" # command (shell script) to execute before starting a run
#files2log = "peary_config.cfg, matrix_mpw4.txt" #files to attach to the auto Elog entries, EUDAQ config will be logged by default
  64   Sat Mar 15 10:07:28 2025 RD50 Generic UserAlignment Run 252MeV4Sandwich-iCT setup(GSI)+RaMon252.7 MeVLow Flux MediumProtonGood10:0711:4396   

RaMon Rate 1MHz

front sensors 200mu: ~10-25kHz pro Streifen

  63   Sat Mar 15 09:51:23 2025 RD50 Generic UserAlignment Run 800MeV3Sandwich-iCT setup(GSI)+RaMon800 MeVLow Flux HighProtonUnknown9:4410:0319   

RaMon Rate 2MHz

front sensors 200mu: ~50-100kHz pro Streifen

Comments:

Factor 10 lost more data than measured

 

  104   Sun Jun 22 00:46:37 2025 Julia Müllner124.4 MeV mouse30TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood0:460:548   

axis 1: 9

axis 2: -1

  103   Sun Jun 22 00:36:52 2025 Julia Müllner124.4 MeV mouse29TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood0:370:458   

axis 1: 9

axis 2: 2

  102   Sun Jun 22 00:27:14 2025 Julia Müllner124.4 MeV mouse28TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood0:280:368   

axis 1: 9

axis 2: 5

  101   Sun Jun 22 00:17:19 2025 Julia Müllner124.4 MeV mouse27TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood0:180:268   

axis 1: 9

axis 2: 8

  100   Sun Jun 22 00:08:17 2025 Julia Müllner124.4 MeV mouse26TOF-Cal GSI124.4 MeV/uLow Flux HighHelium 0:090:178   

axis 1: 9

axis 2: 11

  99   Sun Jun 22 00:00:11 2025 Julia Müllner124.4 MeV mouse25TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood0:000:088   

axis 1: 9

axis 2: 14

  273   Sat Dec 6 23:50:07 2025 Felix Ulrich-Pur73.2 MeV/u systemtest27TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon73.2 MeV/uLow Flux HighHeliumGood23:500:0818 None 

20 Mb/s Events and max 50 kB/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  62   Sat Mar 15 08:58:26 2025 RD50 Generic UserAlignment Run 800MeV1Sandwich-iCT setup(GSI)+RaMon800 MeVLow Flux LowProtonGood07:4008:2040   

RaMon Rate not measured

front sensors 200mu: ~40-60Hz pro Streifen

Comments:

stopped run due to too low rate

 

  141   Tue Aug 5 17:58:32 2025 elog_producerCastid51TJ-Monopix2800 MeVLow Flux MediumProtonCrap05.08.2025 17:52:1705.08.2025 17:59:006HVNone 
automatic log for run 51
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 = 1
HDMI2_clk = 1
HDMI3_clk = 1
HDMI4_clk = 1
#  Enable/Disable clock on differential LEMO
LEMOclk = 0

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xFF #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  140   Tue Aug 5 17:49:22 2025 elog_producerCastid50TJ-Monopix2800 MeVLow Flux MediumProtonCrap05.08.2025 17:46:4405.08.2025 17:49:503HVNone 
automatic log for run 50
Comment:
Attachment 1: tjmonopix2_tracker.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF3 #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xD #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  139   Tue Aug 5 17:42:37 2025 elog_producerCastid48TJ-Monopix2800 MeVLow Flux MediumProtonCrap05.08.2025 16:59:0805.08.2025 17:43:0443HVNone 
automatic log for run 48
Comment:
Attachment 1: tjmonopix2_tracker.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF3 #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  138   Tue Aug 5 16:45:37 2025 elog_producerCastid47TJ-Monopix2800 MeVLow Flux MediumProtonCrap05.08.2025 16:16:1105.08.2025 16:46:0429HVNone 
automatic log for run 47
Comment:
Test debugging tests for debugging
Attachment 1: tjmonopix2_tracker.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF3 #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  137   Tue Aug 5 16:13:54 2025 elog_producerCastid46TJ-Monopix2800 MeVLow Flux MediumProtonCrap05.08.2025 16:12:0405.08.2025 16:14:212HVNone 
automatic log for run 46
Comment:
Test debugging tests for debugging
Attachment 1: tjmonopix2_tracker.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF3 #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  135   Tue Aug 5 16:03:08 2025 elog_producerCastid45TJ-Monopix2800 MeVLow Flux MediumProtonCrap05.08.2025 16:03:0305.08.2025 16:03:360HVNone 
automatic log for run 45
Comment:
auto test
Attachment 1: tjmonopix2_tracker.conf
# example config file: Ex0.conf
[RunControl]
#pCT_STOP_RUN_AFTER_N_SECONDS = 3000000
# from the base RunControl.cc
#EUDAQ_CTRL_PRODUCER_LAST_START = my_pd0
#EUDAQ_CTRL_PRODUCER_FIRST_STOP = my_pd0
# Steer which values to display in the GUI: producerName and displayed value are seperated by a ",". 
ADDITIONAL_DISPLAY_NUMBERS = "log,_SERVER"


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

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

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

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

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

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

 # DUTMaskMode Define AIDA (11) or EUDET (00) mode (2 bits per DUT)
DUTMaskMode= 0xF3 #0x00  # Full Monopix on all 4 DUTs

 # 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= 0xF #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="tjmonopix2"
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/castid-TB_MAUS_Aug25/data/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.W02R01]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W02R01/20240222_174415_threshold_scan_interpreted.h5
chip_sn = W02R01
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W02R01
online_monitor_port="5500"
daqboard_ip = "192.168.10.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W08R19]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W08R19/20230708_095321_threshold_scan_interpreted.h5
chip_sn = W08R19
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W08R19
online_monitor_port="5510"
daqboard_ip = "192.168.11.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W14R12]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W14R12/20250804_172438_threshold_scan_interpreted.h5
chip_sn = W14R12
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W14R12
online_monitor_port="5520"
daqboard_ip = "192.168.12.23"

start_column=448
stop_column=512
start_row=0
stop_row=512


[Producer.W18R03]
# connection to the data collector
chip_config_file = /home/silicon/castid-TB_MAUS_Aug25/config/tuning/W18R03/20240222_183330_threshold_scan_interpreted.h5
chip_sn = W18R03
output_directory = /home/silicon/castid-TB_MAUS_Aug25/data/W18R03
online_monitor_port="5530"
daqboard_ip = "192.168.13.23"

start_column=448
stop_column=512
start_row=0
stop_row=512




#[DataCollector.dc_monopix2]
#EUDAQ_MN = monopix2_mon
#EUDAQ_DATACOL_SEND_MONITOR_FRACTION = 1000
#EUDAQ_FW = native
#EUDAQ_FW_PATTERN = /home/silicon/TJ-Monopix2/test-data/raw/mpx2_run$3R_$12D$X
##EUDAQ_FW_PATTERN = /home/mx/Schule/Nosync/EUDAQ/test_corry/raw/mpx2_run$3R_$12D$X
#DISABLE_PRINT = 1

  123   Sun Jun 22 03:41:19 2025 Julia Müllner124.4 MeV mouse49TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood03:4103:5110   

axis 1: 5

axis 2: 2

  105   Sun Jun 22 00:55:11 2025 Julia Müllner124.4 MeV mouse31TOF-Cal GSI124.4 MeV/uLow Flux HighHeliumGood0:5501:049   

axis 1: 9

axis 2: -4

  274   Sun Dec 7 00:08:52 2025 Felix Ulrich-Pur63.3 MeV/u systemtest28TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon63.3 MeV/uLow Flux HighHeliumGood0:0900:3728 None 

15 Mb/s Events and 30kb/s rejected

PreTriggerWindow 640ns and PostTriggerWindow 85ns

  1   Wed Mar 12 09:29:08 2025 tb-crewvalidating setup TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
1st test
  4   Fri Mar 14 19:47:58 2025 mausivalidating setup TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
system tests
  9   Fri Mar 14 21:40:34 2025 elog-producervalidating setup TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
tracker test without beam
  13   Fri Mar 14 21:53:59 2025 elog-producervalidating setup TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
starting beam
  14   Fri Mar 14 21:54:32 2025 elog-producer1st tests with beam TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
about to get p+
  16   Fri Mar 14 22:13:14 2025 elog-producer1st tests with beam TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
APV25 latency 42 required for these input stretches
  19   Fri Mar 14 22:41:16 2025 elog-producer1st tests with beam TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
ignored veto of tracker
  21   Fri Mar 14 22:48:01 2025 elog-producer1st tests with beam TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
max trigger 75 -> 100
  23   Fri Mar 14 23:21:26 2025 elog-producer1st tests with beam TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
wrong trigger mode used for tracker
  24   Fri Mar 14 23:22:22 2025 elog-producer1st tests with beam TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
changed telescope timing again to latency 40
  25   Fri Mar 14 23:32:56 2025 elog-producer1st tests with beam TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
208 shows correlation
  33   Sat Mar 15 01:38:17 2025 elog-producerFast RO Test216TJ-Monopix2800 MeVLow Flux MediumProtonUnknown   HVNone 
Fast RO for Monopix:
W02W01 8b10b error quite early

Delay = 2
rd_frz_delay = 2

LOAD_CONF=10
FREEZE_STOP_CONF=11
STOP_CONF=10
  34   Sat Mar 15 01:51:31 2025 elog-producerFast RO Test TJ-Monopix2800 MeVLow Flux MediumProtonUnknown   HVNone 
Run 219, Medium settings, fast RO, W02R01 to 8b10b a few minutes in
  35   Sat Mar 15 01:58:29 2025 elog-producerFast RO Test TJ-Monopix2800 MeVLow Flux MediumProtonUnknown   HVNone 
Run 220, 8b10b error
  37   Sat Mar 15 02:34:31 2025 elog-producerFast RO Test TJ-Monopix2800 MeVLow Flux Very LowProtonUnknown   HVNone 
Run 223, 8b10b error again
  38   Sat Mar 15 02:46:47 2025 elog-producerenergy scans TJ-Monopix2252.7 MeVLow Flux Very LowProtonUnknown   HVNone 
sticking with fast RO settings
  40   Sat Mar 15 02:56:07 2025 elog-producerenergy scans225TJ-Monopix2252.7 MeVLow Flux LowProtonUnknown   HVNone 
8b10b W02R01, 1 MHz rate (low flux low)
  41   Sat Mar 15 03:14:22 2025 elog-producerenergy scans226TJ-Monopix2252.7 MeVLow Flux Very LowProtonUnknown   HVNone 
Run 226
  133   Tue Aug 5 14:43:42 2025 elog_producerCastid TJ-Monopix2800 MeVLow Flux MediumProtonCrap   HVNone 
test
  134   Tue Aug 5 16:02:12 2025 elog_producerCastid TJ-Monopix2800 MeVLow Flux MediumProtonCrap   HVNone 
manual test
  136   Tue Aug 5 16:12:07 2025 elog_producerCastid TJ-Monopix2800 MeVLow Flux MediumProtonCrap   HVNone 
Test debugging tests for debugging to test debugging
  197   Sat Aug 16 23:44:00 2025 Maximilian BabelukCASTID - Summary TJ-Monopix2800 MeV Proton       

Summary for the CASTID shift RO Aug 16, 2025

We measured four TJ-Monopix2 DUTS with HV/HVC frontends using AIDA mode in a stacked telescope configuration. We used 800MeV protons at low flux settings from very low to high.

 

We took two high statistics runs on each of the 4 rates. Then we repeated the measurements at medium and high settings for following readout speeds (40 is the default): 30, 20, 10, 2 (minimum).

At increased readout speed, we shoudl be able to recover (part) of the efficiency drop at increased rates.

- Occasionally (maybe a few times an hour but in clusters) we got 8b/10b errors. If so, they all came from the W02R01 DUT using BDAQ board #063/50 and the TLU adapter 1. This is the main source of having 'crap' data

- About 3 times during the test beam, one of the chips (each time a different one) stopped sending data which was possible to recover with a power cycle.

 

  198   Sat Sep 20 16:49:03 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
tracker debugging
  199   Sat Sep 20 17:20:34 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
tracker storing files, path was wrong
  201   Sat Sep 20 17:28:07 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
debugging mpw4, config problems
  205   Sat Sep 20 17:50:13 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
hunting for Correlations
  206   Sat Sep 20 17:53:53 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux Very LowProtonUnknown   Normal  
Correlations found in 1013
  210   Sat Sep 20 18:10:06 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux LowProtonUnknown   Normal  
changing rate
  226   Sat Sep 20 19:55:38 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux LowProtonUnknown   Normal  
bias voltage scan shows top/ -backside diff expectations
  227   Sat Sep 20 19:55:54 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux LowProtonUnknown   Normal  
bias voltage scan going for low voltages now
  232   Sat Sep 20 20:18:40 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux MediumProtonUnknown   Normal  
going for higher rates
  235   Sat Sep 20 20:33:23 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux HighProtonUnknown   Normal  
high rate now
  237   Sat Sep 20 20:40:49 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux HighProtonUnknown   Normal  
data collector starts to loose frames
  238   Sat Sep 20 20:41:39 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux HighProtonUnknown   Normal  
data collector starts to loose frames
  240   Sat Sep 20 20:59:07 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux HighProtonUnknown   Normal  
lost one right at the end 20:58:44
  241   Sat Sep 20 21:00:14 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux HighProtonUnknown   Normal  
changing Peary readout to DMA
  242   Sat Sep 20 21:00:20 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux HighProtonUnknown   Normal  
changing Peary readout to DMA
  245   Sat Sep 20 21:19:04 2025 elog_producerCaribou 1.5 RD50-MPW4800 MeVLow Flux HighProtonUnknown   Normal  
DMA debugging
not waiting for IOC flag
frame rate UDP vs. DMA similar now
  283   Sun Dec 7 04:39:16 2025 RD50 Generic UserMaus137TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood4:40 3 Mouse 

angle = 0

x/y=-39/-21

PreTriggerWindow 640ns and PostTriggerWindow 85n

37 no ramon

  293   Sun Dec 7 05:22:24 2025 RD50 Generic UserMaus247TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumCrap5:41   Mouse 

angle = 0

x/y=-66/-25

rate:6 10e6

PreTriggerWindow 3.36us and PostTriggerWindow 46n

bis 5:48 kein beam, erste spills mit 400MeV

did not work -> new run with adapted settings

  328   Sun Dec 7 08:15:21 2025 RD50 Generic UserMaus383TOF-Cal GSI (TRB)+DOGMA setup(diamond+LGAD)+RaMon124.4 MeV/uLow Flux HighHeliumGood    Mouse 

angle = 180

x/y=-21/-44.5 (falsche Richtung :( )

rate:6 10e6

PreTriggerWindow 2.915us and PostTriggerWindow 85ns

ELOG V3.1.5-fc6679b