herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.5
DtoKPiPiCLEO.h
1 // -*- C++ -*-
2 //
3 // DtoKPiPiCLEO.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4 // Copyright (C) 2002-2017 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_DtoKPiPiCLEO_H
10 #define HERWIG_DtoKPiPiCLEO_H
11 //
12 // This is the declaration of the DtoKPiPiCLEO 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 
32 
33 public:
34 
38  DtoKPiPiCLEO();
39 
46  virtual int modeNumber(bool & cc, tcPDPtr parent,
47  const tPDVector & children) const;
48 
57  double me2( const int ichan,const Particle & part,
58  const ParticleVector & decay, MEOption meopt) const;
59 
65  virtual void dataBaseOutput(ofstream & os,bool header) const;
66 
67 public:
68 
75  void persistentOutput(PersistentOStream & os) const;
76 
82  void persistentInput(PersistentIStream & is, int version);
84 
91  static void Init();
92 
93 protected:
94 
109  Complex amplitude(int ispin, bool f0, Energy mD,
110  Energy mA , Energy mB , Energy mC ,
111  Energy mAB, Energy mAC, Energy mBC,
112  Energy mres, Energy wres) const;
113 
114 protected:
115 
122  virtual IBPtr clone() const {return new_ptr(*this);}
123 
128  virtual IBPtr fullclone() const {return new_ptr(*this);}
130 
131 protected:
132 
140  virtual void doinit();
141 
146  virtual void doinitrun();
148 
149 private:
150 
156 
161  DtoKPiPiCLEO & operator=(const DtoKPiPiCLEO &) = delete;
162 
163 private:
164 
174 
178  Energy _momega;
179 
183  Energy _womega;
184 
188  Energy _mf980;
189 
193  Energy _wf980;
194 
198  double _gpi;
199 
203  double _gK;
204 
208  bool _f0opt;
209 
213  Energy _mf2;
214 
218  Energy _wf2;
219 
223  Energy _mf1370;
224 
228  Energy _wf1370;
229 
233  Energy _mK14300;
234 
238  Energy _wK14300;
239 
243  Energy _mK14302;
244 
248  Energy _wK14302;
249 
253  Energy _mK1680;
254 
258  Energy _wK1680;
259 
263  Energy _mrho1700;
264 
268  Energy _wrho1700;
269 
273  Energy _mK8920;
274 
278  Energy _wK8920;
279 
283  Energy _mK892A;
284 
288  Energy _wK892A;
289 
293  Energy _mK892B;
294 
298  Energy _wK892B;
299 
303  Energy _mrhoA;
304 
308  Energy _wrhoA;
309 
313  Energy _mrhoB;
314 
318  Energy _wrhoB;
320 
328  double _a1NR;
329 
333  double _phi1NR;
334 
338  double _a1rho;
339 
343  double _phi1rho;
344 
348  double _a1Kstarm;
349 
353  double _phi1Kstarm;
354 
358  double _a1Kstar0;
359 
363  double _phi1Kstar0;
364 
368  Energy2 _a1K1430m;
369 
373  double _phi1K1430m;
374 
378  Energy2 _a1K14300;
379 
383  double _phi1K14300;
384 
388  double _a1rho1700;
389 
393  double _phi1rho1700;
394 
398  double _a1K1680;
399 
403  double _phi1K1680;
404 
409 
414 
419 
424 
428  complex<Energy2> _c1K1430m;
429 
433  complex<Energy2> _c1K14300;
434 
439 
445 
453  double _a2Kstarp;
454 
458  double _phi2Kstarp;
459 
463  double _a2rho;
464 
468  double _phi2rho;
469 
473  double _a2omega;
474 
478  double _phi2omega;
479 
483  double _a2Kstarm;
484 
488  double _phi2Kstarm;
489 
493  Energy2 _a2f980;
494 
498  double _phi2f980;
499 
503  InvEnergy2 _a2f2;
504 
508  double _phi2f2;
509 
513  Energy2 _a2f1370;
514 
518  double _phi2f1370;
519 
523  Energy2 _a2K14300;
524 
528  double _phi2K14300;
529 
533  InvEnergy2 _a2K14302;
534 
538  double _phi2K14302;
539 
543  double _a2K1680;
544 
548  double _phi2K1680;
549 
553  double _a2NR;
554 
558  double _phi2NR;
559 
564 
569 
574 
579 
583  complex<Energy2> _c2f980;
584 
588  complex<InvEnergy2> _c2f2;
589 
593  complex<Energy2> _c2f1370;
594 
598  complex<Energy2> _c2K14300;
599 
603  complex<InvEnergy2> _c2K14302;
604 
609 
615 
623  InvEnergy _rD0;
624 
628  InvEnergy _rres;
630 
638  vector<double> _maxwgt;
639 
643  vector<double> _weights;
645 
653  Energy _mpi;
654 
658  Energy _mkp;
659 
663  Energy _mk0;
665 
669  mutable RhoDMatrix _rho;
670 };
671 
672 }
673 
674 #include "ThePEG/Utilities/ClassTraits.h"
675 
676 namespace ThePEG {
677 
682 template <>
683 struct BaseClassTrait<Herwig::DtoKPiPiCLEO,1> {
685  typedef Herwig::DecayIntegrator NthBase;
686 };
687 
690 template <>
691 struct ClassTraits<Herwig::DtoKPiPiCLEO>
692  : public ClassTraitsBase<Herwig::DtoKPiPiCLEO> {
694  static string className() { return "Herwig::DtoKPiPiCLEO"; }
702  static string library() { return "HwSMDecay.so"; }
703 };
704 
707 }
708 
709 #endif /* HERWIG_DtoKPiPiCLEO_H */
Energy _mK892B
Mass of the for .
Definition: DtoKPiPiCLEO.h:293
Energy _mf1370
Mass of the .
Definition: DtoKPiPiCLEO.h:223
double _a1rho
Amplitude of the component.
Definition: DtoKPiPiCLEO.h:338
Complex _c1rho
Complex amplitude of the component.
Definition: DtoKPiPiCLEO.h:413
Complex _c2omega
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:573
Energy _mrhoB
Mass of the for .
Definition: DtoKPiPiCLEO.h:313
double _phi1rho1700
Phase for the component.
Definition: DtoKPiPiCLEO.h:393
double _a2Kstarp
Magnitudes and phases of the amplitudes for .
Definition: DtoKPiPiCLEO.h:453
complex< Energy2 > _c2K14300
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:598
Energy _wK8920
Width of the .
Definition: DtoKPiPiCLEO.h:278
Energy _mK8920
Mass of the .
Definition: DtoKPiPiCLEO.h:273
Energy _mk0
The neutral kaon mass.
Definition: DtoKPiPiCLEO.h:663
double _a2K1680
Amplitude for the .
Definition: DtoKPiPiCLEO.h:543
double _phi2f980
Phase for the .
Definition: DtoKPiPiCLEO.h:498
bool _localparameters
Mass, Widths and related parameters.
Definition: DtoKPiPiCLEO.h:173
std::complex< double > Complex
vector< double > _maxwgt
Parameters for the phase-space integration.
Definition: DtoKPiPiCLEO.h:638
double _phi2K14302
Phase for the .
Definition: DtoKPiPiCLEO.h:538
Energy _mkp
The charged kaon mass.
Definition: DtoKPiPiCLEO.h:658
double _phi1K1430m
Phase for the component.
Definition: DtoKPiPiCLEO.h:373
Complex _c2rho
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:568
Energy2 _a2f1370
Amplitude for the .
Definition: DtoKPiPiCLEO.h:513
RhoDMatrix _rho
Spin density matrix.
Definition: DtoKPiPiCLEO.h:669
double _phi1NR
Phase of the non=resonant component.
Definition: DtoKPiPiCLEO.h:333
Energy _mf2
Mass of the .
Definition: DtoKPiPiCLEO.h:213
InvEnergy2 _a2K14302
Amplitude for the .
Definition: DtoKPiPiCLEO.h:533
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Energy _wf980
Width of the .
Definition: DtoKPiPiCLEO.h:193
Complex _c2K1680
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:608
Energy _womega
Width of the .
Definition: DtoKPiPiCLEO.h:183
double _a2Kstarm
Amplitude for the .
Definition: DtoKPiPiCLEO.h:483
Energy _wrho1700
Width of the .
Definition: DtoKPiPiCLEO.h:268
Complex _c2Kstarp
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:563
complex< InvEnergy2 > _c2K14302
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:603
Energy _momega
Mass of the .
Definition: DtoKPiPiCLEO.h:178
double _phi1Kstarm
Phase of the component.
Definition: DtoKPiPiCLEO.h:353
Complex _c1rho1700
Complex amplitude for the component.
Definition: DtoKPiPiCLEO.h:438
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: DtoKPiPiCLEO.h:128
double _phi2K14300
Phase for the .
Definition: DtoKPiPiCLEO.h:528
double _a2rho
Amplitude for the .
Definition: DtoKPiPiCLEO.h:463
double _a1K1680
Amplitude of the component.
Definition: DtoKPiPiCLEO.h:398
Energy _wK892B
Width of the for .
Definition: DtoKPiPiCLEO.h:298
double _phi2Kstarp
Phase for the .
Definition: DtoKPiPiCLEO.h:458
Energy _mpi
Masses for the Breit-Wigner.
Definition: DtoKPiPiCLEO.h:653
double _gK
coupling for the width
Definition: DtoKPiPiCLEO.h:203
Complex _c1Kstar0
Complex amplitude of the component.
Definition: DtoKPiPiCLEO.h:423
Energy _mrhoA
Mass of the for .
Definition: DtoKPiPiCLEO.h:303
InvEnergy2 _a2f2
Amplitude for the .
Definition: DtoKPiPiCLEO.h:503
double _gpi
coupling for the width
Definition: DtoKPiPiCLEO.h:198
double _phi2rho
Phase for the .
Definition: DtoKPiPiCLEO.h:468
Energy _mK1680
Mass of the .
Definition: DtoKPiPiCLEO.h:253
complex< Energy2 > _c1K14300
Complex amplitude for the component.
Definition: DtoKPiPiCLEO.h:433
Energy _wK892A
Width of the for .
Definition: DtoKPiPiCLEO.h:288
MEOption
Enum for the matrix element option.
double _a1rho1700
Amplitude for the component.
Definition: DtoKPiPiCLEO.h:388
double _phi2NR
Phase of the non=resonant component.
Definition: DtoKPiPiCLEO.h:558
InvEnergy _rD0
Parameters for the Blatt-Weisskopf form-factors.
Definition: DtoKPiPiCLEO.h:623
Energy2 _a1K14300
Amplitude for the component.
Definition: DtoKPiPiCLEO.h:378
complex< Energy2 > _c1K1430m
Complex amplitude for the component.
Definition: DtoKPiPiCLEO.h:428
Energy _mK14302
Mass of the .
Definition: DtoKPiPiCLEO.h:243
complex< Energy2 > _c2f1370
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:593
Energy2 _a2f980
Amplitude for the .
Definition: DtoKPiPiCLEO.h:493
Energy _wf1370
Width of the .
Definition: DtoKPiPiCLEO.h:228
Energy _wK1680
Width of the .
Definition: DtoKPiPiCLEO.h:258
Energy2 _a1K1430m
Amplitude for the component.
Definition: DtoKPiPiCLEO.h:368
vector< tPDPtr > tPDVector
vector< double > _weights
Weights for the channels.
Definition: DtoKPiPiCLEO.h:643
Complex _c1K1680
Complex amplitude of the component.
Definition: DtoKPiPiCLEO.h:443
Complex _c2Kstarm
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:578
double _phi2omega
Phase for the .
Definition: DtoKPiPiCLEO.h:478
double _phi2f2
Phase for the .
Definition: DtoKPiPiCLEO.h:508
double _a2NR
Amplitude of the non-resonant component.
Definition: DtoKPiPiCLEO.h:553
double _a1NR
Magnitudes and phases of the amplitudes for .
Definition: DtoKPiPiCLEO.h:328
Main class for Decayers implementing multi-channel phase space integration.
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
double _phi1Kstar0
Phase of the component.
Definition: DtoKPiPiCLEO.h:363
double _phi2K1680
Phase for the .
Definition: DtoKPiPiCLEO.h:548
double _a2omega
Amplitude for the .
Definition: DtoKPiPiCLEO.h:473
double _phi1K14300
Phase for the component.
Definition: DtoKPiPiCLEO.h:383
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: DtoKPiPiCLEO.h:122
static ClassDescription< DtoKPiPiCLEO > initDtoKPiPiCLEO
The static object used to initialize the description of this class.
Definition: DtoKPiPiCLEO.h:155
Complex _c1NR
Complex amplitude of the non-resonant component.
Definition: DtoKPiPiCLEO.h:408
Energy _wK14300
Width of the .
Definition: DtoKPiPiCLEO.h:238
complex< Energy2 > _c2f980
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:583
Energy _mK892A
Mass of the for .
Definition: DtoKPiPiCLEO.h:283
double _a1Kstarm
Amplitude of the component.
Definition: DtoKPiPiCLEO.h:348
bool _f0opt
Option for handling the width of the .
Definition: DtoKPiPiCLEO.h:208
Complex _c2NR
Complex amplitude of the non-resonant component.
Definition: DtoKPiPiCLEO.h:613
double _a1Kstar0
Amplitude of the component.
Definition: DtoKPiPiCLEO.h:358
The documentation of the DtoKPiPiCLEO class implements the Dalitz plot fits of the CLEO collaboration...
Definition: DtoKPiPiCLEO.h:31
-*- C++ -*-
Energy _wf2
Width of the .
Definition: DtoKPiPiCLEO.h:218
Energy _mrho1700
Mass of the .
Definition: DtoKPiPiCLEO.h:263
double _phi2Kstarm
Phase for the .
Definition: DtoKPiPiCLEO.h:488
double _phi1rho
Phase of the component.
Definition: DtoKPiPiCLEO.h:343
double _phi2f1370
Phase for the .
Definition: DtoKPiPiCLEO.h:518
InvEnergy _rres
Radial size for the light resonances.
Definition: DtoKPiPiCLEO.h:628
Complex _c1Kstarm
Complex amplitude of the component.
Definition: DtoKPiPiCLEO.h:418
Energy _mf980
Mass of the .
Definition: DtoKPiPiCLEO.h:188
Energy _wrhoA
Width of the for .
Definition: DtoKPiPiCLEO.h:308
complex< InvEnergy2 > _c2f2
Complex amplitude for the .
Definition: DtoKPiPiCLEO.h:588
vector< PPtr > ParticleVector
double _phi1K1680
Phase of the component.
Definition: DtoKPiPiCLEO.h:403
Energy _mK14300
Mass of the .
Definition: DtoKPiPiCLEO.h:233
Energy _wrhoB
Width of the for .
Definition: DtoKPiPiCLEO.h:318
Energy _wK14302
Width of the .
Definition: DtoKPiPiCLEO.h:248
Energy2 _a2K14300
Amplitude for the .
Definition: DtoKPiPiCLEO.h:523