herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
SOPHTY.h
1 // -*- C++ -*-
2 //
3 // SOPHTY.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_SOPHTY_H
10 #define HERWIG_SOPHTY_H
11 //
12 // This is the declaration of the SOPHTY class.
13 //
14 
15 #include "DecayRadiationGenerator.h"
16 #include "FFDipole.fh"
17 #include "IFDipole.fh"
18 
19 namespace Herwig {
20 
21 using namespace ThePEG;
22 
31 
32 public:
33 
37  SOPHTY() : colouredOption_(0) {}
38 
47  virtual ParticleVector generatePhotons(const Particle & p,ParticleVector children,
48  tDecayIntegratorPtr decayer);
49 
50 public:
51 
58  void persistentOutput(PersistentOStream & os) const;
59 
65  void persistentInput(PersistentIStream & is, int version);
67 
74  static void Init();
75 
76 protected:
77 
84  virtual IBPtr clone() const {return new_ptr(*this);}
85 
90  virtual IBPtr fullclone() const {return new_ptr(*this);}
92 
93 private:
94 
99  SOPHTY & operator=(const SOPHTY &) = delete;
100 
101 private:
102 
106  FFDipolePtr FFDipole_;
107 
111  IFDipolePtr IFDipole_;
112 
116  unsigned int colouredOption_;
117 };
118 
119 }
120 
121 #endif /* HERWIG_SOPHTY_H */
unsigned int colouredOption_
Option for the treatment of radiation from coloured particles.
Definition: SOPHTY.h:116
IFDipolePtr IFDipole_
The initial-final dipole.
Definition: SOPHTY.h:111
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
virtual IBPtr clone() const
Make a simple clone of this object.
Definition: SOPHTY.h:84
Here is the documentation of the SOPHTY class.
Definition: SOPHTY.h:30
The DecayRadiationGenerator class is the base class for classes generating QED radiation in particle ...
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition: SOPHTY.h:90
SOPHTY()
Default constructor.
Definition: SOPHTY.h:37
-*- C++ -*-
FFDipolePtr FFDipole_
The final-final dipole.
Definition: SOPHTY.h:106
vector< PPtr > ParticleVector