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

FastShower::RTest Class Reference

#include <RTest.h>

Inheritance diagram for FastShower::RTest:

Inheritance graph
[legend]
Collaboration diagram for FastShower::RTest:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void execute ()
virtual void finalise () const

Private Attributes

RTestParameterGenerator m_generator

Member Function Documentation

void FastShower::RTest::execute   [virtual]
 

Implements FastShower::IShowerDemo.

Definition at line 13 of file RTest.cxx.

References FastShower::IShowerDemo::gridletForger(), m_generator, FastShower::GridletForger::makeGridlet(), FastShower::RTestParameterGenerator::next(), and FastShower::RTestParameterGenerator::report().

00013                      {
00014     cout<<"*****************************************"<<endl;
00015     cout<<"*        RTest Execute                  *"<<endl;
00016     cout<<"*****************************************"<<endl;
00017     
00018     ParticleInfo* pi;
00019     bool more = true;
00020     
00021     while(more){
00022       if(!(pi  = m_generator.next()) ){
00023         m_generator.report();
00024         cout<<"End of run"<<endl;
00025         more = false;
00026       }else{
00027         //      cout<<*pp;
00028         Gridlet* g = gridletForger()->makeGridlet(*pi);
00029         delete g;
00030         delete pi;
00031       }
00032     }
00033   }

void FastShower::RTest::finalise   const [virtual]
 

Implements FastShower::IShowerDemo.

Definition at line 34 of file RTest.cxx.

References FastShower::IShowerDemo::gridletForger(), and FastShower::IDebug::ping().

00034                             {
00035     cout<<"RTest: Finalise "<<endl;
00036     ComplexStatsCollector2 sc("RTest.txt");
00037     //convert to an IDebug for debug functionality
00038     IDebug* gfDbg = gridletForger();
00039     //ping structure
00040     gfDbg->ping( sc );
00041   }

Member Data Documentation

RTestParameterGenerator FastShower::RTest::m_generator [private]
 

Definition at line 27 of file RTest.h.

Referenced by execute().


The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:56:55 2003 for FastShowerUtils by doxygen1.3-rc1