We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deb02c5 commit c194987Copy full SHA for c194987
1 file changed
PWGCF/Flow/TableProducer/zdcQVectors.cxx
@@ -51,6 +51,7 @@
51
#include <string>
52
#include <string_view>
53
#include <vector>
54
+#include <memory>
55
56
#include <stdlib.h>
57
@@ -431,8 +432,8 @@ struct ZdcQVectors {
431
432
433
double rescaleTimestamp(uint64_t timestamp, int runnumber)
434
{
- auto& ccdb = o2::ccdb::BasicCCDBManager::instance();
435
- auto duration = ccdb.getRunDuration(runnumber);
+ auto& cc = o2::ccdb::BasicCCDBManager::instance();
436
+ auto duration = cc.getRunDuration(runnumber);
437
double ts = (static_cast<double>(timestamp - duration.first) / static_cast<double>(duration.second - duration.first)) * 100.0;
438
439
return ts;
0 commit comments