]>
Commit | Line | Data |
---|---|---|
da0e9ce3 | 1 | /******************************************************************************* |
2 | * Project: BaBar detector at the SLAC PEP-II B-factory | |
3 | * Package: EvtGenBase | |
4 | * Author: D. Dujmic, ddujmic@slac.stanford.edu | |
5 | * | |
6 | * Copyright (C) 2005 SLAC | |
7 | *******************************************************************************/ | |
8 | ||
9 | #ifndef EVT_PTO3P_AMP_SMPRSL_HH | |
10 | #define EVT_PTO3P_AMP_SMPRSL_HH | |
11 | ||
12 | #include "EvtGenBase/EvtPto3PAmp.hh" | |
13 | #include "EvtGenBase/EvtCyclic3.hh" | |
14 | ||
15 | ||
16 | class EvtComplex; | |
17 | ||
18 | class EvtPto3PAmpSmpResolution : public EvtPto3PAmp { | |
19 | ||
20 | ||
21 | public: | |
22 | ||
23 | ||
24 | EvtPto3PAmpSmpResolution(EvtDalitzPlot dp, | |
25 | EvtCyclic3::Pair pairAng, EvtCyclic3::Pair pairRes, | |
26 | EvtSpinType::spintype spin, | |
27 | const EvtPropagator& prop, NumType typeN); | |
28 | ||
29 | ||
30 | EvtPto3PAmpSmpResolution(const EvtPto3PAmp& other); | |
31 | ||
32 | ~EvtPto3PAmpSmpResolution(); | |
33 | ||
34 | virtual EvtAmplitude<EvtDalitzPoint>* clone() const | |
35 | { return new EvtPto3PAmpSmpResolution(*this); } | |
36 | ||
37 | ||
38 | virtual EvtComplex evalPropagator(double m) const; | |
39 | ||
40 | void setResolution(double bias, double sigma) { | |
41 | _bias=bias; _sigma=sigma; | |
42 | } | |
43 | ||
44 | ||
45 | private: | |
46 | double _bias; | |
47 | double _sigma; | |
48 | }; | |
49 | ||
50 | #endif | |
51 | ||
52 | ||
53 | ||
54 | ||
55 | ||
56 | ||
57 | ||
58 |