@@ -129,7 +129,7 @@ struct HfTaskDstarPolarisationInJet {
129129 eventSelectionBits = jetderiveddatautilities::initialiseEventSelectionBits (eventSelections.value );
130130
131131 // / check process functions
132- const int nProcesses =
132+ const int nProcesses =
133133 static_cast <int >(doprocessDstar) +
134134 static_cast <int >(doprocessDstarWithMl) +
135135 static_cast <int >(doprocessDstarMc) +
@@ -600,7 +600,7 @@ struct HfTaskDstarPolarisationInJet {
600600 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)
601601 {
602602 if (cosThetaStarType == charm_polarisation::CosThetaStarType::Helicity) { // Helicity
603- if (origin == RecoDecay::OriginType::Prompt) { // prompt
603+ if (origin == RecoDecay::OriginType::Prompt) { // prompt
604604 if (!isPartRecoDstar) {
605605 registry.fill (HIST (" hGenPromptHelicity" ), ptCharmHad, rapCharmHad, cosThetaStar, areDausInAcc, charge, zParallel, jetPt);
606606 } else {
@@ -614,7 +614,7 @@ struct HfTaskDstarPolarisationInJet {
614614 }
615615 }
616616 } else if (cosThetaStarType == charm_polarisation::CosThetaStarType::Production) { // Production
617- if (origin == RecoDecay::OriginType::Prompt) { // prompt
617+ if (origin == RecoDecay::OriginType::Prompt) { // prompt
618618 if (!isPartRecoDstar) {
619619 registry.fill (HIST (" hGenPromptProduction" ), ptCharmHad, rapCharmHad, cosThetaStar, areDausInAcc, charge, zParallel, jetPt);
620620 } else {
@@ -628,7 +628,7 @@ struct HfTaskDstarPolarisationInJet {
628628 }
629629 }
630630 } else if (cosThetaStarType == charm_polarisation::CosThetaStarType::JetAxis) { // JetAxis
631- if (origin == RecoDecay::OriginType::Prompt) { // prompt
631+ if (origin == RecoDecay::OriginType::Prompt) { // prompt
632632 if (!isPartRecoDstar) {
633633 registry.fill (HIST (" hGenPromptJetAxis" ), ptCharmHad, rapCharmHad, cosThetaStar, areDausInAcc, charge, zParallel, jetPt);
634634 } else {
@@ -748,8 +748,8 @@ struct HfTaskDstarPolarisationInJet {
748748 pxDau = candidate.pxProng1 ();
749749 pyDau = candidate.pyProng1 ();
750750 pzDau = candidate.pzProng1 ();
751- std::array<float , 3 > threeVecCand = RecoDecay::pVec (std::array{candidate.pxProng1 (), candidate.pyProng1 (), candidate.pzProng1 ()},
752- std::array{candidate.pyProng0Charm (), candidate.pxProng0Charm (), candidate.pzProng0Charm ()},
751+ std::array<float , 3 > threeVecCand = RecoDecay::pVec (std::array{candidate.pxProng1 (), candidate.pyProng1 (), candidate.pzProng1 ()},
752+ std::array{candidate.pyProng0Charm (), candidate.pxProng0Charm (), candidate.pzProng0Charm ()},
753753 std::array{candidate.pxProng1Charm (), candidate.pyProng1Charm (), candidate.pzProng1Charm ()});
754754 pxCharmHad = threeVecCand[0 ];
755755 pyCharmHad = threeVecCand[1 ];
0 commit comments