@@ -702,32 +702,6 @@ auto InvMassXicToPiKP(const T& candidate)
702702 return InvMassLcpiKp (candidate);
703703}
704704
705- // X → Jpsi π+ π-
706- // TODO: add pdg code for X (9920443), temporarily hardcode mass here:
707- float massX = 3.872 ; // replace this with: "RecoDecay::getMassPDG(9920443)" when pdg is added
708- template <typename T>
709- auto CtX (const T& candidate)
710- {
711- return candidate.ct (massX);
712- }
713-
714- template <typename T>
715- auto YX (const T& candidate)
716- {
717- return candidate.y (massX);
718- }
719-
720- template <typename T>
721- auto EX (const T& candidate)
722- {
723- return candidate.e (massX);
724- }
725- template <typename T>
726- auto InvMassXToJpsiPiPi (const T& candidate)
727- {
728- return candidate.m (array{RecoDecay::getMassPDG (443 ), RecoDecay::getMassPDG (kPiPlus ), RecoDecay::getMassPDG (kPiPlus )});
729- }
730-
731705} // namespace hf_cand_prong3
732706
733707// 3-prong decay candidate table
@@ -804,6 +778,32 @@ enum DecayType { XToJpsiToEEPiPi = 0,
804778 XToJpsiToMuMuPiPi }; // move this to a dedicated cascade namespace in the future?
805779} // namespace hf_cand_x
806780
781+ // X → Jpsi π+ π-
782+ // TODO: add pdg code for X (9920443), temporarily hardcode mass here:
783+ float massX = 3.872 ; // replace this with: "RecoDecay::getMassPDG(9920443)" when pdg is added
784+ template <typename T>
785+ auto CtX (const T& candidate)
786+ {
787+ return candidate.ct (massX);
788+ }
789+
790+ template <typename T>
791+ auto YX (const T& candidate)
792+ {
793+ return candidate.y (massX);
794+ }
795+
796+ template <typename T>
797+ auto EX (const T& candidate)
798+ {
799+ return candidate.e (massX);
800+ }
801+ template <typename T>
802+ auto InvMassXToJpsiPiPi (const T& candidate)
803+ {
804+ return candidate.m (array{RecoDecay::getMassPDG (443 ), RecoDecay::getMassPDG (kPiPlus ), RecoDecay::getMassPDG (kPiPlus )});
805+ }
806+
807807// declare dedicated X candidate table
808808DECLARE_SOA_TABLE (HfCandXBase, " AOD" , " HFCANDXBASE" ,
809809 // general columns
0 commit comments