herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
FlatteResonance.h
1// -*- C++ -*-
2#ifndef Herwig_FlatteResonance_H
3#define Herwig_FlatteResonance_H
4//
5// This is the declaration of the FlatteResonance class.
6//
7
8#include "DalitzResonance.h"
9
10namespace Herwig {
11
12using namespace ThePEG;
13
18
19public:
20
27
31 FlatteResonance(long pid, ResonanceType::Type rtype, Energy m, Energy w,
32 unsigned int d1, unsigned int d2, unsigned int s,
33 double mag, double phi, InvEnergy rr, vector<Energy> f)
34 : DalitzResonance(pid,rtype,m,w,d1,d2,s,mag,phi,rr),
35 g_(f)
36 {}
38
39public:
40
44 virtual Complex BreitWigner(const Energy & mAB, const Energy & mA, const Energy & mB) const;
45
49 virtual void dataBaseOutput(ofstream & output);
50
51public:
52
60
66 void persistentInput(PersistentIStream & is, int version);
68
75 static void Init();
76
77private:
78
84
85private:
86
90 vector<Energy> g_;
91
92};
93
94}
95
96#endif /* Herwig_FlatteResonance_H */
The DalitzResonance class provides a container class for information on resonances in multi-body dali...
The FlatteResonance class implements the Flatte line-shape for resonances in Dalitz decays.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
virtual Complex BreitWigner(const Energy &mAB, const Energy &mA, const Energy &mB) const
Return the Breit-Wigner times the form factor.
FlatteResonance(long pid, ResonanceType::Type rtype, Energy m, Energy w, unsigned int d1, unsigned int d2, unsigned int s, double mag, double phi, InvEnergy rr, vector< Energy > f)
Constructor specifiying the parameters.
FlatteResonance & operator=(const FlatteResonance &)=delete
The assignment operator is private and must never be called.
FlatteResonance()
The default constructor.
static void Init()
The standard Init function used to initialize the interfaces.
vector< Energy > g_
Coupling for the width.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual void dataBaseOutput(ofstream &output)
Output the parameters.
-*- C++ -*-
std::complex< double > Complex