BOSS 7.0.9
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 "Experiment/Experiment.h"
19#include "Experiment/report.h"
20#include "Experiment/units.h"
21#include "DataHandler/Record.h"
22#include "DataHandler/Frame.h"
23#include "FrameAccess/extract.h"
24#include "FrameAccess/FAItem.h"
25#include "FrameAccess/FATable.h"
26*/
27using std::string;
28
29// Class Dalitz
30class Dalitz {
31
32 public:
33 Dalitz();
34 Dalitz(int binNum);
35 TComplex Amplitude(double x, double y, double z);
36 double Phase(double x, double y, double z, int Babar=1); //1 for Babar model, 2 for CLEO model, else for Belle model
37 bool Point_on_DP(double x, double y);
38 bool Point_on_DP2(double x, double y);
39 TComplex CLEO_resAmp(double mAC, double mBC, double mAB,
40 double mA, double mB, double mC,
41 double _ampl, double _theta, double _gamma,
42 double _bwm, int _spin);
43 TComplex resAmp(double mAC, double mBC, double mAB,
44 double mA, double mB, double mC,
45 double _ampl, double _theta, double _gamma,
46 double _bwm, int _spin);
47 TComplex f_980(double mPP, double mR,
48 double _ampl, double _theta );
49 TComplex sakurai(double mkp, double mkm, double mpp,
50 double _ampl, double _theta,
51 double gamma_r, double m_r);
52 TComplex Babar_sakurai(double mkp, double mkm, double mpp,
53 double _ampl, double _theta,
54 double gamma_r, double m_r);
55 TComplex Babar_resAmp(double mAC, double mBC, double mAB,
56 double mB , double mA , double mC ,
57 double _ampl, double _theta, double _gamma,
58 double _bwm, int _spin);
59 TComplex Babar_Amplitude(double x, double y, double z);
60 TComplex CLEO_Amplitude(double x, double y, double z);
61 int getBin(double mx, double my, double mz);
62
63 private:
64 static double PI; // pi
65 int N; // Bin number, set in constructor
66 static const int Nbin = 1000; // number of dx for integral
67
68};
69
70#endif
71
complex< double > TComplex
Definition: Dalitz.h:14
Double_t x[10]
Definition: Dalitz.h:30
TComplex Amplitude(double x, double y, double z)
Definition: Dalitz.cxx:31
bool Point_on_DP2(double x, double y)
Definition: Dalitz.cxx:168
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:304
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:207
TComplex CLEO_Amplitude(double x, double y, double z)
Definition: Dalitz.cxx:78
Dalitz()
Definition: Dalitz.cxx:21
double Phase(double x, double y, double z, int Babar=1)
Definition: Dalitz.cxx:104
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:558
TComplex Babar_Amplitude(double x, double y, double z)
Definition: Dalitz.cxx:633
TComplex sakurai(double mkp, double mkm, double mpp, double _ampl, double _theta, double gamma_r, double m_r)
Definition: Dalitz.cxx:402
int getBin(double mx, double my, double mz)
Definition: Dalitz.cxx:675
TComplex f_980(double mPP, double mR, double _ampl, double _theta)
Definition: Dalitz.cxx:379
bool Point_on_DP(double x, double y)
Definition: Dalitz.cxx:128
TComplex Babar_sakurai(double mkp, double mkm, double mpp, double _ampl, double _theta, double gamma_r, double m_r)
Definition: Dalitz.cxx:464
double y[1000]