00001 #include "TMEGeneratorFactory.h" 00002 #include "%module%MEGenerator.h" 00003 #include "TDetectorPulse.h" 00004 #include "TMuonEvent.h" 00005 #include <iostream> 00006 using std::cout; 00007 using std::endl; 00008 00009 %module%MEGenerator::%module%MEGenerator(TMEGeneratorOptions* opts): 00010 TVMuonEventGenerator("%module%",opts){ 00011 // Do things to set up the generator here. 00012 } 00013 00014 int %module%MEGenerator::ProcessPulses(MuonEventList& muonEventsOut, 00015 const SourceDetPulseMap& detectorPulsesIn){ 00016 00017 // returning 0 tells the caller that we were successful, return non-zero if not 00018 return 0; 00019 } 00020 00021 ALCAP_TME_GENERATOR(%module%);