thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Analysis
NLORivetAnalysis.h
1
// -*- C++ -*-
2
#ifndef THEPEG_NLORivetAnalysis_H
3
#define THEPEG_NLORivetAnalysis_H
4
//
5
// This is the declaration of the NLORivetAnalysis class.
6
//
7
8
#include "ThePEG/Handlers/AnalysisHandler.h"
9
#include "Rivet/AnalysisHandler.hh"
10
11
namespace
ThePEG
{
12
19
class
NLORivetAnalysis
:
public
ThePEG::AnalysisHandler
{
20
21
public
:
22
26
NLORivetAnalysis
();
27
28
public
:
29
49
virtual
void
analyze
(
ThePEG::tEventPtr
event,
long
ieve,
int
loop,
int
state
);
50
52
53
public
:
54
61
void
persistentOutput
(
ThePEG::PersistentOStream
& os)
const
;
62
68
void
persistentInput
(
ThePEG::PersistentIStream
& is,
int
version);
70
77
static
void
Init
();
78
79
protected
:
80
87
virtual
ThePEG::IBPtr
clone
()
const
;
88
93
virtual
ThePEG::IBPtr
fullclone
()
const
;
95
96
protected
:
97
103
virtual
void
doinit
();
104
109
virtual
void
doinitrun
();
110
115
virtual
void
dofinish
();
117
118
private
:
119
124
static
ThePEG::ClassDescription<NLORivetAnalysis>
initNLORivetAnalysis
;
125
130
NLORivetAnalysis
&
operator=
(
const
NLORivetAnalysis
&) =
delete
;
131
132
private
:
136
long
_remnantId
;
137
141
int
_unitchoice
;
142
146
vector<string>
_analyses
;
147
151
string
filename
;
152
156
bool
debug
;
157
161
Rivet::AnalysisHandler *
_rivet
;
162
166
unsigned
long
_nevent
;
167
};
168
169
}
170
171
#include "ThePEG/Utilities/ClassTraits.h"
172
173
namespace
ThePEG
{
174
179
template
<>
180
struct
BaseClassTrait<NLORivetAnalysis,1> {
182
typedef
AnalysisHandler
NthBase
;
183
};
184
187
template
<>
188
struct
ClassTraits<NLORivetAnalysis>
189
:
public
ClassTraitsBase<NLORivetAnalysis> {
191
static
string
className
() {
return
"ThePEG::NLORivetAnalysis"
; }
199
static
string
library
() {
return
"RivetAnalysis.so"
; }
200
};
201
204
}
205
206
#endif
/* THEPEG_NLORivetAnalysis_H */
ThePEG::AnalysisHandler
The AnalysisHandler is the base class of all analysis objects which may be handled by the FullEventGe...
Definition:
AnalysisHandler.h:41
ThePEG::ClassDescription
A concreate implementation of ClassDescriptionBase describing a concrete class with persistent data.
Definition:
ClassDescription.h:333
ThePEG::InterfacedBase::state
InitState state() const
Return the state of initialization of this object.
Definition:
InterfacedBase.h:298
ThePEG::NLORivetAnalysis
Here is the documentation of the NLORivetAnalysis class.
Definition:
NLORivetAnalysis.h:19
ThePEG::NLORivetAnalysis::doinit
virtual void doinit()
Initialize this object.
ThePEG::NLORivetAnalysis::_unitchoice
int _unitchoice
Selector for the choice of units.
Definition:
NLORivetAnalysis.h:141
ThePEG::NLORivetAnalysis::_nevent
unsigned long _nevent
Event count.
Definition:
NLORivetAnalysis.h:166
ThePEG::NLORivetAnalysis::debug
bool debug
Enable debugging information from NLORivet.
Definition:
NLORivetAnalysis.h:156
ThePEG::NLORivetAnalysis::doinitrun
virtual void doinitrun()
Initialize this object.
ThePEG::NLORivetAnalysis::_analyses
vector< string > _analyses
The Analyses to use.
Definition:
NLORivetAnalysis.h:146
ThePEG::NLORivetAnalysis::initNLORivetAnalysis
static ThePEG::ClassDescription< NLORivetAnalysis > initNLORivetAnalysis
The static object used to initialize the description of this class.
Definition:
NLORivetAnalysis.h:124
ThePEG::NLORivetAnalysis::filename
string filename
The base name of the output file.
Definition:
NLORivetAnalysis.h:151
ThePEG::NLORivetAnalysis::NLORivetAnalysis
NLORivetAnalysis()
The default constructor.
ThePEG::NLORivetAnalysis::operator=
NLORivetAnalysis & operator=(const NLORivetAnalysis &)=delete
The assignment operator is private and must never be called.
ThePEG::NLORivetAnalysis::_rivet
Rivet::AnalysisHandler * _rivet
The NLORivetAnalysisHandler.
Definition:
NLORivetAnalysis.h:161
ThePEG::NLORivetAnalysis::analyze
virtual void analyze(ThePEG::tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
ThePEG::NLORivetAnalysis::dofinish
virtual void dofinish()
Finalize this object.
ThePEG::NLORivetAnalysis::clone
virtual ThePEG::IBPtr clone() const
Make a simple clone of this object.
ThePEG::NLORivetAnalysis::persistentOutput
void persistentOutput(ThePEG::PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::NLORivetAnalysis::fullclone
virtual ThePEG::IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::NLORivetAnalysis::_remnantId
long _remnantId
The PDG ID to be used for remnants.
Definition:
NLORivetAnalysis.h:136
ThePEG::NLORivetAnalysis::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG::NLORivetAnalysis::persistentInput
void persistentInput(ThePEG::PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::PersistentIStream
PersistentIStream is used to read persistent objects from a stream where they were previously written...
Definition:
PersistentIStream.h:48
ThePEG::PersistentOStream
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
Definition:
PersistentOStream.h:51
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Pointer::TransientRCPtr
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
Definition:
RCPtr.h:519
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::BaseClassTrait::NthBase
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
Definition:
ClassTraits.h:161
ThePEG::ClassTraitsBase::className
static string className()
Return the name of class T.
Definition:
ClassTraits.h:66
ThePEG::ClassTraitsBase::library
static string library()
The name of a file containing the dynamic library where the class T is implemented.
Definition:
ClassTraits.h:85
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6