Skip to content

Commit 9f475a1

Browse files
authored
[PWGLF] Update variable name and fix bug in the daughter track PID info (AliceO2Group#8471)
1 parent 977bd93 commit 9f475a1

File tree

2 files changed

+57
-57
lines changed

2 files changed

+57
-57
lines changed

PWGLF/DataModel/LFResonanceTables.h

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -136,24 +136,24 @@ DECLARE_SOA_COLUMN(CascTransRadius, casctransRadius, float); //!
136136
DECLARE_SOA_COLUMN(DecayVtxX, decayVtxX, float); //! X position of the decay vertex
137137
DECLARE_SOA_COLUMN(DecayVtxY, decayVtxY, float); //! Y position of the decay vertex
138138
DECLARE_SOA_COLUMN(DecayVtxZ, decayVtxZ, float); //! Z position of the decay vertex
139-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPi1, daughterTPCNSigmaPi1, float); //! TPC PID of the first daughter as Pion
140-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaKa1, daughterTPCNSigmaKa1, float); //! TPC PID of the first daughter as Kaon
141-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPr1, daughterTPCNSigmaPr1, float); //! TPC PID of the first daughter as Proton
142-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPi2, daughterTPCNSigmaPi2, float); //! TPC PID of the second daughter as Pion
143-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaKa2, daughterTPCNSigmaKa2, float); //! TPC PID of the second daughter as Kaon
144-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPr2, daughterTPCNSigmaPr2, float); //! TPC PID of the second daughter as Proton
145-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPiBach, daughterTPCNSigmaPiBach, float); //! TPC PID of the bachelor daughter as Pion
146-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaKaBach, daughterTPCNSigmaKaBach, float); //! TPC PID of the bachelor daughter as Kaon
147-
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPrBach, daughterTPCNSigmaPrBach, float); //! TPC PID of the bachelor daughter as Proton
148-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPi1, daughterTOFNSigmaPi1, float); //! TOF PID of the first daughter as Pion
149-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaKa1, daughterTOFNSigmaKa1, float); //! TOF PID of the first daughter as Kaon
150-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPr1, daughterTOFNSigmaPr1, float); //! TOF PID of the first daughter as Proton
151-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPi2, daughterTOFNSigmaPi2, float); //! TOF PID of the second daughter as Pion
152-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaKa2, daughterTOFNSigmaKa2, float); //! TOF PID of the second daughter as Kaon
153-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPr2, daughterTOFNSigmaPr2, float); //! TOF PID of the second daughter as Proton
154-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPiBach, daughterTOFNSigmaPiBach, float); //! TOF PID of the bachelor daughter as Pion
155-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaKaBach, daughterTOFNSigmaKaBach, float); //! TOF PID of the bachelor daughter as Kaon
156-
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPrBach, daughterTOFNSigmaPrBach, float); //! TOF PID of the bachelor daughter as Proton
139+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPosPi, daughterTPCNSigmaPosPi, float); //! TPC PID of the positive daughter as Pion
140+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPosKa, daughterTPCNSigmaPosKa, float); //! TPC PID of the positive daughter as Kaon
141+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaPosPr, daughterTPCNSigmaPosPr, float); //! TPC PID of the positive daughter as Proton
142+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaNegPi, daughterTPCNSigmaNegPi, float); //! TPC PID of the negative daughter as Pion
143+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaNegKa, daughterTPCNSigmaNegKa, float); //! TPC PID of the negative daughter as Kaon
144+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaNegPr, daughterTPCNSigmaNegPr, float); //! TPC PID of the negative daughter as Proton
145+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaBachPi, daughterTPCNSigmaBachPi, float); //! TPC PID of the bachelor daughter as Pion
146+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaBachKa, daughterTPCNSigmaBachKa, float); //! TPC PID of the bachelor daughter as Kaon
147+
DECLARE_SOA_COLUMN(DaughterTPCNSigmaBachPr, daughterTPCNSigmaBachPr, float); //! TPC PID of the bachelor daughter as Proton
148+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPosPi, daughterTOFNSigmaPosPi, float); //! TOF PID of the positive daughter as Pion
149+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPosKa, daughterTOFNSigmaPosKa, float); //! TOF PID of the positive daughter as Kaon
150+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaPosPr, daughterTOFNSigmaPosPr, float); //! TOF PID of the positive daughter as Proton
151+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaNegPi, daughterTOFNSigmaNegPi, float); //! TOF PID of the negative daughter as Pion
152+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaNegKa, daughterTOFNSigmaNegKa, float); //! TOF PID of the negative daughter as Kaon
153+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaNegPr, daughterTOFNSigmaNegPr, float); //! TOF PID of the negative daughter as Proton
154+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaBachPi, daughterTOFNSigmaBachPi, float); //! TOF PID of the bachelor daughter as Pion
155+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaBachKa, daughterTOFNSigmaBachKa, float); //! TOF PID of the bachelor daughter as Kaon
156+
DECLARE_SOA_COLUMN(DaughterTOFNSigmaBachPr, daughterTOFNSigmaBachPr, float); //! TOF PID of the bachelor daughter as Proton
157157
// For MC
158158
DECLARE_SOA_INDEX_COLUMN(McParticle, mcParticle); //! Index of the corresponding MC particle
159159
DECLARE_SOA_COLUMN(IsPhysicalPrimary, isPhysicalPrimary, bool);
@@ -218,18 +218,18 @@ DECLARE_SOA_TABLE(ResoV0s, "AOD", "RESOV0S",
218218
resodaughter::Eta,
219219
resodaughter::Phi,
220220
resodaughter::Indices,
221-
resodaughter::DaughterTPCNSigmaPi1,
222-
resodaughter::DaughterTPCNSigmaKa1,
223-
resodaughter::DaughterTPCNSigmaPr1,
224-
resodaughter::DaughterTPCNSigmaPi2,
225-
resodaughter::DaughterTPCNSigmaKa2,
226-
resodaughter::DaughterTPCNSigmaPr2,
227-
resodaughter::DaughterTOFNSigmaPi1,
228-
resodaughter::DaughterTOFNSigmaKa1,
229-
resodaughter::DaughterTOFNSigmaPr1,
230-
resodaughter::DaughterTOFNSigmaPi2,
231-
resodaughter::DaughterTOFNSigmaKa2,
232-
resodaughter::DaughterTOFNSigmaPr2,
221+
resodaughter::DaughterTPCNSigmaPosPi,
222+
resodaughter::DaughterTPCNSigmaPosKa,
223+
resodaughter::DaughterTPCNSigmaPosPr,
224+
resodaughter::DaughterTPCNSigmaNegPi,
225+
resodaughter::DaughterTPCNSigmaNegKa,
226+
resodaughter::DaughterTPCNSigmaNegPr,
227+
resodaughter::DaughterTOFNSigmaPosPi,
228+
resodaughter::DaughterTOFNSigmaPosKa,
229+
resodaughter::DaughterTOFNSigmaPosPr,
230+
resodaughter::DaughterTOFNSigmaNegPi,
231+
resodaughter::DaughterTOFNSigmaNegKa,
232+
resodaughter::DaughterTOFNSigmaNegPr,
233233
resodaughter::V0CosPA,
234234
resodaughter::DaughDCA,
235235
v0data::DCAPosToPV,
@@ -254,24 +254,24 @@ DECLARE_SOA_TABLE(ResoCascades, "AOD", "RESOCASCADES",
254254
resodaughter::Eta,
255255
resodaughter::Phi,
256256
resodaughter::CascadeIndices,
257-
resodaughter::DaughterTPCNSigmaPi1,
258-
resodaughter::DaughterTPCNSigmaKa1,
259-
resodaughter::DaughterTPCNSigmaPr1,
260-
resodaughter::DaughterTPCNSigmaPi2,
261-
resodaughter::DaughterTPCNSigmaKa2,
262-
resodaughter::DaughterTPCNSigmaPr2,
263-
resodaughter::DaughterTPCNSigmaPiBach,
264-
resodaughter::DaughterTPCNSigmaKaBach,
265-
resodaughter::DaughterTPCNSigmaPrBach,
266-
resodaughter::DaughterTOFNSigmaPi1,
267-
resodaughter::DaughterTOFNSigmaKa1,
268-
resodaughter::DaughterTOFNSigmaPr1,
269-
resodaughter::DaughterTOFNSigmaPi2,
270-
resodaughter::DaughterTOFNSigmaKa2,
271-
resodaughter::DaughterTOFNSigmaPr2,
272-
resodaughter::DaughterTOFNSigmaPiBach,
273-
resodaughter::DaughterTOFNSigmaKaBach,
274-
resodaughter::DaughterTOFNSigmaPrBach,
257+
resodaughter::DaughterTPCNSigmaPosPi,
258+
resodaughter::DaughterTPCNSigmaPosKa,
259+
resodaughter::DaughterTPCNSigmaPosPr,
260+
resodaughter::DaughterTPCNSigmaNegPi,
261+
resodaughter::DaughterTPCNSigmaNegKa,
262+
resodaughter::DaughterTPCNSigmaNegPr,
263+
resodaughter::DaughterTPCNSigmaBachPi,
264+
resodaughter::DaughterTPCNSigmaBachKa,
265+
resodaughter::DaughterTPCNSigmaBachPr,
266+
resodaughter::DaughterTOFNSigmaPosPi,
267+
resodaughter::DaughterTOFNSigmaPosKa,
268+
resodaughter::DaughterTOFNSigmaPosPr,
269+
resodaughter::DaughterTOFNSigmaNegPi,
270+
resodaughter::DaughterTOFNSigmaNegKa,
271+
resodaughter::DaughterTOFNSigmaNegPr,
272+
resodaughter::DaughterTOFNSigmaBachPi,
273+
resodaughter::DaughterTOFNSigmaBachKa,
274+
resodaughter::DaughterTOFNSigmaBachPr,
275275
resodaughter::V0CosPA,
276276
resodaughter::CascCosPA,
277277
resodaughter::DaughDCA,

PWGLF/TableProducer/Resonances/LFResonanceInitializer.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -516,15 +516,15 @@ struct reso2initializer {
516516
v0.template posTrack_as<TrackType>().tpcNSigmaPi(),
517517
v0.template posTrack_as<TrackType>().tpcNSigmaKa(),
518518
v0.template posTrack_as<TrackType>().tpcNSigmaPr(),
519-
v0.template posTrack_as<TrackType>().tofNSigmaPi(),
520-
v0.template posTrack_as<TrackType>().tofNSigmaKa(),
521-
v0.template posTrack_as<TrackType>().tofNSigmaPr(),
522519
v0.template negTrack_as<TrackType>().tpcNSigmaPi(),
523520
v0.template negTrack_as<TrackType>().tpcNSigmaKa(),
524521
v0.template negTrack_as<TrackType>().tpcNSigmaPr(),
525522
v0.template negTrack_as<TrackType>().tofNSigmaPi(),
526523
v0.template negTrack_as<TrackType>().tofNSigmaKa(),
527524
v0.template negTrack_as<TrackType>().tofNSigmaPr(),
525+
v0.template posTrack_as<TrackType>().tofNSigmaPi(),
526+
v0.template posTrack_as<TrackType>().tofNSigmaKa(),
527+
v0.template posTrack_as<TrackType>().tofNSigmaPr(),
528528
v0.v0cosPA(),
529529
v0.dcaV0daughters(),
530530
v0.dcapostopv(),
@@ -562,18 +562,18 @@ struct reso2initializer {
562562
casc.template posTrack_as<TrackType>().tpcNSigmaPi(),
563563
casc.template posTrack_as<TrackType>().tpcNSigmaKa(),
564564
casc.template posTrack_as<TrackType>().tpcNSigmaPr(),
565-
casc.template posTrack_as<TrackType>().tofNSigmaPi(),
566-
casc.template posTrack_as<TrackType>().tofNSigmaKa(),
567-
casc.template posTrack_as<TrackType>().tofNSigmaPr(),
568565
casc.template negTrack_as<TrackType>().tpcNSigmaPi(),
569566
casc.template negTrack_as<TrackType>().tpcNSigmaKa(),
570567
casc.template negTrack_as<TrackType>().tpcNSigmaPr(),
571-
casc.template negTrack_as<TrackType>().tofNSigmaPi(),
572-
casc.template negTrack_as<TrackType>().tofNSigmaKa(),
573-
casc.template negTrack_as<TrackType>().tofNSigmaPr(),
574568
casc.template bachelor_as<TrackType>().tpcNSigmaPi(),
575569
casc.template bachelor_as<TrackType>().tpcNSigmaKa(),
576570
casc.template bachelor_as<TrackType>().tpcNSigmaPr(),
571+
casc.template posTrack_as<TrackType>().tofNSigmaPi(),
572+
casc.template posTrack_as<TrackType>().tofNSigmaKa(),
573+
casc.template posTrack_as<TrackType>().tofNSigmaPr(),
574+
casc.template negTrack_as<TrackType>().tofNSigmaPi(),
575+
casc.template negTrack_as<TrackType>().tofNSigmaKa(),
576+
casc.template negTrack_as<TrackType>().tofNSigmaPr(),
577577
casc.template bachelor_as<TrackType>().tofNSigmaPi(),
578578
casc.template bachelor_as<TrackType>().tofNSigmaKa(),
579579
casc.template bachelor_as<TrackType>().tofNSigmaPr(),

0 commit comments

Comments
 (0)