|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 | /// |
12 | | -/// \file NucleiTPCPbPb.cxx |
| 12 | +/// \file nucleitpcpbpb.cxx |
13 | 13 | /// |
14 | 14 | /// \brief This task use global tracks and used for primary selection analysis using TPC detector. |
15 | 15 | /// It currently contemplates 6 particle types: |
@@ -174,7 +174,7 @@ struct NucleitpcPbPb { |
174 | 174 | const AxisSpec axisdEdx{2000, 0, 2000, "d#it{E}/d#it{x}"}; |
175 | 175 | const AxisSpec axisCent{100, 0, 100, "centrality"}; |
176 | 176 | const AxisSpec axisVtxZ{100, -20, 20, "z"}; |
177 | | - const AxisSpec ptAxis{1000, 0, 20, "#it{p}_{T} (GeV/#it{c})"}; |
| 177 | + const AxisSpec ptAxis{200, 0, 20, "#it{p}_{T} (GeV/#it{c})"}; |
178 | 178 | const AxisSpec axiseta{100, -1, 1, "eta"}; |
179 | 179 | const AxisSpec axisrapidity{100, -2, 2, "rapidity"}; |
180 | 180 | const AxisSpec axismass{100, 0, 20, "mass^{2}"}; |
@@ -240,7 +240,8 @@ struct NucleitpcPbPb { |
240 | 240 | continue; |
241 | 241 | if (track.tpcNClsFound() < cfgTrackPIDsettings->get(i, "minTPCnCls") && cfgTPCNClsfoundRequire) |
242 | 242 | continue; |
243 | | - if (((track.tpcNClsCrossedRows() < cfgTrackPIDsettings->get(i, "minTPCnClsCrossedRows")) || track.tpcNClsCrossedRows() < 0.8 * track.tpcNClsFindable()) && cfgTPCNClsCrossedRowsRequire) |
| 243 | + double min_value = 0.8; |
| 244 | + if (((track.tpcNClsCrossedRows() < cfgTrackPIDsettings->get(i, "minTPCnClsCrossedRows")) || track.tpcNClsCrossedRows() < min_value * track.tpcNClsFindable()) && cfgTPCNClsCrossedRowsRequire) |
244 | 245 | continue; |
245 | 246 | if (track.tpcChi2NCl() > cfgTrackPIDsettings->get(i, "maxTPCchi2") && cfgmaxTPCchi2Require) |
246 | 247 | continue; |
@@ -360,7 +361,6 @@ struct NucleitpcPbPb { |
360 | 361 | // histos.fill(HIST("histCentFT0A"), collision.centFT0A()); |
361 | 362 | histos.fill(HIST("histCentFT0C"), collision.centFT0C()); |
362 | 363 | histos.fill(HIST("histCentFT0M"), collision.centFT0M()); |
363 | | - histos.fill(HIST("histEvents"), collision.centFT0C(), occupancy); |
364 | 364 | } |
365 | 365 | primVtx.assign({collision.posX(), collision.posY(), collision.posZ()}); |
366 | 366 | cents.assign({collision.centFT0A(), collision.centFT0C(), collision.centFT0M()}); |
|
0 commit comments