herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
12 namespace Herwig {
13 
14 using namespace ThePEG;
15 
22 class FullShowerVeto: public Interfaced {
23 
24 public:
25 
29  FullShowerVeto() : type_(1), behaviour_(0) {}
30 
34  int applyVeto(ShowerTreePtr);
35 
39  unsigned int type() const {return type_;}
40 
44  unsigned int behaviour() const {return behaviour_;}
45 
46 protected:
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 
69 public:
70 
77  void persistentOutput(PersistentOStream & os) const;
78 
84  void persistentInput(PersistentIStream & is, int version);
86 
93  static void Init();
94 
95 protected:
96 
104  virtual void doinit();
106 
107 private:
108 
113  FullShowerVeto & operator=(const FullShowerVeto &) = delete;
114 
115 private:
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 */
FullShowerVeto()
The default constructor.
unsigned int type_
Switches.
const vector< tPPtr > & incoming()
Incoming particles to the hard process.
unsigned int type() const
Which type of processes to consider.
const vector< tPPtr > & outgoing()
Outgoing particles from the hard process.
vector< tPPtr > outgoing_
Outgoing from the hard process.
vector< tPPtr > incoming_
Temporary storage.
unsigned int behaviour_
What to do if the event is vetoed.
unsigned int behaviour() const
What to do if the event is vetoed.
Here is the documentation of the FullShowerVeto class.
-*- C++ -*-
vector< tPPtr > finalState_
Final State particles.