Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PWGLF/Tasks/Nuspex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ o2physics_add_dpl_workflow(spectra-tpc-tiny
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(nuclei-tpcspectra
SOURCES NucleiTPCPbPb.cxx
SOURCES nucleitpcpbpb.cxx
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

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