Skip to content

Commit 2b9106b

Browse files
committed
added tpc ncluster distribution for QA checks
1 parent 7d62dc5 commit 2b9106b

3 files changed

Lines changed: 15 additions & 0 deletions

File tree

PWGLF/DataModel/LFResonanceTables.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ DECLARE_SOA_COLUMN(Indices, indices, int[2]); //! Field f
7373
DECLARE_SOA_COLUMN(CascadeIndices, cascIndices, int[3]); //! Field for the track indices to remove auto-correlations (ordered: positive, negative, bachelor)
7474
DECLARE_SOA_COLUMN(Sign, sign, int8_t); //! Sign of the track charge
7575
DECLARE_SOA_COLUMN(TPCNClsCrossedRows, tpcNClsCrossedRows, uint8_t); //! Number of TPC crossed rows
76+
DECLARE_SOA_COLUMN(TPCNClsFound, tpcNClsFound, uint8_t); //! Number of TPC clusters found
7677
DECLARE_SOA_COLUMN(IsGlobalTrackWoDCA, isGlobalTrackWoDCA, bool); //! Is global track without DCA
7778
DECLARE_SOA_COLUMN(IsPrimaryTrack, isPrimaryTrack, bool); //! Is primary track
7879
DECLARE_SOA_COLUMN(IsPVContributor, isPVContributor, bool); //! Is primary vertex contributor
@@ -116,6 +117,7 @@ DECLARE_SOA_TABLE(ResoTracks, "AOD", "RESOTRACKS",
116117
resodaughter::Phi,
117118
resodaughter::Sign,
118119
resodaughter::TPCNClsCrossedRows,
120+
resodaughter::TPCNClsFound,
119121
o2::aod::track::DcaXY,
120122
o2::aod::track::DcaZ,
121123
o2::aod::track::X,

PWGLF/TableProducer/LFResonanceInitializer.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ struct reso2initializer {
445445
track.phi(),
446446
track.sign(),
447447
(uint8_t)track.tpcNClsCrossedRows(),
448+
(uint8_t)track.tpcNClsFound(),
448449
track.dcaXY(),
449450
track.dcaZ(),
450451
track.x(),

PWGLF/Tasks/Resonances/k892analysis.cxx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ struct k892analysis {
9393
histos.add("k892invmassLS", "Invariant mass of K(892)0 like sign", kTH1F, {invMassAxis});
9494
histos.add("k892invmassLSAnti", "Invariant mass of Anti-K(892)0 like sign", kTH1F, {invMassAxis});
9595
histos.add("k892invmassME", "Invariant mass of K(892)0 mixed event", kTH1F, {invMassAxis});
96+
97+
// TPC ncluster distirbutions
98+
histos.add("TPCncluster/TPCnclusterpi", "TPC ncluster distribution", kTH1F, {{160, 0, 160}});
99+
histos.add("TPCncluster/TPCnclusterka", "TPC ncluster distribution", kTH1F, {{160, 0, 160}});
100+
histos.add("TPCncluster/TPCnclusterPhipi", "TPC ncluster vs phi", kTH2F, {{160, 0, 160}, {63, 0, 6.28}});
101+
histos.add("TPCncluster/TPCnclusterPhika", "TPC ncluster vs phi", kTH2F, {{160, 0, 160}, {63, 0, 6.28}});
102+
96103
// DCA QA
97104
histos.add("QAbefore/trkDCAxy_pi", "DCAxy distribution of pion track candidates", HistType::kTH1F, {dcaxyAxis});
98105
histos.add("QAbefore/trkDCAxy_ka", "DCAxy distribution of kaon track candidates", HistType::kTH1F, {dcaxyAxis});
@@ -270,6 +277,11 @@ struct k892analysis {
270277
if (!selectionPIDPion(trk1) || !selectionPIDKaon(trk2))
271278
continue;
272279

280+
histos.fill(HIST("TPCncluster/TPCnclusterpi"), trk1.tpcNClsFound());
281+
histos.fill(HIST("TPCncluster/TPCnclusterka"), trk2.tpcNClsFound());
282+
histos.fill(HIST("TPCncluster/TPCnclusterPhipi"), trk1.tpcNClsFound(), trk1.phi());
283+
histos.fill(HIST("TPCncluster/TPCnclusterPhika"), trk2.tpcNClsFound(), trk2.phi());
284+
273285
if constexpr (!IsMix) {
274286
//// QA plots after the selection
275287
// --- PID QA Pion

0 commit comments

Comments
 (0)