|
14 | 14 | /// \author Hyunji Lim (hyunji.lim@cern.ch) |
15 | 15 | /// \since 12/01/2026 |
16 | 16 |
|
17 | | -#include <Framework/Configurable.h> |
18 | | -#include "Math/Vector4D.h" |
19 | | - |
20 | | -#include "DataFormatsParameters/GRPObject.h" |
21 | | - |
22 | 17 | #include "PWGLF/DataModel/LFResonanceTables.h" |
23 | 18 | #include "PWGLF/DataModel/mcCentrality.h" |
24 | 19 | #include "PWGLF/Utils/inelGt.h" |
|
29 | 24 | #include "Common/DataModel/PIDResponse.h" |
30 | 25 |
|
31 | 26 | #include "CommonConstants/PhysicsConstants.h" |
| 27 | +#include "DataFormatsParameters/GRPObject.h" |
32 | 28 | #include "Framework/ASoAHelpers.h" |
33 | 29 | #include "Framework/AnalysisTask.h" |
34 | 30 | #include "Framework/O2DatabasePDGPlugin.h" |
35 | 31 | #include "Framework/runDataProcessing.h" |
| 32 | +#include <Framework/Configurable.h> |
| 33 | + |
| 34 | +#include "Math/Vector4D.h" |
36 | 35 |
|
37 | 36 | using namespace o2; |
38 | 37 | using namespace o2::framework; |
@@ -70,14 +69,14 @@ struct rho770analysis { |
70 | 69 | Configurable<bool> cfgPVContributor{"cfgPVContributor", true, "PV contributor track selection"}; // PV Contriuibutor |
71 | 70 | Configurable<bool> cfgGlobalTrack{"cfgGlobalTrack", false, "Global track selection"}; // kGoldenChi2 | kDCAxy | kDCAz |
72 | 71 | Configurable<int> cfgTPCcluster{"cfgTPCcluster", 1, "Number of TPC cluster"}; |
73 | | - Configurable<bool> cfgUseTPCRefit{"cfgUseTPCRefit", false, "Require TPC Refit"}; //refit is included in global track selection |
| 72 | + Configurable<bool> cfgUseTPCRefit{"cfgUseTPCRefit", false, "Require TPC Refit"}; // refit is included in global track selection |
74 | 73 | Configurable<bool> cfgUseITSRefit{"cfgUseITSRefit", false, "Require ITS Refit"}; |
75 | 74 | Configurable<bool> cfgHasTOF{"cfgHasTOF", false, "Require TOF"}; |
76 | 75 | Configurable<int> cfgTPCRows{"cfgTPCRows", 80, "Minimum Number of TPC Crossed Rows "}; |
77 | 76 |
|
78 | 77 | // PID |
79 | | - Configurable<double> cMaxTOFnSigmaPion{"cMaxTOFnSigmaPion", 3.0, "TOF nSigma cut for Pion"}; // TOF |
80 | | - Configurable<double> cMaxTPCnSigmaPion{"cMaxTPCnSigmaPion", 5.0, "TPC nSigma cut for Pion"}; // TPC |
| 78 | + Configurable<double> cMaxTOFnSigmaPion{"cMaxTOFnSigmaPion", 3.0, "TOF nSigma cut for Pion"}; // TOF |
| 79 | + Configurable<double> cMaxTPCnSigmaPion{"cMaxTPCnSigmaPion", 5.0, "TPC nSigma cut for Pion"}; // TPC |
81 | 80 | Configurable<double> cMaxTPCnSigmaPionnoTOF{"cMaxTPCnSigmaPionnoTOF", 3.0, "TPC nSigma cut for Pion in no TOF case"}; // TPC |
82 | 81 | Configurable<double> nsigmaCutCombinedPion{"nsigmaCutCombinedPion", 3.0, "Combined nSigma cut for Pion"}; |
83 | 82 | Configurable<int> selectType{"selectType", 1, "PID selection type"}; |
@@ -179,7 +178,7 @@ struct rho770analysis { |
179 | 178 | if (track.tpcNSigmaPi() * track.tpcNSigmaPi() + track.tofNSigmaPi() * track.tofNSigmaPi() >= nsigmaCutCombinedPion * nsigmaCutCombinedPion) |
180 | 179 | return false; |
181 | 180 | } |
182 | | - if (selectType == 3) { //TPC TOF veto |
| 181 | + if (selectType == 3) { // TPC TOF veto |
183 | 182 | if (track.hasTOF()) { |
184 | 183 | if (std::fabs(track.tpcNSigmaPi()) >= cMaxTPCnSigmaPion || std::fabs(track.tofNSigmaPi()) >= cMaxTOFnSigmaPion) |
185 | 184 | return false; |
@@ -380,7 +379,7 @@ struct rho770analysis { |
380 | 379 | auto mass = truthpar.M(); |
381 | 380 |
|
382 | 381 | histos.fill(HIST("MCL/hpT_rho770_GEN"), 0, mass, part.pt(), multiplicity); |
383 | | - |
| 382 | + |
384 | 383 | if (collision.isVtxIn10()) { |
385 | 384 | histos.fill(HIST("MCL/hpT_rho770_GEN"), 1, mass, part.pt(), multiplicity); |
386 | 385 | } |
|
0 commit comments