herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
QEDRadiationHandler.h
1 // -*- C++ -*-
2 //
3 // QEDRadiationHandler.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_QEDRadiationHandler_H
10 #define HERWIG_QEDRadiationHandler_H
11 //
12 // This is the declaration of the QEDRadiationHandler class.
13 //
14 
15 #include "ThePEG/Handlers/StepHandler.h"
16 #include "DecayRadiationGenerator.fh"
17 #include "QEDRadiationHandler.fh"
18 
19 namespace Herwig {
20 
21 using namespace ThePEG;
22 
36 
37 public:
38 
46 
47 public:
48 
66  virtual void handle(EventHandler & eh, const tPVector & tagged,
67  const Hint & hint);
69 
70 public:
71 
78  void persistentOutput(PersistentOStream & os) const;
79 
85  void persistentInput(PersistentIStream & is, int version);
87 
94  static void Init();
95 
96 protected:
97 
104  virtual IBPtr clone() const {return new_ptr(*this);}
105 
110  virtual IBPtr fullclone() const {return new_ptr(*this);}
112 
113 private:
114 
119  QEDRadiationHandler & operator=(const QEDRadiationHandler &) = delete;
120 
121 private:
122 
127  DecayRadiationGeneratorPtr _generator;
128 
132  vector<long> _decayingParticles;
133 
137  vector<long> _decayProducts;
138 
139 };
140 
141 }
142 
143 #endif /* HERWIG_QEDRadiationHandler_H */
vector< long > _decayingParticles
List of the PDG codes of the decaying particles which should be considered.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
virtual IBPtr clone() const
Make a simple clone of this object.
vector< long > _decayProducts
List of the PDG codes of the decay products which should be considered.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
-*- C++ -*-
vector< tPPtr > tPVector
DecayRadiationGeneratorPtr _generator
Pointer to the object responsible for generating the radiation in the decays.
The QEDRadiationHandler class is designed so that the approach for the generation of QED radiation in...