BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtCalHelAmp.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtGen/EvtPhsp.hh
12//
13// Description:
14//Class to handle generic phase space decays not done
15//in other decay models.
16//
17// Modification history:
18//
19// DJL/RYD August 11, 1998 Module created
20//
21//------------------------------------------------------------------------
22
23#ifndef EVTCALHELAMP_HH
24#define EVTCALHELAMP_HH
25
26#include "EvtGenBase/EvtDecayIncoherent.hh"
27#include "EvtGenBase/EvtBlattWeisskopf.hh"
28
29#include <vector>
30#include <fstream>
31#include <iostream>
32#include <stdlib.h>
33#include <sstream>
34#include <stdlib.h>
35#include <string.h>
36#include <math.h>
37
38
39using namespace std;
40class EvtParticle;
41
43
44public:
45
47 virtual ~EvtCalHelAmp();
48
49 void getName(std::string& name);
50
52
54
55 void init();
56 void decay(EvtParticle *p);
57 std::vector<double> firstder(std::vector<double> vh);
58 static double _H2,_H1,_H0,_H2err,_H1err,_H0err;
59 static int nevt;
60double getBlattRatio(int L, double R, double pmag,double pmag0);
61double blattfactor(int L, double R, double pmag);
62double phsp(double m0,double m1, double m2);
63
64private:
65 vector<vector<double > > VC;
66 int nd;
67 int flag;
68};
69
70#endif
71
double getBlattRatio(int L, double R, double pmag, double pmag0)
double phsp(double m0, double m1, double m2)
double blattfactor(int L, double R, double pmag)
void initProbMax()
void getName(std::string &name)
void decay(EvtParticle *p)
EvtDecayBase * clone()
virtual ~EvtCalHelAmp()
std::vector< double > firstder(std::vector< double > vh)