#include "hldfileoutput.h"

HldFileOutput


class description - source file - inheritance tree (.pdf)

class HldFileOutput : public TObject

Inheritance Chart:
TObject
<-
HldFileOutput

    protected:
HldFileOutput() public:
HldFileOutput(HldSource*, Text_t*, Text_t*, Option_t* pOption = "NEW") HldFileOutput(const HldFileOutput&) ~HldFileOutput() static TClass* Class() void close() UInt_t getNumFilteredEvt() UInt_t getNumTotalEvt() virtual TClass* IsA() const Bool_t open(const Text_t*) HldFileOutput& operator=(const HldFileOutput&) void setDirectory(Text_t*) void setFileOption(Option_t* pOption = "NEW") void setFileSuffix(Text_t*) void setHldSource(HldSource*) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void writeEvent()

Data Members


    protected:
HldEvt* evt Pointer to the HLD event UInt_t numTotal Total number of events written UInt_t numFiltered Number of filtered events written ofstream* fout File output TString fDir File directory TString fileSuffix File suffix (default f_) TString fOption File option UChar_t padding[64] Byte array for padding

Class Description

 HLdFileOutput

 Writes HLD events to a file



HldFileOutput(void)
 Default constructor

HldFileOutput(HldSource* pSource,Text_t* pDir,Text_t* pSuffix, Option_t* pOption)
 Constructor accepts the data source, the file directory and the file option

~HldFileOutput(void)
 Destructor

void setHldSource(HldSource* pSource)
 Sets the pointer to the event in the datasource

void setDirectory(Text_t* pDir)
 Sets the output directory

void setFileSuffix(Text_t* pSuffix)
 Sets the file suffix (default f_)

void setFileOption(Option_t* option)
 Sets the file option:
 "CREATE" or "NEW": does not overwrite an existing file
 "RECREATE":        overwrites an existing file

Bool_t open(const Text_t* filename)
 Opens the output file

void close()
 Closes the output file

void writeEvent()
 Writes the event to the output file and increments the counters



Inline Functions


                UInt_t getNumTotalEvt()
                UInt_t getNumFilteredEvt()
               TClass* Class()
               TClass* IsA() const
                  void ShowMembers(TMemberInspector& insp, char* parent)
                  void Streamer(TBuffer& b)
                  void StreamerNVirtual(TBuffer& b)
         HldFileOutput HldFileOutput(const HldFileOutput&)
        HldFileOutput& operator=(const HldFileOutput&)


Author: Ilse Koenig
Last update: Mon Feb 5 16:54:13 2007


ROOT page - Class index - Class Hierarchy - Top of the page

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.