ATLAS Offline Software
Loading...
Searching...
No Matches
ReadFromFileMetaData.cxx File Reference
Include dependency graph for ReadFromFileMetaData.cxx:

Go to the source code of this file.

Namespaces

namespace  IOVDbNamespace

Functions

IOVTime makeEpochOrRunLumi (const cool::ValidityKey key, const bool timeIsEpoch)
 Create an IOVTime in ns of epoch or run-lumi (determined by the bool) from a ValidityKey.

Function Documentation

◆ makeEpochOrRunLumi()

IOVTime IOVDbNamespace::makeEpochOrRunLumi ( const cool::ValidityKey key,
const bool timeIsEpoch )

Create an IOVTime in ns of epoch or run-lumi (determined by the bool) from a ValidityKey.

Definition at line 87 of file IOVDbCoolFunctions.cxx.

87 {
89 if(timeIsEpoch){
90 time.setTimestamp(key);
91 } else {
92 time.setRETime(key);
93 }
94 return time;
95 }
Basic time unit for IOVSvc.
Definition IOVTime.h:33
time(flags, cells_name, *args, **kw)