herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
19namespace Herwig {
20
21using namespace ThePEG;
22
36
37public:
38
46
47public:
48
66 virtual void handle(EventHandler & eh, const tPVector & tagged,
67 const Hint & hint);
69
70public:
71
79
85 void persistentInput(PersistentIStream & is, int version);
87
94 static void Init();
95
96protected:
97
104 virtual IBPtr clone() const {return new_ptr(*this);}
105
110 virtual IBPtr fullclone() const {return new_ptr(*this);}
112
113private:
114
120
121private:
122
127 DecayRadiationGeneratorPtr _generator;
128
132 vector<long> _decayingParticles;
133
137 vector<long> _decayProducts;
138
139};
140
141}
142
143#endif /* HERWIG_QEDRadiationHandler_H */
The QEDRadiationHandler class is designed so that the approach for the generation of QED radiation in...
virtual void handle(EventHandler &eh, const tPVector &tagged, const Hint &hint)
The main function called by the EventHandler class to perform a step.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
DecayRadiationGeneratorPtr _generator
Pointer to the object responsible for generating the radiation in the decays.
virtual IBPtr clone() const
Make a simple clone of this object.
vector< long > _decayingParticles
List of the PDG codes of the decaying particles which should be considered.
QEDRadiationHandler & operator=(const QEDRadiationHandler &)=delete
The assignment operator is private and must never be called.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
static void Init()
The standard Init function used to initialize the interfaces.
QEDRadiationHandler()
The default constructor.
vector< long > _decayProducts
List of the PDG codes of the decay products which should be considered.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPPtr > tPVector