//----------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Implementation of class ppstate_output // see ppstate_output.hh for details // // Environment: // Software developed for the PANDA Detector at FAIR. // // Author List: // Sebastian Neubert TUM (original author) // // //----------------------------------------------------------- // Panda Headers ---------------------- // This Class' Header ------------------ #include "TORPPState_Output.h" // C/C++ Headers ---------------------- #include "assert.h" // Collaborating Class Headers -------- #include "TORPadProcessor.h" // Class Member definitions ----------- ppstate_output::ppstate_output(padprocessor* pp) : ppstate(pp) {} std::string ppstate_output::heartbeat() { assert(fparent->fcluster_buffer!=NULL); std::vector* list=new std::vector(fparent->fdata); fparent->fcluster_buffer->push_back(list); fparent->fdata.clear(); fparent->setState("end"); return "end"; }