Skip to content

Commit 4f6d1f6

Browse files
committed
TFperiod default changed to 32
1 parent 9a1b095 commit 4f6d1f6

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

doc/configurationParameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ The parameters related to 3rd-party libraries are described here for convenience
161161
| equipment-* | saveErrorPagesMax | int | 0 | If set, pages found with data error are saved to disk up to given maximum. |
162162
| equipment-* | saveErrorPagesPath | string | | Path where to save data pages with errors (when feature enabled). |
163163
| equipment-* | stopOnError | int | 0 | If 1, readout will stop automatically on equipment error. |
164-
| equipment-* | TFperiod | int | 128 | Duration of a timeframe, in number of LHC orbits. |
164+
| equipment-* | TFperiod | int | 32 | Duration of a timeframe, in number of LHC orbits. |
165165
| equipment-* | verbose | int | 0 | If set, extra debug messages may be logged. |
166166
| equipment-cruemulator-* | cruBlockSize | int | 8192 | Size of a RDH block. |
167167
| equipment-cruemulator-* | cruId | int | 0 | CRU Id, used for CRU Id field in RDH. |

doc/releaseNotes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,3 +655,7 @@ This file describes the main feature changes for each readout.exe released versi
655655

656656
## v2.27.1 - 12/02/2025
657657
- Path of configuration file from which defaults are loaded on startup has been changed to /etc/o2.d/readout/readout-defaults.cfg (it was in /etc/o2.d before, now changing to standard subdirectory location).
658+
659+
## next version
660+
- Updated configuration parameters:
661+
- equipment.TFperiod is now set to 32 by default, instead of 128 previously. This is the duration of a timeframe, in number of LHC orbits. The new value corresponds to what is used in production.

src/ReadoutEquipment.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ ReadoutEquipment::ReadoutEquipment(ConfigFile& cfg, std::string cfgEntryPoint, b
161161
cfg.getOptionalValue<int>(cfgEntryPoint + ".verbose", cfgVerbose);
162162

163163
if (!cfgDisableTimeframes) {
164-
// configuration parameter: | equipment-* | TFperiod | int | 128 | Duration of a timeframe, in number of LHC orbits. |
165-
int cfgTFperiod = 128;
164+
// configuration parameter: | equipment-* | TFperiod | int | 32 | Duration of a timeframe, in number of LHC orbits. |
165+
int cfgTFperiod = 32;
166166
cfg.getOptionalValue<int>(cfgEntryPoint + ".TFperiod", cfgTFperiod);
167167
timeframePeriodOrbits = cfgTFperiod;
168168

src/ReadoutEquipment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class ReadoutEquipment
165165

166166
//const unsigned int LHCBunches = 3564; // number of bunches in LHC
167167
const unsigned int LHCOrbitRate = 11246; // LHC orbit rate, in Hz. 299792458 / 26659
168-
uint32_t timeframePeriodOrbits = 128; // timeframe interval duration in number of LHC orbits
168+
uint32_t timeframePeriodOrbits = 32; // timeframe interval duration in number of LHC orbits
169169
double timeframeRate = 0; // timeframe rate, when generated internally
170170

171171
// RDH-related configuration parameters

src/readRaw.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ int main(int argc, const char* argv[])
7676
" dumpDataInline=(int) : if set, each packet raw content is printed (hex dump style).\n"
7777
" dumpStats=(int) : if set, some statistics are printed on HBF/TF size.\n"
7878
" fileReadVerbose=(int) : if set, more information is printed when reading/decoding file.\n"
79-
" timeframePeriodOrbits=(int) : if set, TF id computed (and printed, when dump enabled) for each RDH. Typically, 128 or 256.\n"
79+
" timeframePeriodOrbits=(int) : if set, TF id computed (and printed, when dump enabled) for each RDH. Typically, 32 or 128.\n"
8080
" logOff=(int) : if set, logs disabled.\n"
8181
" dumpOrbitStats=(int) : if set, first / min / max orbits are printed after file read.\n"
8282
" \n",

src/readoutConfigEditor.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ set configurationParametersDescriptor {
107107
| equipment-* | saveErrorPagesMax | int | 0 | If set, pages found with data error are saved to disk up to given maximum. |
108108
| equipment-* | saveErrorPagesPath | string | | Path where to save data pages with errors (when feature enabled). |
109109
| equipment-* | stopOnError | int | 0 | If 1, readout will stop automatically on equipment error. |
110-
| equipment-* | TFperiod | int | 128 | Duration of a timeframe, in number of LHC orbits. |
110+
| equipment-* | TFperiod | int | 32 | Duration of a timeframe, in number of LHC orbits. |
111111
| equipment-* | verbose | int | 0 | If set, extra debug messages may be logged. |
112112
| equipment-cruemulator-* | cruBlockSize | int | 8192 | Size of a RDH block. |
113113
| equipment-cruemulator-* | cruId | int | 0 | CRU Id, used for CRU Id field in RDH. |

0 commit comments

Comments
 (0)