BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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
28
29#include <fstream>
30#include <iostream>
31#include <math.h>
32#include <sstream>
33#include <stdlib.h>
34#include <string.h>
35#include <vector>
36
37using namespace std;
38class EvtParticle;
39
41
42public:
44 virtual ~EvtCalHelAmp();
45
46 void getName( std::string& name );
47
49
50 void initProbMax();
51
52 void init();
53 void decay( EvtParticle* p );
54 std::vector<double> firstder( std::vector<double> vh );
55 static double _H2, _H1, _H0, _H2err, _H1err, _H0err;
56 static int nevt;
57 double getBlattRatio( int L, double R, double pmag, double pmag0 );
58 double blattfactor( int L, double R, double pmag );
59 double phsp( double m0, double m1, double m2 );
60
61private:
62 vector<vector<double>> VC;
63 int nd;
64 int flag;
65};
66
67#endif
static double _H0err
virtual ~EvtCalHelAmp()
static double _H1err
static double _H0
double getBlattRatio(int L, double R, double pmag, double pmag0)
double phsp(double m0, double m1, double m2)
static int nevt
double blattfactor(int L, double R, double pmag)
static double _H1
void initProbMax()
static double _H2
void getName(std::string &name)
void decay(EvtParticle *p)
static double _H2err
EvtDecayBase * clone()
std::vector< double > firstder(std::vector< double > vh)
double double * m2
Definition qcdloop1.h:83
double * m1
Definition qcdloop1.h:83