herwig is hosted by Hepforge, IPPP Durham
Herwig++  2.7.0
Herwig::AcerDet Class Reference

The AcerDet class is designed to interface Herwig++ with the AcerDet fast detector simulation. More...

#include <AcerDet.h>

Inheritance diagram for Herwig::AcerDet:

List of all members.

Public Member Functions

 AcerDet ()
 The default constructor.
Virtual functions required by the AnalysisHandler class.
virtual void analyze (tEventPtr event, long ieve, int loop, int state)
 Analyze a given Event.
unsigned int numberOfPhotons () const
 Members to analyse the information from AcerDet.
const vector< LorentzMomentum > & photonMomentum () const
 Momenta of the photons.
unsigned int numberOfLeptons () const
 Number of leptons.
const vector< LorentzMomentum > & leptonMomentum () const
 Momenta of the leptons.
const vector< int > & leptonID () const
 PDG codes for the leptons.
unsigned int numberOfJets () const
 Number of jets.
const vector< LorentzMomentum > & jetMomentum () const
 Momenta of the jets.
const vector< int > & jetID () const
 PDG codes for the jets (0 for light 5 for bottom) probably not very relible.
const pair< Energy, Energy > & missingETCalorimeter () const
 The missing $E_T$ from the calorimeter.
const pair< Energy, Energy > & missingETNeutrino () const
 The missing $E_T$ from the neutrinos.
const pair< Energy, Energy > & missingETStable () const
 The missing $E_T$ from the user identified stable neutral particles.

Static Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces.

Protected Member Functions

Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
Standard Interfaced functions.
virtual void doinitrun ()
 Initialize this object.
virtual void dofinish ()
 Finalize this object.

Private Member Functions

AcerDetoperator= (const AcerDet &)
 The assignment operator is private and must never be called.

Private Attributes

HepMC::IO_HEPEVT * _converter
 Converter from HepMC to HEPEVT.
unsigned int _nphoton
 Number of photons.
vector< LorentzMomentum > _photonMomentum
 Momenta of the photons.
unsigned int _nlepton
 Number of leptons.
vector< LorentzMomentum > _leptonMomentum
 Momenta of the leptons.
vector< int > _leptonID
 PDG codes for the leptons.
unsigned int _njet
 Number of jets.
vector< LorentzMomentum > _jetMomentum
 Momenta of the jets.
vector< int > _jetID
 PDG codes for the jets.
pair< Energy, Energy > _etcalo
 The missing $E_T$ from the calorimeter.
pair< Energy, Energy > _etneutrino
 The missing $E_T$ from the neutrinos.
pair< Energy, Energy > _etstable
 The missing $E_T$ from the user identified stable neutral particles.

Static Private Attributes

static NoPIOClassDescription
< AcerDet
initAcerDet
 The static object used to initialize the description of this class.

Detailed Description

The AcerDet class is designed to interface Herwig++ with the AcerDet fast detector simulation.

See also:
The interfaces defined for AcerDet.

Definition at line 23 of file AcerDet.h.


Member Function Documentation

virtual void Herwig::AcerDet::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.

Reimplemented from ThePEG::AnalysisHandler.

Reimplemented in Herwig::ZAnalysis, and Herwig::ZAnalysis.

virtual IBPtr Herwig::AcerDet::clone ( ) const [inline, protected, virtual]

Make a simple clone of this object.

Returns:
a pointer to the new object.

Reimplemented from ThePEG::AnalysisHandler.

Reimplemented in Herwig::ZAnalysis, and Herwig::ZAnalysis.

Definition at line 138 of file AcerDet.h.

virtual void Herwig::AcerDet::dofinish ( ) [protected, virtual]

Finalize this object.

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

Reimplemented from ThePEG::InterfacedBase.

Reimplemented in Herwig::ZAnalysis, and Herwig::ZAnalysis.

virtual void Herwig::AcerDet::doinitrun ( ) [protected, virtual]

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from ThePEG::InterfacedBase.

virtual IBPtr Herwig::AcerDet::fullclone ( ) const [inline, protected, virtual]

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

Returns:
a pointer to the new object.

Reimplemented from ThePEG::AnalysisHandler.

Reimplemented in Herwig::ZAnalysis, and Herwig::ZAnalysis.

Definition at line 144 of file AcerDet.h.

static void Herwig::AcerDet::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.

Reimplemented from ThePEG::AnalysisHandler.

Reimplemented in Herwig::ZAnalysis, and Herwig::ZAnalysis.

const pair<Energy,Energy>& Herwig::AcerDet::missingETCalorimeter ( ) const [inline]

The missing $E_T$ from the calorimeter.

Returns:
$p_x$, $p_y$

Definition at line 105 of file AcerDet.h.

const pair<Energy,Energy>& Herwig::AcerDet::missingETNeutrino ( ) const [inline]

The missing $E_T$ from the neutrinos.

Returns:
$p_x$, $p_y$

Definition at line 111 of file AcerDet.h.

const pair<Energy,Energy>& Herwig::AcerDet::missingETStable ( ) const [inline]

The missing $E_T$ from the user identified stable neutral particles.

Returns:
$p_x$, $p_y$

Definition at line 117 of file AcerDet.h.

unsigned int Herwig::AcerDet::numberOfPhotons ( ) const [inline]

Members to analyse the information from AcerDet.

Number of photons

Definition at line 63 of file AcerDet.h.

AcerDet& Herwig::AcerDet::operator= ( const AcerDet ) [private]

The assignment operator is private and must never be called.

In fact, it should not even be implemented.


Member Data Documentation

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

Indicates that this is a concrete class with persistent data.

Definition at line 170 of file AcerDet.h.


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