// Author: David Lawrence June 25, 2004 // // // MyProcessor.cc // #include using namespace std; #include "MyProcessor.h" #include "DTrackCandidate.h" //------------------------------------------------------------------ // init -Open output file here (e.g. a ROOT file) //------------------------------------------------------------------ derror_t MyProcessor::init(void) { return NOERROR; } //------------------------------------------------------------------ // evnt -Fill histograms here //------------------------------------------------------------------ derror_t MyProcessor::evnt(DEventLoop *loop, int eventnumber) { // Get top-level factory data to activate all dependant factories vector trackcandidates; loop->Get(trackcandidates); return NOERROR; } //------------------------------------------------------------------ // fini -Close output file here //------------------------------------------------------------------ derror_t MyProcessor::fini(void) { return NOERROR; }