#ifndef HLDSOURCE_H
#define HLDSOURCE_H
#include "hdatasource.h"
#include "TList.h"
class HldUnpack;
class HldEvt;
class HEventHeader;
class HldSource : public HDataSource {
protected:
friend class HldFileOutput;
public:
HldSource(void);
virtual ~HldSource(void);
virtual EDsState getNextEvent(Bool_t doUnpack=kTRUE) {return kDsError;}
Bool_t initUnpacker(void);
Bool_t reinit(void);
Bool_t finalizeUnpacker(void);
Bool_t rewind(void) {return kTRUE;}
void addUnpacker(HldUnpack *unpacker);
Bool_t finalize(void);
EDsState showIt(HldEvt *evt);
EDsState dumpEvt(void);
EDsState scanIt(HldEvt *evt);
EDsState scanEvt(void);
Bool_t getDecodingStyle() {return oldDecodingStyle;}
void setOldDecodingStyle(Bool_t decodingStyle=kTRUE)
{oldDecodingStyle= decodingStyle;}
void setScanned(Bool_t scanned=kTRUE) {isScanned=scanned;}
protected:
Bool_t isDumped,isScanned;
Bool_t oldDecodingStyle;
void decodeHeader(HEventHeader *dest);
TList* fUnpackerList;
HldEvt* fReadEvent;
public:
inline void setDump(){isDumped=kTRUE;}
public:
ClassDef(HldSource,0)
};
#endif /* !HLDSOURCE_H */
Last change: Sat May 22 13:18:01 2010
Last generated: 2010-05-22 13:18
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.