Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

BaseApp Class Reference

#include <BaseApp.h>

Inheritance diagram for BaseApp:

ShowerTest TestApp List of all members.

Public Methods

 BaseApp ()
virtual ~BaseApp ()
BaseApp& addInteractor (Interactor*)
BaseApp& setWorld (World* w)
BaseApp& setGenerator ( Generator* g)
Worldworld ()
Generatorgenerator ()
BaseApp& setBeam (const char* name, const Vector& p, const Point& r)
const char* run (unsigned long events=1)
void stop ()
const char* trigger ()
virtual void endEvent ()
virtual void beginEvent ()
void clearResponse ()
void clearEvent ()
void printEvent (std::ostream& = std::cout)
void printPDT (std::ostream& = std::cout)
void printMaterials (std::ostream& = std::cout)
void printResponse (std::ostream& = std::cout)
void printDetector (std::ostream& = std::cout)

Public Attributes

unsigned long eventNumber

Private Attributes

World_world
Generator_generator

Constructor & Destructor Documentation

BaseApp::BaseApp ( )
 

Definition at line 19 of file BaseApp.cxx.

BaseApp::~BaseApp ( ) [virtual]
 

Definition at line 52 of file BaseApp.cxx.


Member Function Documentation

BaseApp & BaseApp::addInteractor ( Interactor * inter )
 

Definition at line 48 of file BaseApp.cxx.

Referenced by USEGUI().

void BaseApp::beginEvent ( ) [inline, virtual]
 

Definition at line 66 of file BaseApp.h.

Referenced by trigger().

void BaseApp::clearEvent ( )
 

Definition at line 161 of file BaseApp.cxx.

Referenced by trigger().

void BaseApp::clearResponse ( ) [inline]
 

Definition at line 69 of file BaseApp.h.

Referenced by trigger().

void BaseApp::endEvent ( ) [inline, virtual]
 

Reimplemented in TestApp, and ShowerTest.

Definition at line 63 of file BaseApp.h.

Referenced by trigger().

Generator & BaseApp::generator ( )
 

Definition at line 61 of file BaseApp.cxx.

void BaseApp::printDetector ( ostream & os = std::cout )
 

Definition at line 189 of file BaseApp.cxx.

void BaseApp::printEvent ( ostream & os = std::cout )
 

Definition at line 172 of file BaseApp.cxx.

void BaseApp::printMaterials ( ostream & os = std::cout )
 

Definition at line 155 of file BaseApp.cxx.

void BaseApp::printPDT ( ostream & os = std::cout )
 

Definition at line 165 of file BaseApp.cxx.

void BaseApp::printResponse ( ostream & os = std::cout )
 

Definition at line 182 of file BaseApp.cxx.

Referenced by USEGUI().

const char * BaseApp::run ( unsigned long nevent = 1 )
 

Definition at line 104 of file BaseApp.cxx.

Referenced by USEGUI().

BaseApp & BaseApp::setBeam ( const char * name,
const Vector & p,
const Point & r )
 

Definition at line 26 of file BaseApp.cxx.

Referenced by ShowerTest::init(), and TestApp::init().

BaseApp & BaseApp::setGenerator ( Generator * newgen )
 

Definition at line 40 of file BaseApp.cxx.

Referenced by USEGUI(), and setBeam().

BaseApp & BaseApp::setWorld ( World * w )
 

Definition at line 32 of file BaseApp.cxx.

Referenced by USEGUI(), ShowerTest::init(), and TestApp::init().

void BaseApp::stop ( )
 

Definition at line 130 of file BaseApp.cxx.

const char * BaseApp::trigger ( )
 

Definition at line 136 of file BaseApp.cxx.

Referenced by run().

World & BaseApp::world ( )
 

Definition at line 57 of file BaseApp.cxx.


Member Data Documentation

Generator * BaseApp::_generator [private]
 

Definition at line 84 of file BaseApp.h.

World * BaseApp::_world [private]
 

Definition at line 83 of file BaseApp.h.

unsigned long BaseApp::eventNumber
 

Definition at line 57 of file BaseApp.h.


The documentation for this class was generated from the following files:
Generated at Mon Nov 26 18:18:37 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000