00001 #include "TAPGeneratorFactory.h" 00002 #include "LETimeAPGenerator.h" 00003 #include "TPulseIsland.h" 00004 #include "TAnalysedPulse.h" 00005 #include <iostream> 00006 using std::cout; 00007 using std::endl; 00008 00009 LETimeAPGenerator::LETimeAPGenerator(TAPGeneratorOptions* opts): 00010 TVAnalysedPulseGenerator("LETime",opts){ 00011 //fLeadingEdge = opts->GetDouble("lead_edge", 0.2); 00012 fLeadingEdge = 0.2; 00013 } 00014 00015 int LETimeAPGenerator::ProcessPulses(const PulseIslandList& pulseList, 00016 AnalysedPulseList& analysedList){ 00017 00018 return 0; 00019 } 00020 00021 // Similar to the modules, this macro registers the generator with 00022 // MakeAnalysedPulses. The first argument is compulsory and gives the name of 00023 // this generator. All subsequent arguments will be used as names for arguments 00024 // given directly within the modules file. See the github wiki for more. 00025 // 00026 // NOTE: for TAP generators OMIT the APGenerator part of the class' name 00027 ALCAP_TAP_GENERATOR(LETime);