herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
DtoKPiPiMarkIII.h
1 // -*- C++ -*-
2 //
3 // DtoKPiPiMarkIII.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2019 The Herwig Collaboration
5 //
6 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef HERWIG_DtoKPiPiMarkIII_H
10 #define HERWIG_DtoKPiPiMarkIII_H
11 //
12 // This is the declaration of the DtoKPiPiMarkIII class.
13 //
14 
15 #include "Herwig/Decay/DecayIntegrator.h"
16 #include "Herwig/Decay/DecayPhaseSpaceMode.h"
17 
18 namespace Herwig {
19 
20 using namespace ThePEG;
21 
29 
30 public:
31 
36 
43  virtual int modeNumber(bool & cc, tcPDPtr parent,
44  const tPDVector & children) const;
45 
54  double me2( const int ichan,const Particle & part,
55  const ParticleVector & decay, MEOption meopt) const;
56 
62  virtual void dataBaseOutput(ofstream & os,bool header) const;
63 
64 public:
65 
72  void persistentOutput(PersistentOStream & os) const;
73 
79  void persistentInput(PersistentIStream & is, int version);
81 
88  static void Init();
89 
90 protected:
91 
105  Complex amplitude(bool rho, Energy mD,
106  Energy mA , Energy mB , Energy mC ,
107  Energy mAB, Energy mAC, Energy mBC,
108  Energy mres, Energy wres) const;
109 
110 protected:
111 
118  virtual IBPtr clone() const {return new_ptr(*this);}
119 
124  virtual IBPtr fullclone() const {return new_ptr(*this);}
126 
127 protected:
128 
136  virtual void doinit();
137 
142  virtual void doinitrun();
144 
145 private:
146 
151  DtoKPiPiMarkIII & operator=(const DtoKPiPiMarkIII &) = delete;
152 
153 private:
154 
162  double _a1rho;
163 
167  double _phi1rho;
168 
172  double _a1Kstarm;
173 
177  double _phi1Kstarm;
178 
182  double _a1Kstar0;
183 
187  double _phi1Kstar0;
188 
192  double _a1NR;
193 
197  double _phi1NR;
198 
203 
208 
213 
219 
227  double _a2rho;
228 
232  double _phi2rho;
233 
237  double _a2Kstar;
238 
242  double _phi2Kstar;
243 
247  double _a2NR;
248 
252  double _phi2NR;
253 
258 
263 
269 
277  double _a3rho;
278 
282  double _phi3rho;
283 
287  double _a3Kstar;
288 
292  double _phi3Kstar;
293 
297  double _a3NR;
298 
302  double _phi3NR;
303 
308 
313 
319 
327  double _a4Kstar;
328 
332  double _phi4Kstar;
333 
337  double _a4NR;
338 
342  double _phi4NR;
343 
348 
354 
363 
367  Energy _mrhop;
368 
372  Energy _wrhop;
373 
377  Energy _mrho0;
378 
382  Energy _wrho0;
383 
387  Energy _mKstarm;
388 
392  Energy _wKstarm;
393 
397  Energy _mKstar0;
398 
402  Energy _wKstar0;
404 
412  InvEnergy _rrho;
413 
417  InvEnergy _rKstar;
419 
427  vector<double> _maxwgt;
428 
432  vector<double> _weights;
434 
438  mutable RhoDMatrix _rho;
439 };
440 
441 }
442 
443 #endif /* HERWIG_DtoKPiPiMarkIII_H */
Energy _mKstar0
Mass of the .
double _a3NR
Magnitude of the non-resonant component.
double _a2Kstar
Magnitude of the component.
double _a4NR
Magnitude of the non-resonant component.
Complex _c1Kstarm
Magnitude of the component.
double _phi3Kstar
Phase of the component.
Complex _c2rho
Amplitude of the component.
Complex _c1NR
Magnitude of the non-resonant component.
double _phi3rho
Phase of the component.
double _phi1NR
Phase of the non-resonant component.
Energy _wKstarm
Width of the .
std::complex< double > Complex
bool _localparameters
Masses and Widths of the resonances.
double _a1rho
Amplitudes and phases for .
Complex _c4Kstar
Amplitude of the component.
RhoDMatrix _rho
Spin density matrix.
double _a3rho
Amplitudes and phases for .
double _a2rho
Amplitudes and phases for .
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Complex _c3Kstar
Amplitude of the component.
vector< double > _weights
Weights for the different phase-space channels.
Energy _mrho0
Mass of the .
Complex _c3rho
Amplitude of the component.
virtual IBPtr clone() const
Make a simple clone of this object.
InvEnergy _rKstar
radius
MEOption
Enum for the matrix element option.
double _phi1Kstar0
Phase of the component.
double _phi2rho
Phase of the component.
double _phi4Kstar
Phase of the component.
vector< tPDPtr > tPDVector
double _phi2NR
Phase of the non-resonant component.
double _a4Kstar
Amplitudes and phases for .
Energy _wrho0
Width of the .
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
double _phi2Kstar
Phase of the component.
Main class for Decayers implementing multi-channel phase space integration.
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Complex _c1Kstar0
Magnitude of the component.
Energy _wrhop
Width of the .
double _a3Kstar
Magnitude of the component.
double _phi1Kstarm
Phase of the component.
double _a1NR
Magnitude of the non-resonant component.
Complex _c2NR
Amplitude of the non-resonant component.
double _phi3NR
Phase of the non-resonant component.
Here is the documentation of the DtoKPiPiMarkIII class.
Energy _mKstarm
Mass of the .
Complex _c2Kstar
Amplitude of the component.
InvEnergy _rrho
The radii of the mesons for the form-factors.
-*- C++ -*-
Energy _wKstar0
Width of the .
Complex _c3NR
Amplitude of the non-resonant component.
Complex _c1rho
Magnitude of the component.
double _a1Kstar0
Magnitude of the component.
Complex _c4NR
Amplitude of the non-resonant component.
vector< double > _maxwgt
Parameters for the phase-space integration.
vector< PPtr > ParticleVector
double _a2NR
Magnitude of the non-resonant component.
Energy _mrhop
Mass of the .
double _a1Kstarm
Magnitude of the component.
double _phi4NR
Phase of the non-resonant component.
double _phi1rho
Phase of the component.