rates => 1,
address => 1}));
-push(@setup,({name => "HitCount",
+push(@setup,({name => "AllHitCount",
cmd => "InputMonitorTrb3sc-0xfe91-MonitorCounters",
period => 1000,
rates => 1,
address => 1}));
+push(@setup,({name => "SavedHitCount",
+ cmd => "MDCUpgrade-0xfe91-SavedHitCounter",
+ period => 1000,
+ rates => 1,
+ address => 1}));
+
+push(@setup,({name => "TdcErrorCount",
+ cmd => "MDCUpgrade-0xfe91-TdcErrorCounter",
+ period => 1000,
+ rates => 1,
+ address => 1}));
+
+#push(@setup,({name => "ToTExceededCount",
+# cmd => "MDCUpgrade-0xfe91-ToTExceededCounter",
+# period => 1000,
+# rates => 1,
+# address => 1}));
+
push(@setup,({name => "OEPControl",
cmd => "MDCUpgrade-0xfe90-OepConfig",
period => 1000,
<group name="ToTExceededCounter" address="c140" size="32" purpose="status" mode="r" continuous="true">
<register name="ToTExceededCount" address="0000" repeat="32">
<description>Counter for hits rejected due to too long ToT</description>
- <field name="ToTExceededCounter" start="8" bits="24" format="unsigned" rate="true" noflag="true" mode="r" />
+ <field name="ToTExceededCounter" start="8" bits="16" format="unsigned" rate="true" noflag="true" mode="r" />
</register>
</group>
<group name="TdcErrorCounter" address="c160" size="32" purpose="status" mode="r" continuous="true">
<register name="TdcErrorCount" address="0000" repeat="32">
- <description>Counter for hits with decoding error in TDC</description>
- <field name="TdcErrorCount" start="0" bits="24" format="unsigned" rate="true" noflag="true" mode="r" />
+ <description>Counter for hits with decoding error in TDC. Usually due to too short signals.</description>
+ <field name="TdcErrorCount" start="0" bits="16" format="unsigned" rate="true" noflag="true" mode="r" />
</register>
</group>