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
7 changes: 7 additions & 0 deletions PWGCF/FemtoUniverse/Core/FemtoUniverseParticleHisto.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ class FemtoUniverseParticleHisto
} else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kCascade) {
/// Cascade histograms
/// to be implemented
} else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kPhi) {
// Phi histograms
} else {
LOG(fatal) << "FemtoUniverseParticleHisto: Histogramming for requested object not defined - quitting!";
}
Expand Down Expand Up @@ -171,6 +173,9 @@ class FemtoUniverseParticleHisto
} else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kCascade) {
/// Cascade histograms
tempFitVarAxisTitle = "cos#alpha";
} else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kPhi) {
// Phi histograms
tempFitVarAxisTitle = "InvMass";
} else {
LOG(fatal) << "FemtoUniverseParticleHisto: Histogramming for requested object not defined - quitting!";
}
Expand Down Expand Up @@ -307,6 +312,8 @@ class FemtoUniverseParticleHisto
/// V0 histograms
} else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kCascade) {
/// Cascade histograms
} else if constexpr (mParticleType == o2::aod::femtouniverseparticle::ParticleType::kPhi) {
// Phi histograms
} else {
LOG(fatal) << "FemtoUniverseParticleHisto: Histogramming for requested object not defined - quitting!";
}
Expand Down
2 changes: 1 addition & 1 deletion PWGCF/FemtoUniverse/DataModel/FemtoDerived.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ enum ParticleType {
};

static constexpr std::string_view ParticleTypeName[kNParticleTypes] = {"Tracks", "V0", "V0Child", "Cascade", "CascadeBachelor", "kPhi", "kPhiChild"}; //! Naming of the different particle types
static constexpr std::string_view TempFitVarName[kNParticleTypes] = {"/hDCAxy", "/hCPA", "/hDCAxy", "/hCPA", "/hDCAxy"};
static constexpr std::string_view TempFitVarName[kNParticleTypes] = {"/hDCAxy", "/hCPA", "/hDCAxy", "/hCPA", "/hDCAxy", "/hInvMass", "/hDCAxy"};

using cutContainerType = uint32_t; //! Definition of the data type for the bit-wise container for the different selection criteria

Expand Down
5 changes: 3 additions & 2 deletions PWGCF/FemtoUniverse/Tasks/femtoUniversePairTaskTrackPhi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct femtoUniversePairTaskTrackPhi {
Partition<soa::Join<aod::FDParticles, aod::FDMCLabels>> partsOneMC = (aod::femtouniverseparticle::partType == uint8_t(aod::femtouniverseparticle::ParticleType::kPhi));

/// Histogramming for particle 1
FemtoUniverseParticleHisto<aod::femtouniverseparticle::ParticleType::kTrack, 0> trackHistoPartOne;
FemtoUniverseParticleHisto<aod::femtouniverseparticle::ParticleType::kPhi, 0> trackHistoPartOne;

/// Particle 2 --- IDENTIFIED HADRON
Configurable<bool> ConfIsSame{"ConfIsSame", false, "Pairs of the same particle"};
Expand All @@ -123,6 +123,7 @@ struct femtoUniversePairTaskTrackPhi {

/// particle part
ConfigurableAxis ConfTempFitVarBins{"ConfDTempFitVarBins", {300, -0.15, 0.15}, "binning of the TempFitVar in the pT vs. TempFitVar plot"};
ConfigurableAxis ConfTempFitVarInvMassBins{"ConfDTempFitVarInvMassBins", {6000, 0.9, 4.0}, "binning of the TempFitVar in the pT vs. TempFitVar plot"};
ConfigurableAxis ConfTempFitVarpTBins{"ConfTempFitVarpTBins", {20, 0.5, 4.05}, "pT binning of the pT vs. TempFitVar plot"};

/// Correlation part
Expand Down Expand Up @@ -277,7 +278,7 @@ struct femtoUniversePairTaskTrackPhi {
void init(InitContext&)
{
eventHisto.init(&qaRegistry);
trackHistoPartOne.init(&qaRegistry, ConfTempFitVarpTBins, ConfTempFitVarBins, twotracksconfigs.ConfIsMC, trackonefilter.ConfPDGCodePartOne);
trackHistoPartOne.init(&qaRegistry, ConfTempFitVarpTBins, ConfTempFitVarInvMassBins, twotracksconfigs.ConfIsMC, trackonefilter.ConfPDGCodePartOne);
if (!ConfIsSame) {
trackHistoPartTwo.init(&qaRegistry, ConfTempFitVarpTBins, ConfTempFitVarBins, twotracksconfigs.ConfIsMC, tracktwofilter.ConfPDGCodePartTwo);
}
Expand Down