Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

NoEventGenerator - source file

// ESAF : Euso Simulation and Analysis Framework
// $Id: NoEventGenerator.cc,v 1.3 2004/06/15 17:49:45 thea Exp $
//  created Nov, 25 2003

#include "NoEventGenerator.hh"
#include "EmptyData.hh"
#include "PhysicsData.hh"

ClassImp(NoEventGenerator)

// ctor
 NoEventGenerator::NoEventGenerator(): EventGenerator("noevent") {
    fEmptyData = new EmptyData();
}

// dtor
 NoEventGenerator::~NoEventGenerator() {
    if ( fEmptyData ) delete fEmptyData;
}

// get a new event
 PhysicsData* NoEventGenerator::Get() {
	return fEmptyData;
}

// get pointer to MonteCarlo Truth
 MCTruth* NoEventGenerator::GetTruth() {
	return NULL;
}
About Us | EUSO Official Website | Web pages created by Roberto Pesce and Alessandro Thea - Last Update Wed Nov 16 16:57:39 2005 Wed Nov 16 16:29:22 2005