// $Id$ // // File: JEventSource_EVIO_FCALTEST2011.h // Created: Mon Nov 28 16:07:15 EST 2011 // Creator: davidl (on Linux ifarm1102 2.6.18-128.7.1.el5 x86_64) // #ifndef _JEventSource_EVIO_FCALTEST2011_ #define _JEventSource_EVIO_FCALTEST2011_ #include #include #include using namespace jana; #include #include using namespace evio; #include "D250EventTime.h" #include "D250WindowRawData.h" #include "D250WindowSum.h" #include "D250PulseRawData.h" #include "D250PulseIntegral.h" #include "D250PulseTime.h" #include "D250StreamingRawData.h" class JEventSource_EVIO_FCALTEST2011: public jana::JEventSource{ public: JEventSource_EVIO_FCALTEST2011(const char* source_name); virtual ~JEventSource_EVIO_FCALTEST2011(); virtual const char* className(void){return static_className();} static const char* static_className(void){return "JEventSource_EVIO_FCALTEST2011";} jerror_t GetEvent(jana::JEvent &event); void FreeEvent(jana::JEvent &event); jerror_t GetObjects(jana::JEvent &event, jana::JFactory_base *factory); D250WindowRawData* MakeWindowRawData(const uint32_t* &iptr, D250EventTime *eventTime); private: evioChannel *chan; void AnalyzeBank(evioDOMNodeP bankPtr,JEvent &event); }; #endif // _JEventSourceGenerator_EVIO_FCALTEST2011_