YAP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RelativisticBreitWigner.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_RelativisticBreitWigner_h
22 #define yap_RelativisticBreitWigner_h
23 
24 #include "fwd/BlattWeisskopf.h"
25 #include "fwd/DataPartition.h"
26 #include "fwd/DecayChannel.h"
27 #include "fwd/ParticleCombination.h"
28 
29 #include "BreitWigner.h"
31 
32 #include <memory>
33 
34 namespace yap {
35 
49  public BreitWigner,
51 
52 {
53 public:
54 
58  RelativisticBreitWigner(double m = -1, double w = -1) :
60 
63  virtual void checkDecayChannel(const DecayChannel& c) const override;
64 
65 protected:
66 
68  virtual void addDecayChannel(std::shared_ptr<DecayChannel> c) override;
69 
74  virtual void calculateT(DataPartition& D, const std::shared_ptr<ParticleCombination>& pc, unsigned si) const override;
75 
76 private:
77 
79  std::shared_ptr<BlattWeisskopf> BlattWeisskopf_;
80 
81 };
82 
83 }
84 
85 #endif
virtual void calculateT(DataPartition &D, const std::shared_ptr< ParticleCombination > &pc, unsigned si) const override
Definition: RelativisticBreitWigner.cxx:47
Definition: RequiresMeasuredBreakupMomenta.h:30
virtual void checkDecayChannel(const DecayChannel &c) const override
Definition: RelativisticBreitWigner.cxx:33
RelativisticBreitWigner(double m=-1, double w=-1)
Definition: RelativisticBreitWigner.h:58
Class defining a partition of the DataSet.
Definition: DataPartition.h:158
virtual void addDecayChannel(std::shared_ptr< DecayChannel > c) override
Retrieve BlattWeisskopf object from Resonance now that it is added to the Model.
Definition: RelativisticBreitWigner.cxx:18
std::shared_ptr< BlattWeisskopf > BlattWeisskopf_
BlattWeisskopf object needed for width calculation.
Definition: RelativisticBreitWigner.h:79
Class for Breit-Wigner resonance shape.
Definition: BreitWigner.h:43
Class implementing a decay channel.
Definition: DecayChannel.h:40
Class for Relativistic Breit-Wigner resonance shape.
Definition: RelativisticBreitWigner.h:48