|
14 | 14 | /// \since 10/01/2024 |
15 | 15 | /// \brief task to evaluate flow and neutron skin with information from ZDC |
16 | 16 |
|
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 | | - |
19 | 17 | #include <CCDB/BasicCCDBManager.h> |
20 | 18 | #include <cmath> |
21 | 19 | #include <vector> |
@@ -155,8 +153,7 @@ struct FlowZdcTask { |
155 | 153 | Configurable<std::string> paTH{"paTH", "Users/s/sahernan/test", "base path to the ccdb object"}; |
156 | 154 | Configurable<std::string> paTHmeanNch{"paTHmeanNch", "Users/s/shernan/test", "base path to the ccdb object"}; |
157 | 155 | 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"}; |
160 | 157 |
|
161 | 158 | enum EvCutLabel { |
162 | 159 | All = 1, |
@@ -369,7 +366,7 @@ struct FlowZdcTask { |
369 | 366 | ccdb->setFatalWhenNull(false); |
370 | 367 | // Not later than now, will be replaced by the value of the train creation |
371 | 368 | // This avoids that users can replace objects **while** a train is running |
372 | | - ccdb->setCreatedNotAfter(ccdbNoLaterThan.value); |
| 369 | + ccdb->setCreatedNotAfter(ccdbNoLaterThan.value); |
373 | 370 | } |
374 | 371 | template <typename EventCuts> |
375 | 372 | bool isEventSelected(EventCuts const& col) |
@@ -512,7 +509,7 @@ struct FlowZdcTask { |
512 | 509 | } |
513 | 510 | histos.fill(HIST("hEventCounter"), EvCutLabel::Zem); |
514 | 511 | } |
515 | | - |
| 512 | + |
516 | 513 | const double normT0M{(aT0A + aT0C) / 100.}; |
517 | 514 | float znA = zdc.amplitudeZNA() / cfgCollisionEnergy; |
518 | 515 | float znC = zdc.amplitudeZNC() / cfgCollisionEnergy; |
|
0 commit comments