CGEM BOSS
6.6.5.g
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
24
#include "
EvtGenBase/EvtPoint1D.hh
"
25
#include "
EvtGenBase/EvtAmplitude.hh
"
26
#include "
EvtGenBase/EvtPropBreitWignerRel.hh
"
27
#include "
EvtGenBase/EvtTwoBodyVertex.hh
"
28
29
class
EvtMassAmp
:
public
EvtAmplitude
<EvtPoint1D> {
30
public
:
31
32
EvtMassAmp
(
const
EvtPropBreitWignerRel
& prop,
const
EvtTwoBodyVertex
& vd);
33
EvtMassAmp
(
const
EvtMassAmp
& other);
34
virtual
~EvtMassAmp
();
35
36
virtual
EvtComplex
amplitude
(
const
EvtPoint1D
& p)
const
;
37
38
virtual
EvtAmplitude<EvtPoint1D>
*
clone
()
const
39
{
return
new
EvtMassAmp
(*
this
); }
40
41
void
setBirthVtx
(
const
EvtTwoBodyVertex
& vb)
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
53
private
:
54
55
EvtPropBreitWignerRel
_prop;
56
EvtTwoBodyVertex
_vd;
57
EvtTwoBodyVertex
* _vb;
58
double
_addfactor;
59
60
bool
_useBirthFact;
61
bool
_useDeathFact;
62
bool
_useBirthFactFF;
63
bool
_useDeathFactFF;
64
bool
_fixUpMassForMax;
65
};
66
67
68
#endif
EvtAmplitude.hh
EvtPoint1D.hh
EvtPropBreitWignerRel.hh
EvtTwoBodyVertex.hh
EvtAmplitude
Definition:
EvtAmplitude.hh:18
EvtComplex
Definition:
EvtComplex.hh:28
EvtMassAmp
Definition:
EvtMassAmp.hh:29
EvtMassAmp::addDeathFactFF
void addDeathFactFF()
Definition:
EvtMassAmp.hh:49
EvtMassAmp::setBirthVtx
void setBirthVtx(const EvtTwoBodyVertex &vb)
Definition:
EvtMassAmp.hh:41
EvtMassAmp::~EvtMassAmp
virtual ~EvtMassAmp()
Definition:
EvtMassAmp.cc:41
EvtMassAmp::fixUpMassForMax
void fixUpMassForMax()
Definition:
EvtMassAmp.hh:50
EvtMassAmp::clone
virtual EvtAmplitude< EvtPoint1D > * clone() const
Definition:
EvtMassAmp.hh:38
EvtMassAmp::addBirthFactFF
void addBirthFactFF()
Definition:
EvtMassAmp.hh:48
EvtMassAmp::amplitude
virtual EvtComplex amplitude(const EvtPoint1D &p) const
Definition:
EvtMassAmp.cc:47
EvtMassAmp::addBirthFact
void addBirthFact()
Definition:
EvtMassAmp.hh:46
EvtMassAmp::addFactorPn
void addFactorPn(double factor)
Definition:
EvtMassAmp.hh:51
EvtMassAmp::addDeathFact
void addDeathFact()
Definition:
EvtMassAmp.hh:47
EvtPoint1D
Definition:
EvtPoint1D.hh:16
EvtPropBreitWignerRel
Definition:
EvtPropBreitWignerRel.hh:18
EvtTwoBodyVertex
Definition:
EvtTwoBodyVertex.hh:21
source
Generator
BesEvtGen
BesEvtGen-00-01-96-slc6tag
src
EvtGen
EvtGenBase
EvtMassAmp.hh
Generated by
1.9.6