#ifndef HLDFILEOUTPUT_H
#define HLDFILEOUTPUT_H
using namespace std;
#include <fstream>
#include "TObject.h"
#include "TString.h"
class HldEvt;
class HldSource;
class HldFileOutput : public TObject {
protected:
HldEvt* evt;
UInt_t numTotal;
UInt_t numFiltered;
ofstream* fout;
TString fDir;
TString fileSuffix;
TString fOption;
UChar_t padding[64];
HldFileOutput(void);
public:
HldFileOutput(HldSource*,const Text_t*,const Text_t*,const Option_t* pOption="NEW");
~HldFileOutput(void);
void setHldSource(HldSource*);
void setDirectory(const Text_t*);
void setFileSuffix(const Text_t*);
void setFileOption(const Option_t* pOption="NEW");
Bool_t open(const Text_t*);
void close();
void writeEvent();
UInt_t getNumTotalEvt() { return numTotal; }
UInt_t getNumFilteredEvt() { return numFiltered; }
ClassDef(HldFileOutput,0)
};
#endif /* !HLDFILEOUTPUT_H */
Last change: Sat May 22 13:17:54 2010
Last generated: 2010-05-22 13:17
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.