// 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;
}