herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
QTilde
Base
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 */
Herwig::FullShowerVeto
Here is the documentation of the FullShowerVeto class.
Definition:
FullShowerVeto.h:22
Herwig::FullShowerVeto::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::FullShowerVeto::type
unsigned int type() const
Which type of processes to consider.
Definition:
FullShowerVeto.h:39
Herwig::FullShowerVeto::applyVeto
int applyVeto(ShowerTreePtr)
Apply the veto.
Herwig::FullShowerVeto::outgoing
const vector< tPPtr > & outgoing()
Outgoing particles from the hard process.
Definition:
FullShowerVeto.h:61
Herwig::FullShowerVeto::incoming_
vector< tPPtr > incoming_
Temporary storage.
Definition:
FullShowerVeto.h:139
Herwig::FullShowerVeto::vetoShower
virtual bool vetoShower()=0
Determine whether to not to veto the shower, to be implemented in inheriting classes.
Herwig::FullShowerVeto::type_
unsigned int type_
Switches.
Definition:
FullShowerVeto.h:124
Herwig::FullShowerVeto::FullShowerVeto
FullShowerVeto()
The default constructor.
Definition:
FullShowerVeto.h:29
Herwig::FullShowerVeto::doinit
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
Herwig::FullShowerVeto::outgoing_
vector< tPPtr > outgoing_
Outgoing from the hard process.
Definition:
FullShowerVeto.h:144
Herwig::FullShowerVeto::behaviour
unsigned int behaviour() const
What to do if the event is vetoed.
Definition:
FullShowerVeto.h:44
Herwig::FullShowerVeto::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::FullShowerVeto::behaviour_
unsigned int behaviour_
What to do if the event is vetoed.
Definition:
FullShowerVeto.h:129
Herwig::FullShowerVeto::finalState
const vector< tPPtr > & finalState()
The final-state particles at the end of the shower.
Herwig::FullShowerVeto::incoming
const vector< tPPtr > & incoming()
Incoming particles to the hard process.
Definition:
FullShowerVeto.h:56
Herwig::FullShowerVeto::finalState_
vector< tPPtr > finalState_
Final State particles.
Definition:
FullShowerVeto.h:149
Herwig::FullShowerVeto::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::FullShowerVeto::operator=
FullShowerVeto & operator=(const FullShowerVeto &)=delete
The assignment operator is private and must never be called.
ThePEG::Interfaced
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6