|
14 | 14 | /// \brief task to calculate the pikp cme signal and bacground. |
15 | 15 | // C++/ROOT includes. |
16 | 16 | #include <CCDB/BasicCCDBManager.h> |
17 | | -#include <chrono> |
18 | | -#include <string> |
19 | | -#include <vector> |
20 | | -#include <utility> |
21 | | -#include <memory> |
22 | | -#include <TF1.h> |
| 17 | + |
23 | 18 | #include <TComplex.h> |
| 19 | +#include <TF1.h> |
24 | 20 | #include <TH1F.h> |
25 | 21 | #include <TH2D.h> |
26 | 22 | #include <TMath.h> |
27 | 23 | #include <TVector2.h> |
28 | 24 |
|
29 | | -// o2Physics includes. |
30 | | -#include "Framework/ASoA.h" |
31 | | -#include "Framework/AnalysisDataModel.h" |
32 | | -#include "Framework/AnalysisTask.h" |
33 | | -#include "Framework/ASoAHelpers.h" |
34 | | -#include "Framework/HistogramRegistry.h" |
35 | | -#include "Framework/runDataProcessing.h" |
36 | | -#include "Framework/RunningWorkflowInfo.h" |
37 | | -#include "Framework/StaticFor.h" |
| 25 | +#include <chrono> |
| 26 | +#include <memory> |
| 27 | +#include <string> |
| 28 | +#include <utility> |
| 29 | +#include <vector> |
38 | 30 |
|
39 | | -#include "Common/DataModel/Qvectors.h" |
40 | | -#include "Common/DataModel/EventSelection.h" |
41 | | -#include "Common/DataModel/TrackSelectionTables.h" |
42 | | -#include "Common/DataModel/Centrality.h" |
43 | | -#include "Common/DataModel/Multiplicity.h" |
| 31 | +// o2Physics includes. |
44 | 32 | #include "Common/Core/EventPlaneHelper.h" |
45 | 33 | #include "Common/Core/TrackSelection.h" |
| 34 | +#include "Common/DataModel/Centrality.h" |
| 35 | +#include "Common/DataModel/EventSelection.h" |
| 36 | +#include "Common/DataModel/Multiplicity.h" |
46 | 37 | #include "Common/DataModel/PIDResponse.h" |
47 | 38 | #include "Common/DataModel/PIDResponseITS.h" |
| 39 | +#include "Common/DataModel/Qvectors.h" |
| 40 | +#include "Common/DataModel/TrackSelectionTables.h" |
48 | 41 |
|
49 | 42 | #include "CommonConstants/PhysicsConstants.h" |
| 43 | +#include "Framework/ASoA.h" |
| 44 | +#include "Framework/ASoAHelpers.h" |
| 45 | +#include "Framework/AnalysisDataModel.h" |
| 46 | +#include "Framework/AnalysisTask.h" |
| 47 | +#include "Framework/HistogramRegistry.h" |
| 48 | +#include "Framework/RunningWorkflowInfo.h" |
| 49 | +#include "Framework/StaticFor.h" |
| 50 | +#include "Framework/runDataProcessing.h" |
50 | 51 |
|
51 | 52 | // o2 includes. |
52 | 53 |
|
@@ -312,13 +313,13 @@ struct FillPIDcolums { |
312 | 313 | pidVectorUpper = pidVectorTPCPtUpper; |
313 | 314 | pidVectorLower = pidVectorTPCPtLower; |
314 | 315 | } else { |
315 | | - if(candidate.pt() > cfgPtMaxforTPCOnlyPID && candidate.hasTOF()){ |
| 316 | + if (candidate.pt() > cfgPtMaxforTPCOnlyPID && candidate.hasTOF()) { |
316 | 317 | nSigmaToUse = nSigmaCombined; |
317 | 318 | pidVectorUpper = cfgnSigmaCutRMSUpper.value; |
318 | 319 | pidVectorLower = cfgnSigmaCutRMSLower.value; |
319 | | - }else if(candidate.pt() > cfgPtMaxforTPCOnlyPID && !candidate.hasTOF() && cfgUseStrictPID){ |
| 320 | + } else if (candidate.pt() > cfgPtMaxforTPCOnlyPID && !candidate.hasTOF() && cfgUseStrictPID) { |
320 | 321 | return 0; |
321 | | - }else{ |
| 322 | + } else { |
322 | 323 | nSigmaToUse = nSigmaTPC; |
323 | 324 | pidVectorUpper = cfgnSigmaCutTPCUpper.value; |
324 | 325 | pidVectorLower = cfgnSigmaCutTPCLower.value; |
@@ -457,12 +458,12 @@ struct FillPIDcolums { |
457 | 458 | } |
458 | 459 | } |
459 | 460 | } |
460 | | - if(cfgUseStrictPID){ |
| 461 | + if (cfgUseStrictPID) { |
461 | 462 | // Only use the track which was recognized as an unique PID particle |
462 | 463 | int index = (kIsPr << 2) | (kIsKa << 1) | kIsPi; |
463 | 464 | const int map[] = {0, 1, 2, 0, 3, 0, 0, 0}; |
464 | 465 | return map[index]; |
465 | | - }else{ |
| 466 | + } else { |
466 | 467 | if (cfgOpenAllowCrossTrack) { |
467 | 468 | // one track can be recognized as different PID particles |
468 | 469 | int index = (kIsPr << 2) | (kIsKa << 1) | kIsPi; |
|
0 commit comments