#ifndef HDIRECTSOURCE_H
#define HDIRECTSOURCE_H

#include "hdatasource.h"
#include "TList.h"

class HGeantReader;

class HDirectSource : public HDataSource {
private:
  TList fReaderList; //List of active Geant readers.
  Int_t fCurrentRunId;
public:
  HDirectSource(void);
  HDirectSource(HDirectSource &s);
  ~HDirectSource(void);
  Bool_t addGeantReader(HGeantReader *r);
  EDsState getNextEvent(void);
  Bool_t init(void);
  Bool_t finalize(void);
  void setCurrentRunId(Int_t Id) {fCurrentRunId = Id;}
  Int_t getCurrentRunId(void) {return fCurrentRunId;}
  Int_t getCurrentRefId(void) {return fCurrentRunId;}        
  Text_t const *getCurrentFileName(void) {return "";}
  ClassDef(HDirectSource,1) // Data source to operate under HGeant control
};
#endif /* !HDIRECTSOURCE_H */

Last change: Sat May 22 12:54:48 2010
Last generated: 2010-05-22 12:54

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.