BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Dalitz.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3//
4// Author: Dan Ambrose
5// Created: Mon Mar 5 2012
6// based on Cleo package by Eric White and Warner Sun
7
8#ifndef DALITZ_H
9#define DALITZ_H
10
11// #include "EvtGen/EvtComplex.h"
12#include <complex>
13using namespace std;
15
16// For using "string"
17/*
18#include "DataHandler/Frame.h"
19#include "DataHandler/Record.h"
20#include "Experiment/Experiment.h"
21#include "Experiment/report.h"
22#include "Experiment/units.h"
23#include "FrameAccess/FAItem.h"
24#include "FrameAccess/FATable.h"
25#include "FrameAccess/extract.h"
26*/
27using std::string;
28
29// Class Dalitz
30class Dalitz {
31
32public:
33 Dalitz();
34 Dalitz( int binNum );
35 TComplex Amplitude( double x, double y, double z );
36 double Phase( double x, double y, double z,
37 int Babar = 1 ); // 1 for Babar model, 2 for CLEO model, else for Belle model
38 bool Point_on_DP( double x, double y );
39 bool Point_on_DP2( double x, double y );
40 TComplex CLEO_resAmp( double mAC, double mBC, double mAB, double mA, double mB, double mC,
41 double _ampl, double _theta, double _gamma, double _bwm, int _spin );
42 TComplex resAmp( double mAC, double mBC, double mAB, double mA, double mB, double mC,
43 double _ampl, double _theta, double _gamma, double _bwm, int _spin );
44 TComplex f_980( double mPP, double mR, double _ampl, double _theta );
45 TComplex sakurai( double mkp, double mkm, double mpp, double _ampl, double _theta,
46 double gamma_r, double m_r );
47 TComplex Babar_sakurai( double mkp, double mkm, double mpp, double _ampl, double _theta,
48 double gamma_r, double m_r );
49 TComplex Babar_resAmp( double mAC, double mBC, double mAB, double mB, double mA, double mC,
50 double _ampl, double _theta, double _gamma, double _bwm, int _spin );
51 TComplex Babar_Amplitude( double x, double y, double z );
52 TComplex CLEO_Amplitude( double x, double y, double z );
53 int getBin( double mx, double my, double mz );
54
55private:
56 static double PI; // pi
57 int N; // Bin number, set in constructor
58 static const int Nbin = 1000; // number of dx for integral
59};
60
61#endif
complex< double > TComplex
Definition Dalitz.h:14
TComplex Amplitude(double x, double y, double z)
Definition Dalitz.cxx:30
bool Point_on_DP2(double x, double y)
Definition Dalitz.cxx:193
TComplex resAmp(double mAC, double mBC, double mAB, double mA, double mB, double mC, double _ampl, double _theta, double _gamma, double _bwm, int _spin)
Definition Dalitz.cxx:338
TComplex CLEO_resAmp(double mAC, double mBC, double mAB, double mA, double mB, double mC, double _ampl, double _theta, double _gamma, double _bwm, int _spin)
Definition Dalitz.cxx:241
TComplex CLEO_Amplitude(double x, double y, double z)
Definition Dalitz.cxx:90
Dalitz()
Definition Dalitz.cxx:21
double Phase(double x, double y, double z, int Babar=1)
Definition Dalitz.cxx:116
TComplex Babar_resAmp(double mAC, double mBC, double mAB, double mB, double mA, double mC, double _ampl, double _theta, double _gamma, double _bwm, int _spin)
Definition Dalitz.cxx:610
TComplex Babar_Amplitude(double x, double y, double z)
Definition Dalitz.cxx:698
TComplex sakurai(double mkp, double mkm, double mpp, double _ampl, double _theta, double gamma_r, double m_r)
Definition Dalitz.cxx:448
int getBin(double mx, double my, double mz)
Definition Dalitz.cxx:752
TComplex f_980(double mPP, double mR, double _ampl, double _theta)
Definition Dalitz.cxx:426
bool Point_on_DP(double x, double y)
Definition Dalitz.cxx:143
TComplex Babar_sakurai(double mkp, double mkm, double mpp, double _ampl, double _theta, double gamma_r, double m_r)
Definition Dalitz.cxx:511