herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
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 */
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::BasicConsistency
The BasicConsistency class is a simple analysis which performs a basic analysis of the event checking...
Definition:
BasicConsistency.h:28
ThePEG
ThePEG::AnalysisHandler
Herwig::BasicConsistency::_absolutemomentumtolerance
Energy _absolutemomentumtolerance
Maximum absolute momentum deviation before warning.
Definition:
BasicConsistency.h:157
Herwig::BasicConsistency::_checkcluster
bool _checkcluster
Check for clusters in the final-state.
Definition:
BasicConsistency.h:147
Herwig::BasicConsistency::_checkcharge
bool _checkcharge
check for charge conservation
Definition:
BasicConsistency.h:142
Herwig::BasicConsistency::_epsmom
Energy _epsmom
Maximum momentum deviation.
Definition:
BasicConsistency.h:132
Herwig::BasicConsistency::_relativemomentumtolerance
double _relativemomentumtolerance
Maximum momentum deviation relative to beam energy before warning.
Definition:
BasicConsistency.h:162
ThePEG::tEventPtr
ThePEG::Ptr< Event >::transient_pointer tEventPtr
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
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
Generated on Sat Apr 11 2020 14:50:28 for Herwig by
1.8.13