Skip to content

Commit 4e32a10

Browse files
author
Sabrina Hernandez
committed
added ccdb objects
1 parent e92dc99 commit 4e32a10

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

PWGCF/Flow/Tasks/flowZdcTask.cxx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/// \since 10/01/2024
1515
/// \brief task to evaluate flow and neutron skin with information from ZDC
1616

17-
// o2-analysis-cf-flow-zdc-task --aod-file AO2D.root --configuration json://configuration_run3.json | o2-analysis-track-propagation --aod-file AO2D.root --configuration json://configuration_run3.json | o2-analysis-timestamp --aod-file AO2D.root --configuration json://configuration_run3.json | o2-analysis-event-selection --aod-file AO2D.root --configuration json://configuration_run3.json | o2-analysis-trackselection --aod-file AO2D.root --configuration json://configuration_run3.json | o2-analysis-centrality-table --aod-file AO2D.root --configuration json://configuration_run3.json | o2-analysis-multiplicity-table --aod-file AO2D.root --configuration json://configuration_run3.json | o2-analysis-tracks-extra-v002-converter --aod-file AO2D.root --configuration json://configuration_run3.json -b
18-
1917
#include <CCDB/BasicCCDBManager.h>
2018
#include <cmath>
2119
#include <vector>
@@ -155,8 +153,7 @@ struct FlowZdcTask {
155153
Configurable<std::string> paTH{"paTH", "Users/s/sahernan/test", "base path to the ccdb object"};
156154
Configurable<std::string> paTHmeanNch{"paTHmeanNch", "Users/s/shernan/test", "base path to the ccdb object"};
157155
Configurable<std::string> paTHsigmaNch{"paTHsigmaNch", "Users/s/shernan/testSigma", "base path to the ccdb object"};
158-
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"};
159-
156+
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"};
160157

161158
enum EvCutLabel {
162159
All = 1,
@@ -369,7 +366,7 @@ struct FlowZdcTask {
369366
ccdb->setFatalWhenNull(false);
370367
// Not later than now, will be replaced by the value of the train creation
371368
// This avoids that users can replace objects **while** a train is running
372-
ccdb->setCreatedNotAfter(ccdbNoLaterThan.value);
369+
ccdb->setCreatedNotAfter(ccdbNoLaterThan.value);
373370
}
374371
template <typename EventCuts>
375372
bool isEventSelected(EventCuts const& col)
@@ -512,7 +509,7 @@ struct FlowZdcTask {
512509
}
513510
histos.fill(HIST("hEventCounter"), EvCutLabel::Zem);
514511
}
515-
512+
516513
const double normT0M{(aT0A + aT0C) / 100.};
517514
float znA = zdc.amplitudeZNA() / cfgCollisionEnergy;
518515
float znC = zdc.amplitudeZNC() / cfgCollisionEnergy;

0 commit comments

Comments
 (0)