diff --git a/PWGLF/DataModel/LFStrangenessPIDTables.h b/PWGLF/DataModel/LFStrangenessPIDTables.h index bb9bf16aa70..531d124af71 100644 --- a/PWGLF/DataModel/LFStrangenessPIDTables.h +++ b/PWGLF/DataModel/LFStrangenessPIDTables.h @@ -32,11 +32,11 @@ DECLARE_SOA_COLUMN(TPCNSigmaPi, tpcNSigmaPi, float); //! Nsigma proton DECLARE_SOA_COLUMN(TPCNSigmaKa, tpcNSigmaKa, float); //! Nsigma proton DECLARE_SOA_COLUMN(TPCNSigmaPr, tpcNSigmaPr, float); //! Nsigma proton DECLARE_SOA_COLUMN(TPCNSigmaHe, tpcNSigmaHe, float); //! Nsigma proton -} +} // namespace dautrack DECLARE_SOA_TABLE(DauTrackTPCPIDs, "AOD", "DAUTRACKTPCPID", // nsigma table (for analysis) - dautrack::TPCSignal, dautrack::TPCNSigmaEl, - dautrack::TPCNSigmaPi, dautrack::TPCNSigmaKa, + dautrack::TPCSignal, dautrack::TPCNSigmaEl, + dautrack::TPCNSigmaPi, dautrack::TPCNSigmaKa, dautrack::TPCNSigmaPr, dautrack::TPCNSigmaHe); namespace v0data diff --git a/PWGLF/DataModel/LFStrangenessTables.h b/PWGLF/DataModel/LFStrangenessTables.h index 661679a5049..6f4d96023f5 100644 --- a/PWGLF/DataModel/LFStrangenessTables.h +++ b/PWGLF/DataModel/LFStrangenessTables.h @@ -784,11 +784,11 @@ DECLARE_SOA_EXTENDED_TABLE_USER(TraCascCores, StoredTraCascCores, "TraCascDATAEX namespace cascdata { - // For cross-linking all cascade kinds +// For cross-linking all cascade kinds DECLARE_SOA_INDEX_COLUMN_FULL(TrackedCascade, trackedCascade, int, TraCascCores, "_Refs"); //! DECLARE_SOA_INDEX_COLUMN_FULL(KFCascade, kfCascade, int, KFCascCores, "_Refs"); //! DECLARE_SOA_INDEX_COLUMN_FULL(StandardCascade, standardCascade, int, CascCores, "_Refs"); //! -} +} // namespace cascdata // interlink different cascade types DECLARE_SOA_TABLE(CascToTraRefs, "AOD", "CASCTOTRAREFS", //! standard -> tracked diff --git a/PWGLF/TableProducer/strangederivedbuilder.cxx b/PWGLF/TableProducer/strangederivedbuilder.cxx index 49bc1d8f6c5..bc4a439f26a 100644 --- a/PWGLF/TableProducer/strangederivedbuilder.cxx +++ b/PWGLF/TableProducer/strangederivedbuilder.cxx @@ -65,7 +65,7 @@ struct strangederivedbuilder { //__________________________________________________ // track extra references Produces dauTrackExtras; // daughter track detector properties - Produces dauTrackTPCPIDs; // daughter track TPC PID + Produces dauTrackTPCPIDs; // daughter track TPC PID Produces v0Extras; // references DauTracks from V0s Produces cascExtras; // references DauTracks from cascades Produces kfcascExtras; // references DauTracks from KF cascades @@ -73,11 +73,10 @@ struct strangederivedbuilder { //__________________________________________________ // cascade interlinks - Produces cascToTraRefs; // cascades -> tracked - Produces cascToKFRefs; // cascades -> KF - Produces traToCascRefs; // tracked -> cascades + Produces cascToTraRefs; // cascades -> tracked + Produces cascToKFRefs; // cascades -> KF + Produces traToCascRefs; // tracked -> cascades Produces kfToCascRefs; // KF -> cascades - //__________________________________________________ // correlation information between cascades: standard<->KF, standard<->tracked, KF<->tracked @@ -245,10 +244,10 @@ struct strangederivedbuilder { void processCascadeInterlink(interlinkedCascades const& masterCascades, aod::CascIndices const& Cascades, aod::KFCascIndices const& KFCascades, aod::TraCascIndices const& TraCascades) { - //Standard to tracked + // Standard to tracked for (auto const& c : Cascades) { int indexTracked = -1, indexKF = -1; - if(c.has_cascade()){ + if (c.has_cascade()) { auto cascade = c.cascade_as(); indexTracked = cascade.traCascDataId(); indexKF = cascade.kfCascDataId(); @@ -256,19 +255,19 @@ struct strangederivedbuilder { cascToTraRefs(indexTracked); cascToKFRefs(indexKF); } - //Tracked to standard + // Tracked to standard for (auto const& c : TraCascades) { int index = -1; - if(c.has_cascade()){ + if (c.has_cascade()) { auto cascade = c.cascade_as(); index = cascade.cascDataId(); } traToCascRefs(index); } - //Tracked to KF + // Tracked to KF for (auto const& c : KFCascades) { int index = -1; - if(c.has_cascade()){ + if (c.has_cascade()) { auto cascade = c.cascade_as(); index = cascade.cascDataId(); }