Skip to content

Incorrect IOV range of dd4hep condition pool

edit: Description updated following discussion below.

Running over a recently produced data file from the pit I am getting the attached log, for 100 events, running a simple RICH decoding test.

decode-test-dd4hep.log

See the multiple INFO messages every event

Statistics             INFO +  Created/Accessed a total of 21482 conditions (S: 21482,L:     0,C:     0,M:0)  Load:0.00743 sec Compute:0.00067 sec
Statistics             INFO +  Created/Accessed a total of 21482 conditions (S: 21482,L:     0,C:     0,M:0)  Load:0.00775 sec Compute:0.00065 sec
Statistics             INFO +  Created/Accessed a total of 21482 conditions (S: 21482,L:     0,C:     0,M:0)  Load:0.00827 sec Compute:0.00065 sec

The issue seems to be some of the IOV ranges for the conditions pools created with dd4hep are incorrect

ConditionsMgr          INFO Created IOV Pool for:run(0):[248711-248711]
ConditionsLoader       INFO ++ Loaded    1 conditions from Conditions/LHCb/Online/Magnet.yml [  0.008 sec]

The range [248711-248711] is incorrect, and should be [248711-248712).

This error is leading to the conditions pool being re-created every event, which means the INFO message every event and a large cpu overhead.

Edited by Christopher Rob Jones