herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Analysis
BasicConsistency.h
1
// -*- C++ -*-
2
//
3
// BasicConsistency.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 THEPEG_BasicConsistency_H
10
#define THEPEG_BasicConsistency_H
11
//
12
// This is the declaration of the BasicConsistency class.
13
//
14
15
#include "ThePEG/Handlers/AnalysisHandler.h"
16
17
namespace
Herwig
{
18
using namespace
ThePEG
;
19
28
class
BasicConsistency
:
public
AnalysisHandler
{
29
30
public
:
31
35
BasicConsistency
();
36
56
virtual
void
analyze
(
tEventPtr
event,
long
ieve,
int
loop,
int
state
);
58
59
public
:
60
67
void
persistentOutput
(
PersistentOStream
& os)
const
;
68
74
void
persistentInput
(
PersistentIStream
& is,
int
version);
76
83
static
void
Init
();
84
85
protected
:
86
93
virtual
IBPtr
clone
()
const
;
94
99
virtual
IBPtr
fullclone
()
const
;
101
102
protected
:
103
110
virtual
void
doinitrun
();
111
116
virtual
void
dofinish
();
118
119
private
:
120
125
BasicConsistency
&
operator=
(
const
BasicConsistency
&) =
delete
;
126
127
private
:
128
132
Energy
_epsmom
;
133
137
bool
_checkquark
;
138
142
bool
_checkcharge
;
143
147
bool
_checkcluster
;
148
152
bool
_checkBR
;
153
157
Energy
_absolutemomentumtolerance
;
158
162
double
_relativemomentumtolerance
;
163
164
};
165
166
}
167
168
#endif
/* THEPEG_BasicConsistency_H */
Herwig::BasicConsistency
The BasicConsistency class is a simple analysis which performs a basic analysis of the event checking...
Definition:
BasicConsistency.h:28
Herwig::BasicConsistency::operator=
BasicConsistency & operator=(const BasicConsistency &)=delete
The assignment operator is private and must never be called.
Herwig::BasicConsistency::dofinish
virtual void dofinish()
Finalize this object.
Herwig::BasicConsistency::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::BasicConsistency::_absolutemomentumtolerance
Energy _absolutemomentumtolerance
Maximum absolute momentum deviation before warning.
Definition:
BasicConsistency.h:157
Herwig::BasicConsistency::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::BasicConsistency::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::BasicConsistency::BasicConsistency
BasicConsistency()
The default constructor.
Herwig::BasicConsistency::_relativemomentumtolerance
double _relativemomentumtolerance
Maximum momentum deviation relative to beam energy before warning.
Definition:
BasicConsistency.h:162
Herwig::BasicConsistency::doinitrun
virtual void doinitrun()
Initialize this object.
Herwig::BasicConsistency::analyze
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
Herwig::BasicConsistency::_epsmom
Energy _epsmom
Maximum momentum deviation.
Definition:
BasicConsistency.h:132
Herwig::BasicConsistency::_checkcluster
bool _checkcluster
Check for clusters in the final-state.
Definition:
BasicConsistency.h:147
Herwig::BasicConsistency::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::BasicConsistency::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::BasicConsistency::_checkBR
bool _checkBR
Check the branching ratios.
Definition:
BasicConsistency.h:152
Herwig::BasicConsistency::_checkquark
bool _checkquark
check for quarks
Definition:
BasicConsistency.h:137
Herwig::BasicConsistency::_checkcharge
bool _checkcharge
check for charge conservation
Definition:
BasicConsistency.h:142
ThePEG::AnalysisHandler
ThePEG::InterfacedBase::state
InitState state() const
ThePEG::PersistentIStream
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tEventPtr
ThePEG::Ptr< Event >::transient_pointer tEventPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6