Skip to content
Merged
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
12 changes: 6 additions & 6 deletions PWGHF/HFJ/Tasks/taskDstarPolarisationInJet.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ struct HfTaskDstarPolarisationInJet {
eventSelectionBits = jetderiveddatautilities::initialiseEventSelectionBits(eventSelections.value);

/// check process functions
const int nProcesses =
const int nProcesses =
static_cast<int>(doprocessDstar) +
static_cast<int>(doprocessDstarWithMl) +
static_cast<int>(doprocessDstarMc) +
Expand Down Expand Up @@ -600,7 +600,7 @@ struct HfTaskDstarPolarisationInJet {
void fillGenHistos(charm_polarisation::CosThetaStarType cosThetaStarType, float ptCharmHad, float rapCharmHad, float cosThetaStar, int8_t origin, float ptBhadMother, bool areDausInAcc, int8_t charge, bool isPartRecoDstar, float zParallel, float jetPt)
{
if (cosThetaStarType == charm_polarisation::CosThetaStarType::Helicity) { // Helicity
if (origin == RecoDecay::OriginType::Prompt) { // prompt
if (origin == RecoDecay::OriginType::Prompt) { // prompt
if (!isPartRecoDstar) {
registry.fill(HIST("hGenPromptHelicity"), ptCharmHad, rapCharmHad, cosThetaStar, areDausInAcc, charge, zParallel, jetPt);
} else {
Expand All @@ -614,7 +614,7 @@ struct HfTaskDstarPolarisationInJet {
}
}
} else if (cosThetaStarType == charm_polarisation::CosThetaStarType::Production) { // Production
if (origin == RecoDecay::OriginType::Prompt) { // prompt
if (origin == RecoDecay::OriginType::Prompt) { // prompt
if (!isPartRecoDstar) {
registry.fill(HIST("hGenPromptProduction"), ptCharmHad, rapCharmHad, cosThetaStar, areDausInAcc, charge, zParallel, jetPt);
} else {
Expand All @@ -628,7 +628,7 @@ struct HfTaskDstarPolarisationInJet {
}
}
} else if (cosThetaStarType == charm_polarisation::CosThetaStarType::JetAxis) { // JetAxis
if (origin == RecoDecay::OriginType::Prompt) { // prompt
if (origin == RecoDecay::OriginType::Prompt) { // prompt
if (!isPartRecoDstar) {
registry.fill(HIST("hGenPromptJetAxis"), ptCharmHad, rapCharmHad, cosThetaStar, areDausInAcc, charge, zParallel, jetPt);
} else {
Expand Down Expand Up @@ -748,8 +748,8 @@ struct HfTaskDstarPolarisationInJet {
pxDau = candidate.pxProng1();
pyDau = candidate.pyProng1();
pzDau = candidate.pzProng1();
std::array<float, 3> threeVecCand = RecoDecay::pVec(std::array{candidate.pxProng1(), candidate.pyProng1(), candidate.pzProng1()},
std::array{candidate.pyProng0Charm(), candidate.pxProng0Charm(), candidate.pzProng0Charm()},
std::array<float, 3> threeVecCand = RecoDecay::pVec(std::array{candidate.pxProng1(), candidate.pyProng1(), candidate.pzProng1()},
std::array{candidate.pyProng0Charm(), candidate.pxProng0Charm(), candidate.pzProng0Charm()},
std::array{candidate.pxProng1Charm(), candidate.pyProng1Charm(), candidate.pzProng1Charm()});
pxCharmHad = threeVecCand[0];
pyCharmHad = threeVecCand[1];
Expand Down
Loading