11#include <framework/geometry/B2Vector3.h>
18#include <reconstruction/calibration/BeamSpotBoostInvMass/Splitter.h>
23namespace Belle2::InvariantMassBhadCalib {
25 static const double realNaN = std::numeric_limits<double>::quiet_NaN();
26 static const B2Vector3D vecNaN(realNaN, realNaN, realNaN);
54 std::vector<Candidate>
cand = {};
65 std::vector<Event> getEvents(TTree* tr);
69 std::vector<std::vector<double>> doBhadFit(
const std::vector<Event>& evts, std::vector<std::pair<double, double>> limits,
70 std::vector<std::pair<double, double>> mumuVals,
const std::vector<double>& startPars);
73 std::vector<double> doBhadOnlyFit(
const std::vector<Event>& evts,
const std::vector<std::pair<double, double>>& limits);
81 std::tuple<std::vector<Eigen::VectorXd>, std::vector<Eigen::MatrixXd>, Eigen::MatrixXd> runInvariantMassAnalysis(
82 std::vector<Event> evts,
83 const std::vector<double>& splitPoints);
B2Vector3< double > B2Vector3D
typedef for common usage with double
structure containing variables relevant to the B-candidate
int mode
integer code identifying the decay channel, -1 is dummy value
double dmDstar
reconstructed mass difference between Dstar and D
int pdg
PDG code of the signal B-meson, 0 for dummy value.
double R2
R2 continuum suppression variable.
bool isSig
isSignal flag (for applying selections)
double mD
reconstructed mass of the D meson
double pBcms
B meson momentum in CMS.
structure containing variables relevant for the hadronic B decays
int nBootStrap
bootstrap weight, 1 -> data without bootstrapping
double t
time of the event
std::vector< Candidate > cand
vector of B meson candidates