BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMassAmp.hh
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// File and Version Information:
3// $Id: EvtMassAmp.hh,v 1.2 2011/01/06 22:57:56 pingrg Exp $
4//
5// Environment:
6// This software is part of the EvtGen package developed jointly
7// for the BaBar and CLEO collaborations. If you use all or part
8// of it, please give an appropriate acknowledgement.
9//
10// Copyright Information:
11// Copyright (C) 1998 Caltech, UCSB
12//
13// Module creator:
14// Alexei Dvoretskii, Caltech, 2001-2002.
15//-----------------------------------------------------------------------
16
17// Relativistic lineshape for a two-body decay of a resonance to two
18// pseudoscalars. The mass dependence of the width and the vertex factors
19// are included in the calculation.
20
21#ifndef EVT_MASSAMP_HH
22#define EVT_MASSAMP_HH
23
28
29class EvtMassAmp : public EvtAmplitude<EvtPoint1D> {
30public:
31
33 EvtMassAmp(const EvtMassAmp& other);
34 virtual ~EvtMassAmp();
35
36 virtual EvtComplex amplitude(const EvtPoint1D& p) const;
37
39 { return new EvtMassAmp(*this); }
40
42 {
43 _vb = new EvtTwoBodyVertex(vb);
44 }
45
46 void addBirthFact() { _useBirthFact = true; }
47 void addDeathFact() { _useDeathFact = true; }
48 void addBirthFactFF() { _useBirthFactFF = true; }
49 void addDeathFactFF() { _useDeathFactFF = true; }
50 void fixUpMassForMax() { _fixUpMassForMax = true;}
51 void addFactorPn(double factor){_addfactor = factor;}
52
53private:
54
58 double _addfactor;
59
60 bool _useBirthFact;
61 bool _useDeathFact;
62 bool _useBirthFactFF;
63 bool _useDeathFactFF;
64 bool _fixUpMassForMax;
65};
66
67
68#endif
void addDeathFactFF()
Definition: EvtMassAmp.hh:49
void setBirthVtx(const EvtTwoBodyVertex &vb)
Definition: EvtMassAmp.hh:41
virtual ~EvtMassAmp()
Definition: EvtMassAmp.cc:41
void fixUpMassForMax()
Definition: EvtMassAmp.hh:50
virtual EvtAmplitude< EvtPoint1D > * clone() const
Definition: EvtMassAmp.hh:38
void addBirthFactFF()
Definition: EvtMassAmp.hh:48
virtual EvtComplex amplitude(const EvtPoint1D &p) const
Definition: EvtMassAmp.cc:47
void addBirthFact()
Definition: EvtMassAmp.hh:46
void addFactorPn(double factor)
Definition: EvtMassAmp.hh:51
void addDeathFact()
Definition: EvtMassAmp.hh:47