YAP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PhaseSpaceFactor.h
Go to the documentation of this file.
1 /* YAP - Yet another PWA toolkit
2  Copyright 2015, Technische Universitaet Muenchen,
3  Authors: Daniel Greenwald, Johannes Rauch
4 
5  This program is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
20 
21 #ifndef yap_PhaseSpaceFactor_h
22 #define yap_PhaseSpaceFactor_h
23 
24 #include "fwd/PhaseSpaceFactor.h"
25 
26 #include "fwd/DataPoint.h"
27 #include "fwd/DecayChannel.h"
28 #include "fwd/MassShape.h"
29 #include "fwd/ParticleCombination.h"
30 #include "fwd/SpinAmplitude.h"
31 
32 #include "AmplitudeComponent.h"
33 
34 #include <complex>
35 #include <memory>
36 
37 namespace yap {
38 
43 {
44 public:
46  PhaseSpaceFactor(const ParticleCombinationEqualTo& equal)
48 
50  friend class DecayChannel;
51 };
52 
57 {
58 protected:
59 
66  virtual std::shared_ptr<PhaseSpaceFactor> phaseSpaceFactor(const DecayChannel& dc, const SpinAmplitude& sa, std::shared_ptr<MassShape> ms) = 0;
67 
69  friend class DecayingParticle;
70 
72  friend class Resonance;
73 };
74 
75 }
76 
77 #endif
virtual std::shared_ptr< PhaseSpaceFactor > phaseSpaceFactor(const DecayChannel &dc, const SpinAmplitude &sa, std::shared_ptr< MassShape > ms)=0
const ParticleCombinationEqualTo & equal() const
Definition: DataAccessor.h:47
Definition: PhaseSpaceFactor.h:42
PhaseSpaceFactor(const ParticleCombinationEqualTo &equal)
Constructor.
Definition: PhaseSpaceFactor.h:46
Definition: AmplitudeComponent.h:82
Definition: DecayingParticle.h:51
Class for a particle that will decay and has a mass shape.
Definition: Resonance.h:47
Class implementing a decay channel.
Definition: DecayChannel.h:40
Definition: PhaseSpaceFactor.h:56
Abstract base class implementing a spin amplitude.
Definition: SpinAmplitude.h:46