InteractionGenerator Class Reference

ABC defines InteractionGenerator interface. More...

#include <InteractionGenerator.h>

Inheritance diagram for InteractionGenerator:
InterGen_Neugen

List of all members.

Public Member Functions

 InteractionGenerator ()
virtual ~InteractionGenerator ()
virtual void Configure (const char *option="")=0
 Configure the generator from a text string.
virtual double CalcXsec (TParticle &nu, TParticle &tgt)=0
 Calculate the cross section nu + tgt.
virtual void Generate (TParticle &nu, TParticle &tgt)=0
 Generate an event.
virtual int GetErrorCode ()=0
 Return the generated event info.
virtual unsigned int GetNumParticles ()=0
virtual TParticle GetGeneratedParticle (unsigned int i)=0

Detailed Description

ABC defines InteractionGenerator interface.

Author:
(last to touch it)
Author
rhatcher
Version:
Revision
1.3
Date:
Date
2006/06/06 05:06:26

Contact: rhatcher@fnal.gov

Created on: Wed Apr 13 18:16:24 2005

Id
InteractionGenerator.h,v 1.3 2006/06/06 05:06:26 rhatcher Exp

Definition at line 28 of file InteractionGenerator.h.


Constructor & Destructor Documentation

InteractionGenerator::InteractionGenerator (  )  [inline]

Definition at line 31 of file InteractionGenerator.h.

00031 {};

virtual InteractionGenerator::~InteractionGenerator (  )  [inline, virtual]

Definition at line 32 of file InteractionGenerator.h.

00032 {};


Member Function Documentation

virtual double InteractionGenerator::CalcXsec ( TParticle &  nu,
TParticle &  tgt 
) [pure virtual]

Calculate the cross section nu + tgt.

Implemented in InterGen_Neugen.

Referenced by NuTransport::GenerateEvent().

virtual void InteractionGenerator::Configure ( const char *  option = ""  )  [pure virtual]

Configure the generator from a text string.

Public interface:- Each generator that inherits from this interface must supply the following methods:

Implemented in InterGen_Neugen.

Referenced by EvtKinNuModule::BeginJob().

virtual void InteractionGenerator::Generate ( TParticle &  nu,
TParticle &  tgt 
) [pure virtual]

Generate an event.

Implemented in InterGen_Neugen.

Referenced by NuTransport::GenerateEvent().

virtual int InteractionGenerator::GetErrorCode (  )  [pure virtual]

Return the generated event info.

Implemented in InterGen_Neugen.

virtual TParticle InteractionGenerator::GetGeneratedParticle ( unsigned int  i  )  [pure virtual]

Implemented in InterGen_Neugen.

Referenced by NuTransport::CreateStdHepList().

virtual unsigned int InteractionGenerator::GetNumParticles (  )  [pure virtual]

Implemented in InterGen_Neugen.

Referenced by NuTransport::CreateStdHepList().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1