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