BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtTwoBodyVertex.hh
Go to the documentation of this file.
1/*******************************************************************************
2 * Project: BaBar detector at the SLAC PEP-II B-factory
3 * Package: EvtGenBase
4 * File: $Id: EvtTwoBodyVertex.hh,v 1.1.1.2 2007/10/26 05:03:14 pingrg Exp $
5 * Author: Alexei Dvoretskii, [email protected], 2001-2002
6 *
7 * Copyright (C) 2002 Caltech
8 *******************************************************************************/
9
10// Two-body propagator vertex AB->A,B with an attached Blatt-Weisskopf form factor.
11
12#ifndef EVT_TWO_BODY_VERTEX_HH
13#define EVT_TWO_BODY_VERTEX_HH
14
15#include <iostream>
16#include "EvtGenBase/EvtTwoBodyKine.hh"
17#include "EvtGenBase/EvtBlattWeisskopf.hh"
18
19#include <iosfwd>
20
21class EvtTwoBodyVertex {
22
23public:
24
26 EvtTwoBodyVertex(double mA, double mB, double mAB, int L);
29
30 double widthFactor(EvtTwoBodyKine x) const;
31 double formFactor(EvtTwoBodyKine x) const;
33
34 inline int L() const { return _LL; }
35 inline double mA() const { return _kine.mA(); }
36 inline double mB() const { return _kine.mB(); }
37 inline double mAB() const { return _kine.mAB(); }
38 inline double pD() const { return _p0; }
39 void print(std::ostream& os) const;
40
41 void set_f(double R);
42
43private:
44
45 EvtTwoBodyKine _kine;
46 int _LL;
47 double _p0;
48 EvtBlattWeisskopf* _f; // optional Blatt-Weisskopf form factor
49
50};
51
52std::ostream& operator<<(std::ostream& os, const EvtTwoBodyVertex& v);
53
54#endif
std::ostream & operator<<(std::ostream &os, const EvtTwoBodyVertex &v)
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition: KarLud.h:35
EvtTwoBodyVertex(const EvtTwoBodyVertex &other)
double formFactor(EvtTwoBodyKine x) const
void print(std::ostream &os) const
void set_f(double R)
double widthFactor(EvtTwoBodyKine x) const
EvtTwoBodyVertex(double mA, double mB, double mAB, int L)
double phaseSpaceFactor(EvtTwoBodyKine x, EvtTwoBodyKine::Index) const