herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
FullShowerVeto.h
1// -*- C++ -*-
2#ifndef Herwig_FullShowerVeto_H
3#define Herwig_FullShowerVeto_H
4//
5// This is the declaration of the FullShowerVeto class.
6//
7
8#include "ThePEG/Interface/Interfaced.h"
9#include "FullShowerVeto.fh"
10#include "Herwig/Shower/QTilde/Base/ShowerTree.h"
11
12namespace Herwig {
13
14using namespace ThePEG;
15
23
24public:
25
30
34 int applyVeto(ShowerTreePtr);
35
39 unsigned int type() const {return type_;}
40
44 unsigned int behaviour() const {return behaviour_;}
45
46protected:
47
51 virtual bool vetoShower() = 0;
52
56 const vector<tPPtr> & incoming() {return incoming_;}
57
61 const vector<tPPtr> & outgoing() {return outgoing_;}
62
66 const vector<tPPtr> & finalState();
67
68
69public:
70
78
84 void persistentInput(PersistentIStream & is, int version);
86
93 static void Init();
94
95protected:
96
104 virtual void doinit();
106
107private:
108
114
115private:
116
124 unsigned int type_;
125
129 unsigned int behaviour_;
130 //}
131
139 vector<tPPtr> incoming_;
140
144 vector<tPPtr> outgoing_;
145
149 vector<tPPtr> finalState_;
151};
152
153}
154
155#endif /* Herwig_FullShowerVeto_H */
Here is the documentation of the FullShowerVeto class.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
unsigned int type() const
Which type of processes to consider.
int applyVeto(ShowerTreePtr)
Apply the veto.
const vector< tPPtr > & outgoing()
Outgoing particles from the hard process.
vector< tPPtr > incoming_
Temporary storage.
virtual bool vetoShower()=0
Determine whether to not to veto the shower, to be implemented in inheriting classes.
unsigned int type_
Switches.
FullShowerVeto()
The default constructor.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
vector< tPPtr > outgoing_
Outgoing from the hard process.
unsigned int behaviour() const
What to do if the event is vetoed.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
unsigned int behaviour_
What to do if the event is vetoed.
const vector< tPPtr > & finalState()
The final-state particles at the end of the shower.
const vector< tPPtr > & incoming()
Incoming particles to the hard process.
vector< tPPtr > finalState_
Final State particles.
static void Init()
The standard Init function used to initialize the interfaces.
FullShowerVeto & operator=(const FullShowerVeto &)=delete
The assignment operator is private and must never be called.
-*- C++ -*-