Skip to content

Commit 3d9fe42

Browse files
committed
TPC ClusterVisualizer should use the provided trigger timestamp (#1966)
to retrieve ClusterData. Otherwise it matches a wrong object by using the current time.
1 parent c21231e commit 3d9fe42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/TPC/src/ClusterVisualizer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void ClusterVisualizer::update(Trigger t, framework::ServiceRegistryRef)
158158

159159
auto clusterData = mCdbApi.retrieveFromTFileAny<ClustersData>(mPath,
160160
mLookupMaps.size() > 1 ? mLookupMaps.at(calDetIter) : mLookupMaps.at(0),
161-
mTimestamps.size() > 0 ? mTimestamps.at(calDetIter) : -1);
161+
mTimestamps.size() > 0 ? mTimestamps.at(calDetIter) : t.timestamp);
162162

163163
auto& clusters = clusterData->getClusters();
164164

0 commit comments

Comments
 (0)