Skip to content

Commit f0690a6

Browse files
ercolessiBarthelemy
authored andcommitted
[TOF] Update mTime assignment in trendValues method (#2644)
1 parent d193eb6 commit f0690a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/TOF/src/TrendingCalibLHCphase.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void TrendingCalibLHCphase::finalize(Trigger t, framework::ServiceRegistryRef)
9292

9393
void TrendingCalibLHCphase::trendValues(const Trigger& t, repository::DatabaseInterface& ccdb)
9494
{
95-
mTime = t.timestamp / 1000;
95+
mTime = t.activity.mValidity.getMax() / 1000;
9696
mMetaData.runNumber = t.activity.mId;
9797

9898
mPhase = 0.;
@@ -215,4 +215,4 @@ void TrendingCalibLHCphase::generatePlots()
215215
ILOG(Error, Devel) << "Could not get the htemp histogram of the plot '" << plot.name << "'." << ENDM;
216216
}
217217
}
218-
}
218+
}

0 commit comments

Comments
 (0)