|
14 | 14 | /// \since Jun/08/2023 |
15 | 15 | /// \brief a task to calculate the pt efficiency |
16 | 16 |
|
17 | | -#include <CCDB/BasicCCDBManager.h> |
18 | | -#include <vector> |
19 | | -#include <string> |
20 | | -#include "Framework/runDataProcessing.h" |
21 | | -#include "Framework/AnalysisTask.h" |
22 | | -#include "Framework/ASoAHelpers.h" |
23 | | -#include "Framework/RunningWorkflowInfo.h" |
24 | | -#include "Framework/HistogramRegistry.h" |
| 17 | +#include "FlowContainer.h" |
| 18 | +#include "GFW.h" |
| 19 | +#include "GFWCumulant.h" |
| 20 | +#include "GFWPowerArray.h" |
| 21 | +#include "GFWWeights.h" |
25 | 22 |
|
26 | 23 | #include "Common/Core/RecoDecay.h" |
27 | | -#include "Common/DataModel/EventSelection.h" |
28 | 24 | #include "Common/Core/TrackSelection.h" |
29 | 25 | #include "Common/Core/TrackSelectionDefaults.h" |
| 26 | +#include "Common/DataModel/EventSelection.h" |
30 | 27 | #include "Common/DataModel/TrackSelectionTables.h" |
31 | 28 |
|
32 | | -#include "GFWPowerArray.h" |
33 | | -#include "GFW.h" |
34 | | -#include "GFWCumulant.h" |
35 | | -#include "GFWWeights.h" |
36 | | -#include "FlowContainer.h" |
| 29 | +#include "Framework/ASoAHelpers.h" |
| 30 | +#include "Framework/AnalysisTask.h" |
| 31 | +#include "Framework/HistogramRegistry.h" |
| 32 | +#include "Framework/RunningWorkflowInfo.h" |
| 33 | +#include "Framework/runDataProcessing.h" |
| 34 | +#include <CCDB/BasicCCDBManager.h> |
| 35 | + |
| 36 | +#include <TF1.h> |
| 37 | +#include <TPDGCode.h> |
37 | 38 | #include <TProfile.h> |
38 | 39 | #include <TRandom3.h> |
39 | | -#include <TPDGCode.h> |
40 | | -#include <TF1.h> |
| 40 | + |
| 41 | +#include <string> |
| 42 | +#include <vector> |
41 | 43 |
|
42 | 44 | using namespace o2; |
43 | 45 | using namespace o2::framework; |
@@ -234,16 +236,14 @@ struct FlowPtEfficiency { |
234 | 236 | if (cfgCutDCAxyppPass3Enabled) { |
235 | 237 | myTrackSel.SetMaxDcaXYPtDep([](float pt) { return 0.004f + 0.013f / pt; }); |
236 | 238 | } else { |
237 | | - if(cfgCutDCAxy != 0.0){ |
| 239 | + if (cfgCutDCAxy != 0.0) { |
238 | 240 | myTrackSel.SetMaxDcaXY(cfgCutDCAxy); |
239 | | - } |
240 | | - else { |
| 241 | + } else { |
241 | 242 | fPtDepDCAxy = new TF1("ptDepDCAxy", Form("[0]*%s", cfgDCAxyFunction->c_str()), 0.001, 100); |
242 | 243 | fPtDepDCAxy->SetParameter(0, cfgDCAxyNSigma); |
243 | 244 | LOGF(info, "DCAxy pt-dependence function: %s", Form("[0]*%s", cfgDCAxyFunction->c_str())); |
244 | 245 | myTrackSel.SetMaxDcaXYPtDep([fPtDepDCAxy = this->fPtDepDCAxy](float pt) { return fPtDepDCAxy->Eval(pt); }); |
245 | 246 | } |
246 | | - |
247 | 247 | } |
248 | 248 | myTrackSel.SetMinNClustersTPC(cfgCutTPCclu); |
249 | 249 | myTrackSel.SetMinNCrossedRowsTPC(cfgCutTPCcrossedrows); |
|
0 commit comments