22#include <Math/Vector3D.h>
23#include <Math/Vector4D.h>
43 for (
int i = 0; i < 2; i++)
44 for (
int j = 0; j < 3; j++)
45 for (
int k = 0; k < 5; k++)
48 for (
int i = 0; i < 2; i++)
49 for (
int j = 0; j < 5; j++)
52 for (
int i = 0; i < 2; i++) {
62 std::vector<std::pair<ROOT::Math::XYZVector, int>> p3_cms_q_sigA,
63 std::vector<std::pair<ROOT::Math::XYZVector, int>> p3_cms_q_sigB,
64 std::vector<std::pair<ROOT::Math::XYZVector, int>> p3_cms_q_roe,
65 const ROOT::Math::PxPyPzEVector& p_cms_missA,
66 const ROOT::Math::PxPyPzEVector& p_cms_missB,
88 double mm2(
int uf = -1)
const {
return m_mm2[uf < 0 ?
m_uf : uf]; }
93 double et(
int uf = -1)
const {
return m_et[uf < 0 ?
m_uf : uf]; }
98 double Hoo(
int i,
int uf = -1)
const {
return m_Hoo[uf < 0 ?
m_uf : uf][i]; }
103 double Hso(
int i,
int j,
int uf = -1)
const {
return m_Hso[uf < 0 ?
m_uf : uf][i][j]; }
113 if (i < 1)
return et();
114 if (i < 4)
return Hso(i - 1, 0);
115 if (i < 5)
return Hso(0, 1);
116 if (i < 8)
return Hso(i - 5, 2);
117 if (i < 9)
return Hso(0, 3);
118 if (i < 12)
return Hso(i - 9, 4);
119 if (i < 17)
return Hoo(i - 12);
Moment-calculation of the k_sfw improved Super-Fox-Wolfram moments.
int usefinal(int uf)
Sets the flag that specifiies we are using the finalstate for signal.
double var(int i)
Returns calculated KSFW Moments i is the index ordered as in Belle.
double et(int uf=-1) const
Returns calculated transverse energy.
double Hso(int i, int j, int uf=-1) const
Returns calculated KSFW Moments.
double m_et[2]
Transverse energy.
int m_uf
Flag that specifiies we are using the final state for signal.
double m_Hso[2][3][5]
KSFW moments.
KsfwMoments()
Initialize KSFW moments, et, and mm2 to 0.
double mm2(int uf=-1) const
Returns calculated missing mass squared.
double m_mm2[2]
Missing mass squared.
~KsfwMoments()
Destructor.
int usefinal() const
Return the flag that specifiies we are using the finalstate for signal.
double m_Hoo[2][5]
KSFW moments.
double Hoo(int i, int uf=-1) const
Returns calculated KSFW Moments.
Abstract base class for different kinds of events.