ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
Herwig7_i
BB4LHerwig
powhegAnalysis.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// powhegAnalysis.h - (c) Silvia Ferrario Ravasio and Tomas Jezo
4
// inspired by HepMCFile.h which is a part of ThePEG
5
//
6
#ifndef powhegAnalysis_H
7
#define powhegAnalysis_H
8
//
9
// This is the declaration of the powhegAnalysis class.
10
//
11
#include <iostream>
12
#include <fstream>
13
#include "ThePEG/Handlers/AnalysisHandler.h"
14
#include "ThePEG/Repository/CurrentGenerator.h"
15
#include "ThePEG/Repository/EventGenerator.h"
16
#include "
CxxUtils/checker_macros.h
"
17
18
namespace
ThePEG
{
19
26
class
ATLAS_NOT_THREAD_SAFE
powhegAnalysis
:
public
AnalysisHandler {
27
28
public
:
29
32
35
powhegAnalysis
();
36
40
powhegAnalysis
(
const
powhegAnalysis
&);
42
43
public
:
44
47
64
virtual
void
analyze
(tEventPtr event,
long
ieve,
int
loop,
int
state);
66
67
public
:
68
71
75
void
persistentOutput
(PersistentOStream & os)
const
;
76
82
void
persistentInput
(PersistentIStream & is,
int
version);
84
91
static
void
Init
();
92
93
protected
:
94
97
101
virtual
IBPtr
clone
()
const
;
102
107
virtual
IBPtr
fullclone
()
const
;
109
110
protected
:
111
114
118
virtual
void
doinitrun
();
119
124
virtual
void
dofinish
();
126
127
private
:
128
133
static
const
ClassDescription<powhegAnalysis>
m_initpowhegAnalysis
;
134
139
powhegAnalysis
&
operator=
(
const
powhegAnalysis
&);
140
141
private
:
142
150
int
m_runNumber
;
151
155
int
m_unitchoice
;
156
160
unsigned
int
m_geneventPrecision
;
161
};
162
163
}
164
165
#include "ThePEG/Utilities/ClassTraits.h"
166
167
namespace
ThePEG
{
168
170
173
template
<>
174
struct
BaseClassTrait<powhegAnalysis,1> {
176
typedef
AnalysisHandler NthBase;
177
};
178
181
template
<>
182
struct
ClassTraits<
powhegAnalysis
>
183
:
public
ClassTraitsBase<powhegAnalysis> {
185
static
string
className() {
return
"ThePEG::powhegAnalysis"
; }
189
static
string
library() {
return
"powhegHerwigBB4L.so"
; }
190
};
191
193
194
}
195
196
#endif
/* THEPEG_powhegAnalysis_H */
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
ThePEG::powhegAnalysis
The powhegAnalysis class outputs ThePEG events in HepMC format.
Definition
powhegAnalysis.h:26
ThePEG::powhegAnalysis::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::powhegAnalysis::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::powhegAnalysis::doinitrun
virtual void doinitrun()
Initialize this object.
ThePEG::powhegAnalysis::operator=
powhegAnalysis & operator=(const powhegAnalysis &)
The assignment operator is private and must never be called.
ThePEG::powhegAnalysis::m_unitchoice
int m_unitchoice
Selector for the choice of units.
Definition
powhegAnalysis.h:155
ThePEG::powhegAnalysis::m_geneventPrecision
unsigned int m_geneventPrecision
Choice of output precision in GenEvent format.
Definition
powhegAnalysis.h:160
ThePEG::powhegAnalysis::analyze
virtual void analyze(tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
ThePEG::powhegAnalysis::m_runNumber
int m_runNumber
The run number The number identifying the run.
Definition
powhegAnalysis.h:150
ThePEG::powhegAnalysis::powhegAnalysis
powhegAnalysis(const powhegAnalysis &)
The copy constructor.
ThePEG::powhegAnalysis::m_initpowhegAnalysis
static const ClassDescription< powhegAnalysis > m_initpowhegAnalysis
The static object used to initialize the description of this class.
Definition
powhegAnalysis.h:133
ThePEG::powhegAnalysis::powhegAnalysis
powhegAnalysis()
The default constructor.
ThePEG::powhegAnalysis::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::powhegAnalysis::dofinish
virtual void dofinish()
Finalize this object.
ThePEG::powhegAnalysis::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::powhegAnalysis::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG
Definition
BB4LPowhegLesHouchesFileReader.h:22
Generated on
for ATLAS Offline Software by
1.17.0