thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Analysis
RivetAnalysis.h
1
// -*- C++ -*-
2
#ifndef THEPEG_RivetAnalysis_H
3
#define THEPEG_RivetAnalysis_H
4
//
5
// This is the declaration of the RivetAnalysis class.
6
//
7
8
#include "ThePEG/Handlers/AnalysisHandler.h"
9
#include "Rivet/AnalysisHandler.hh"
10
11
namespace
ThePEG
{
12
19
class
RivetAnalysis
:
public
ThePEG::AnalysisHandler
{
20
21
public
:
22
26
RivetAnalysis
();
27
28
public
:
29
49
virtual
void
analyze
(
ThePEG::tEventPtr
event,
long
ieve,
int
loop,
int
state
);
51
52
public
:
53
60
void
persistentOutput
(
ThePEG::PersistentOStream
& os)
const
;
61
67
void
persistentInput
(
ThePEG::PersistentIStream
& is,
int
version);
69
76
static
void
Init
();
77
78
protected
:
79
86
virtual
ThePEG::IBPtr
clone
()
const
;
87
92
virtual
ThePEG::IBPtr
fullclone
()
const
;
94
95
protected
:
96
102
virtual
void
doinit
();
103
108
virtual
void
doinitrun
();
109
114
virtual
void
dofinish
();
116
117
private
:
118
123
static
ThePEG::ClassDescription<RivetAnalysis>
initRivetAnalysis
;
124
129
RivetAnalysis
&
operator=
(
const
RivetAnalysis
&) =
delete
;
130
131
private
:
132
136
vector<string>
_analyses
;
137
141
vector<string>
_preload
;
142
146
vector<string>
_paths
;
147
151
string
_filename
;
152
156
bool
_debug
;
157
161
Rivet::AnalysisHandler *
_rivet
;
162
166
unsigned
long
_nevent
;
167
171
bool
_checkBeams
;
172
};
173
174
}
175
176
#endif
/* THEPEG_RivetAnalysis_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::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::RivetAnalysis
Here is the documentation of the RivetAnalysis class.
Definition:
RivetAnalysis.h:19
ThePEG::RivetAnalysis::doinit
virtual void doinit()
Initialize this object.
ThePEG::RivetAnalysis::_nevent
unsigned long _nevent
Event count.
Definition:
RivetAnalysis.h:166
ThePEG::RivetAnalysis::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG::RivetAnalysis::_debug
bool _debug
Enable debugging information from Rivet.
Definition:
RivetAnalysis.h:156
ThePEG::RivetAnalysis::_paths
vector< string > _paths
Search paths for finding rivet analyses.
Definition:
RivetAnalysis.h:146
ThePEG::RivetAnalysis::persistentInput
void persistentInput(ThePEG::PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::RivetAnalysis::analyze
virtual void analyze(ThePEG::tEventPtr event, long ieve, int loop, int state)
Analyze a given Event.
ThePEG::RivetAnalysis::clone
virtual ThePEG::IBPtr clone() const
Make a simple clone of this object.
ThePEG::RivetAnalysis::_analyses
vector< string > _analyses
The Analyses to use.
Definition:
RivetAnalysis.h:136
ThePEG::RivetAnalysis::_filename
string _filename
The base name of the output file.
Definition:
RivetAnalysis.h:151
ThePEG::RivetAnalysis::persistentOutput
void persistentOutput(ThePEG::PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::RivetAnalysis::dofinish
virtual void dofinish()
Finalize this object.
ThePEG::RivetAnalysis::_rivet
Rivet::AnalysisHandler * _rivet
The RivetAnalysisHandler.
Definition:
RivetAnalysis.h:161
ThePEG::RivetAnalysis::_checkBeams
bool _checkBeams
Disable beam check.
Definition:
RivetAnalysis.h:171
ThePEG::RivetAnalysis::RivetAnalysis
RivetAnalysis()
The default constructor.
ThePEG::RivetAnalysis::operator=
RivetAnalysis & operator=(const RivetAnalysis &)=delete
The assignment operator is private and must never be called.
ThePEG::RivetAnalysis::doinitrun
virtual void doinitrun()
Initialize this object.
ThePEG::RivetAnalysis::fullclone
virtual ThePEG::IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::RivetAnalysis::initRivetAnalysis
static ThePEG::ClassDescription< RivetAnalysis > initRivetAnalysis
The static object used to initialize the description of this class.
Definition:
RivetAnalysis.h:123
ThePEG::RivetAnalysis::_preload
vector< string > _preload
Yoda files to be preloaded.
Definition:
RivetAnalysis.h:141
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6