Skip to content

Commit 5bd224b

Browse files
authored
[PWGCF] flowtask: ccdb set to now. diHadron: add event weight (#11569)
1 parent 7d7062b commit 5bd224b

File tree

2 files changed

+88
-71
lines changed

2 files changed

+88
-71
lines changed

PWGCF/Flow/Tasks/flowTask.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ struct FlowTask {
132132

133133
// Connect to ccdb
134134
Service<ccdb::BasicCCDBManager> ccdb;
135-
Configurable<int64_t> ccdbNoLaterThan{"ccdbNoLaterThan", std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count(), "latest acceptable timestamp of creation for the object"};
136135
Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
137136

138137
// Define output
@@ -196,7 +195,8 @@ struct FlowTask {
196195

197196
ccdb->setURL(ccdbUrl.value);
198197
ccdb->setCaching(true);
199-
ccdb->setCreatedNotAfter(ccdbNoLaterThan.value);
198+
auto now = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
199+
ccdb->setCreatedNotAfter(now);
200200

201201
// Add some output objects to the histogram registry
202202
// Event QA

0 commit comments

Comments
 (0)