ATLAS Offline Software
List of all members
ThePEG::powhegAnalysis Class Reference

#include <powhegAnalysis.h>

Inheritance diagram for ThePEG::powhegAnalysis:
Collaboration diagram for ThePEG::powhegAnalysis:

Public Member Functions

Standard constructors and destructors.
 powhegAnalysis ()
 The default constructor. More...
 
 powhegAnalysis (const powhegAnalysis &)
 The copy constructor. More...
 
Virtual functions required by the AnalysisHandler class.
virtual void analyze (tEventPtr event, long ieve, int loop, int state)
 Analyze a given Event. More...
 

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object. More...
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane. More...
 

Functions used by the persistent I/O system.

void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
static void Init ()
 The standard Init function used to initialize the interfaces. More...
 

Standard Interfaced functions.

static const ClassDescription< powhegAnalysism_initpowhegAnalysis
 The static object used to initialize the description of this class. More...
 
int m_runNumber
 The run number The number identifying the run. More...
 
int m_unitchoice
 Selector for the choice of units. More...
 
unsigned int m_geneventPrecision
 Choice of output precision in GenEvent format. More...
 
virtual void doinitrun ()
 Initialize this object. More...
 
virtual void dofinish ()
 Finalize this object. More...
 
powhegAnalysisoperator= (const powhegAnalysis &)
 The assignment operator is private and must never be called. More...
 

Detailed Description

The powhegAnalysis class outputs ThePEG events in HepMC format.

See also
The interfaces defined for powhegAnalysis.

Definition at line 26 of file powhegAnalysis.h.

Constructor & Destructor Documentation

◆ powhegAnalysis() [1/2]

ThePEG::powhegAnalysis::powhegAnalysis ( )

The default constructor.

◆ powhegAnalysis() [2/2]

ThePEG::powhegAnalysis::powhegAnalysis ( const powhegAnalysis )

The copy constructor.

Member Function Documentation

◆ analyze()

virtual void ThePEG::powhegAnalysis::analyze ( tEventPtr  event,
long  ieve,
int  loop,
int  state 
)
virtual

Analyze a given Event.

Note that a fully generated event may be presented several times, if it has been manipulated in between. The default version of this function will call transform to make a lorentz transformation of the whole event, then extract all final state particles and call analyze(tPVector) of this analysis object and those of all associated analysis objects. The default version will not, however, do anything on events which have not been fully generated, or have been manipulated in any way.

Parameters
eventpointer to the Event to be analyzed.
ievethe event number.
loopthe number of times this event has been presented. If negative the event is now fully generated.
statea number different from zero if the event has been manipulated in some way since it was last presented.

◆ clone()

virtual IBPtr ThePEG::powhegAnalysis::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

◆ dofinish()

virtual void ThePEG::powhegAnalysis::dofinish ( )
protectedvirtual

Finalize this object.

Called in the run phase just after a run has ended. Used eg. to write out statistics.

◆ doinitrun()

virtual void ThePEG::powhegAnalysis::doinitrun ( )
protectedvirtual

Initialize this object.

Called in the run phase just before a run begins.

◆ fullclone()

virtual IBPtr ThePEG::powhegAnalysis::fullclone ( ) const
protectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

◆ Init()

static void ThePEG::powhegAnalysis::Init ( )
static

The standard Init function used to initialize the interfaces.

Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.

◆ operator=()

powhegAnalysis& ThePEG::powhegAnalysis::operator= ( const powhegAnalysis )
private

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void ThePEG::powhegAnalysis::persistentInput ( PersistentIStream &  is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void ThePEG::powhegAnalysis::persistentOutput ( PersistentOStream &  os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

Member Data Documentation

◆ m_geneventPrecision

unsigned int ThePEG::powhegAnalysis::m_geneventPrecision
private

Choice of output precision in GenEvent format.

Definition at line 160 of file powhegAnalysis.h.

◆ m_initpowhegAnalysis

const ClassDescription<powhegAnalysis> ThePEG::powhegAnalysis::m_initpowhegAnalysis
staticprivate

The static object used to initialize the description of this class.

Indicates that this is a concrete class with persistent data.

Definition at line 133 of file powhegAnalysis.h.

◆ m_runNumber

int ThePEG::powhegAnalysis::m_runNumber
private

The run number The number identifying the run.

The run number will be used in the filename of the .top file produced. For example, if run number is 2, pwg-0002-POWHEG+HERWIG7-output.top file containing the histograms will be produced. Values below 1 and above 9999 will be ignored.

Definition at line 150 of file powhegAnalysis.h.

◆ m_unitchoice

int ThePEG::powhegAnalysis::m_unitchoice
private

Selector for the choice of units.

Definition at line 155 of file powhegAnalysis.h.


The documentation for this class was generated from the following file: