// LCDEventSource.h
//------------------------------------------
// This is the base class for the event providing classes for the the 
// fastMC and FullRecon programs.  
//  Base class for real event sources like readStdFile and MCDiag
//  Written by ???   on ???
//  25 Apr 2001   Toshi      Add m_event and GetEventPtr
//                           Remove NoOp etc...
//  31 Mar 1999   J. Bogart  moved to Util (in libRootAppsUtil.so)

#ifndef LCDEVENTSOURCE_H
#define LCDEVENTSOURCE_H

#include "LCDEvent.h"

class LCDEventSource : public TObject {

public:
  LCDEventSource() : m_event(0) {};
  ~LCDEventSource() { };
  
  virtual Int_t     GetEvent(LCDEvent* event=0){return 0;}
  virtual LCDEvent* GetEventPtr()              {return m_event;}

  void SetLCDEvent(LCDEvent* a);

protected:
  LCDEvent*  m_event;         // current event

public:
  ClassDef(LCDEventSource,0)

};
#endif
