Skip to content

Commit ea9ad1e

Browse files
authored
Merge branch 'AliceO2Group:master' into tof-selection-dau-bach
2 parents 6a167d5 + a3ca81e commit ea9ad1e

12 files changed

Lines changed: 646 additions & 296 deletions

File tree

PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackCascadeExtended.cxx

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
/// \brief Task for track and cascade correlations and QA
1414
/// \author Barbara Chytla, WUT Warsaw, barbara.chytla@cern.ch
1515
/// \author Shirajum Monira, WUT Warsaw, shirajum.monira@cern.ch
16+
/// \author Tomasz Pawlaczyk, WUT Warsaw, tpawlacz@cern.ch
1617

1718
#include "PWGCF/FemtoUniverse/Core/FemtoUniverseContainer.h"
1819
#include "PWGCF/FemtoUniverse/Core/FemtoUniverseDetaDphiStar.h"
@@ -459,11 +460,15 @@ struct femtoUniversePairTaskTrackCascadeExtended { // NOLINT(cppcoreguidelines-p
459460
if (!isParticleTOF(posChild, CascChildTable[cascparticleconfigs.confCascType1][0], &posChildTOF) || !isParticleTOF(negChild, CascChildTable[cascparticleconfigs.confCascType1][1], &negChildTOF) || !isParticleTOF(bachelor, CascChildTable[cascparticleconfigs.confCascType1][2], &bachelorTOF))
460461
continue;
461462

463+
CascQAExtra.fill(HIST("hMassXiSelected"), part.mLambda());
464+
CascQAExtra.fill(HIST("hInvMpT"), part.pt(), part.mLambda());
465+
466+
if (!invMCascade(part.mLambda(), part.mAntiLambda(), cascparticleconfigs.confCascType1))
467+
continue;
468+
462469
CascQAExtra.fill(HIST("hPtXi"), part.pt());
463470
CascQAExtra.fill(HIST("hEtaXi"), part.eta());
464471
CascQAExtra.fill(HIST("hPhiXi"), part.phi());
465-
CascQAExtra.fill(HIST("hMassXiSelected"), part.mLambda());
466-
CascQAExtra.fill(HIST("hInvMpT"), part.pt(), part.mLambda());
467472
}
468473
}
469474

@@ -483,6 +488,9 @@ struct femtoUniversePairTaskTrackCascadeExtended { // NOLINT(cppcoreguidelines-p
483488
if (!isParticleTOF(posChildExt, CascChildTable[cascparticleconfigs.confCascType1][0], &posChildTOFExt) || !isParticleTOF(negChildExt, CascChildTable[cascparticleconfigs.confCascType1][1], &negChildTOFExt) || !isParticleTOF(bachelorExt, CascChildTable[cascparticleconfigs.confCascType1][2], &bachelorTOFExt))
484489
continue;
485490

491+
if (!invMCascade(part.mLambda(), part.mAntiLambda(), cascparticleconfigs.confCascType1))
492+
continue;
493+
486494
CascQAExtra.fill(HIST("hDCAV0Daughters"), casc.dcaV0daughters());
487495
CascQAExtra.fill(HIST("hV0CosPA"), casc.cpav0());
488496
CascQAExtra.fill(HIST("hV0TranRad"), casc.v0radius());
@@ -527,11 +535,15 @@ struct femtoUniversePairTaskTrackCascadeExtended { // NOLINT(cppcoreguidelines-p
527535
if (!isParticleTOF(posChild, CascChildTable[cascparticleconfigs.confCascType1][0], &posChildTOF) || !isParticleTOF(negChild, CascChildTable[cascparticleconfigs.confCascType1][1], &negChildTOF) || !isParticleTOF(bachelor, CascChildTable[cascparticleconfigs.confCascType1][2], &bachelorTOF))
528536
continue;
529537

538+
CascQAExtra.fill(HIST("hMassXiSelected"), part.mLambda());
539+
CascQAExtra.fill(HIST("hInvMpT"), part.pt(), part.mLambda());
540+
541+
if (!invMCascade(part.mLambda(), part.mAntiLambda(), cascparticleconfigs.confCascType1))
542+
continue;
543+
530544
CascQAExtra.fill(HIST("hPtXi"), part.pt());
531545
CascQAExtra.fill(HIST("hEtaXi"), part.eta());
532546
CascQAExtra.fill(HIST("hPhiXi"), part.phi());
533-
CascQAExtra.fill(HIST("hMassXiSelected"), part.mLambda());
534-
CascQAExtra.fill(HIST("hInvMpT"), part.pt(), part.mLambda());
535547
}
536548
}
537549
}

PWGEM/PhotonMeson/Core/Pi0EtaToGammaGamma.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#include <Framework/AnalysisDataModel.h>
4949
#include <Framework/AnalysisHelpers.h>
5050
#include <Framework/AnalysisTask.h>
51+
#include <Framework/Concepts.h>
5152
#include <Framework/Configurable.h>
5253
#include <Framework/HistogramRegistry.h>
5354
#include <Framework/HistogramSpec.h>

PWGEM/PhotonMeson/Core/Pi0EtaToGammaGammaMC.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
#include <Framework/AnalysisDataModel.h>
4646
#include <Framework/AnalysisHelpers.h>
4747
#include <Framework/AnalysisTask.h>
48+
#include <Framework/Concepts.h>
4849
#include <Framework/Configurable.h>
4950
#include <Framework/HistogramRegistry.h>
5051
#include <Framework/HistogramSpec.h>

PWGEM/PhotonMeson/TableProducer/photonconversionbuilder.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
#include <Framework/HistogramSpec.h>
5353
#include <Framework/InitContext.h>
5454
#include <Framework/runDataProcessing.h>
55+
#include <ReconstructionDataFormats/HelixHelper.h>
5556
#include <ReconstructionDataFormats/PID.h>
5657

5758
#include <Math/Vector4D.h> // IWYU pragma: keep (do not replace with Math/Vector4Dfwd.h)
@@ -62,6 +63,8 @@
6263
#include <KFPVertex.h>
6364
#include <KFParticle.h>
6465

66+
#include <GPUROOTCartesianFwd.h>
67+
6568
#include <algorithm>
6669
#include <array>
6770
#include <cmath>
@@ -681,9 +684,8 @@ struct PhotonConversionBuilder {
681684
phiv = o2::aod::pwgem::dilepton::utils::pairutil::getPhivPair(kfp_track_posProp.GetPx(), kfp_track_posProp.GetPy(), kfp_track_posProp.GetPz(), kfp_track_eleProp.GetPx(), kfp_track_eleProp.GetPy(), kfp_track_eleProp.GetPz(), pos.sign(), ele.sign(), d_bz);
682685
psipair = o2::aod::pwgem::dilepton::utils::pairutil::getPsiPair(kfp_track_posProp.GetPx(), kfp_track_posProp.GetPy(), kfp_track_posProp.GetPz(), kfp_track_eleProp.GetPx(), kfp_track_eleProp.GetPy(), kfp_track_eleProp.GetPz());
683686
break;
684-
} else {
685-
LOG(debug) << "Propagation to offset" << offsetR << " cm failed for " << (pPropagatedSuccess ? "negative" : "positive") << " track. Trying smaller offset.";
686687
}
688+
LOG(debug) << "Propagation to offset" << offsetR << " cm failed for " << (pPropagatedSuccess ? "negative" : "positive") << " track. Trying smaller offset.";
687689
}
688690
if (modeTrackPropagation == TrackPropMode::kBoth) {
689691
registry.fill(HIST("V0/hPhivPropagationCompare"), phiv, phivFast);

0 commit comments

Comments
 (0)