// $Id: MyModule.cc 15233 2009-11-23 00:41:03Z darko $ #include "MyModule.h" #include #include using namespace std; using namespace utl; using namespace fwk; namespace MyModule { MyModule::MyModule() { } MyModule::~MyModule() { } VModule::ResultFlag MyModule::Init() { // Initialize your module here. This method // is called once at the beginning of the run. // The eSuccess flag indicates the method ended // successfully. For other possible return types, // see the VModule documentation. INFO("MyModule::Init()"); return eSuccess; } VModule::ResultFlag MyModule::Run(evt::Event& event) { // Put your simulation, reconstruction or analysis // algorithm here. This method is normally called // once per event, though the user can customize // when it is called using the sequencing XML file. INFO("MyModule::Run()"); return eSuccess; } VModule::ResultFlag MyModule::Finish() { // Put any termination or cleanup code here. // This method is called once at the end of the run. INFO("MyModule::Finish()"); return eSuccess; } }