Skip to content

Commit 40afcab

Browse files
ercolessiakavumpa
authored andcommitted
[TOF] Change time extraction (AliceO2Group#2615)
1 parent 3dba4e6 commit 40afcab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/TOF/src/TrendingCalibDiagnostics.cxx

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

9393
void TrendingCalibDiagnostics::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
mCrateEff = 0.;
9898
mTRMEff = 0.;
@@ -245,4 +245,4 @@ void TrendingCalibDiagnostics::generatePlots()
245245
ILOG(Error, Devel) << "Could not get the htemp histogram of the plot '" << plot.name << "'." << ENDM;
246246
}
247247
}
248-
}
248+
}

0 commit comments

Comments
 (0)