Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4FileStoreParameter Class Reference

#include <TGo4FileStoreParameter.h>

Inheritance diagram for TGo4FileStoreParameter:

TGo4EventStoreParameter TGo4Parameter List of all members.

Public Member Functions

 TGo4FileStoreParameter ()
 TGo4FileStoreParameter (const char *name, Int_t splitlevel=99, Int_t bufsize=32000, Int_t compression=5, Int_t autosave=5000000)
virtual ~TGo4FileStoreParameter ()
virtual Int_t PrintParameter (Text_t *buffer=0, Int_t buflen=0)
 basic method to printout status information on stdout; to be overridden by specific subclass
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
 update contents of paramter class with external object.
Int_t GetSplitlevel () const
void SetSplitlevel (Int_t split)
Int_t GetBufsize () const
void SetBufsize (Int_t bufsize)
Int_t GetCompression () const
void SetCompression (Int_t comp)
Int_t GetAutosaveSize () const
void SetAutosaveSize (Int_t bufsize)
Int_t IsOverwriteMode () const
void SetOverwriteMode (Bool_t over=kTRUE)

Private Attributes

Int_t fiSplit
 Splitlevel for Tree.
Int_t fiBufsize
 Size of the root io buffer.
Int_t fiCompression
 Compression level of the root file.
Int_t fiAutosavesize
 Autosave interval for the Tree.
Int_t fbOverwrite
 True if old filestore of same name shall be overwritten.

Constructor & Destructor Documentation

TGo4FileStoreParameter::TGo4FileStoreParameter  ) 
 

Definition at line 37 of file TGo4FileStoreParameter.cxx.

References TRACE.

TGo4FileStoreParameter::TGo4FileStoreParameter const char *  name,
Int_t  splitlevel = 99,
Int_t  bufsize = 32000,
Int_t  compression = 5,
Int_t  autosave = 5000000
 

Definition at line 24 of file TGo4FileStoreParameter.cxx.

References TRACE.

TGo4FileStoreParameter::~TGo4FileStoreParameter  )  [virtual]
 

Definition at line 46 of file TGo4FileStoreParameter.cxx.

References TRACE.


Member Function Documentation

Int_t TGo4FileStoreParameter::PrintParameter Text_t *  buffer = 0,
Int_t  buflen = 0
[virtual]
 

basic method to printout status information on stdout; to be overridden by specific subclass

Reimplemented from TGo4EventStoreParameter.

Definition at line 50 of file TGo4FileStoreParameter.cxx.

References fiAutosavesize, fiBufsize, fiCompression, fiSplit, TGo4Status::PrintBuffer(), TGo4Status::PrintIndent(), TGo4EventStoreParameter::PrintParameter(), and TRACE.

Bool_t TGo4FileStoreParameter::UpdateFrom TGo4Parameter rhs  )  [virtual]
 

update contents of paramter class with external object.

Reimplemented from TGo4EventStoreParameter.

Definition at line 86 of file TGo4FileStoreParameter.cxx.

References GetAutosaveSize(), GetBufsize(), GetCompression(), GetSplitlevel(), IsOverwriteMode(), SetAutosaveSize(), SetBufsize(), SetCompression(), SetOverwriteMode(), SetSplitlevel(), TRACE, and TGo4EventStoreParameter::UpdateFrom().

Int_t TGo4FileStoreParameter::GetSplitlevel  )  const [inline]
 

Definition at line 41 of file TGo4FileStoreParameter.h.

References fiSplit.

Referenced by TGo4FileStore::TGo4FileStore(), and UpdateFrom().

void TGo4FileStoreParameter::SetSplitlevel Int_t  split  )  [inline]
 

Definition at line 42 of file TGo4FileStoreParameter.h.

References fiSplit.

Referenced by TGo4Interface::StepFileStore(), and UpdateFrom().

Int_t TGo4FileStoreParameter::GetBufsize  )  const [inline]
 

Definition at line 44 of file TGo4FileStoreParameter.h.

References fiBufsize.

Referenced by TGo4FileStore::TGo4FileStore(), and UpdateFrom().

void TGo4FileStoreParameter::SetBufsize Int_t  bufsize  )  [inline]
 

Definition at line 45 of file TGo4FileStoreParameter.h.

References fiBufsize.

Referenced by TGo4Interface::StepFileStore(), and UpdateFrom().

Int_t TGo4FileStoreParameter::GetCompression  )  const [inline]
 

Definition at line 47 of file TGo4FileStoreParameter.h.

References fiCompression.

Referenced by TGo4FileStore::TGo4FileStore(), and UpdateFrom().

void TGo4FileStoreParameter::SetCompression Int_t  comp  )  [inline]
 

Definition at line 48 of file TGo4FileStoreParameter.h.

References fiCompression.

Referenced by TGo4Interface::StepFileStore(), and UpdateFrom().

Int_t TGo4FileStoreParameter::GetAutosaveSize  )  const [inline]
 

Definition at line 50 of file TGo4FileStoreParameter.h.

References fiAutosavesize.

Referenced by TGo4FileStore::TGo4FileStore(), and UpdateFrom().

void TGo4FileStoreParameter::SetAutosaveSize Int_t  bufsize  )  [inline]
 

Definition at line 51 of file TGo4FileStoreParameter.h.

References fiAutosavesize.

Referenced by UpdateFrom().

Int_t TGo4FileStoreParameter::IsOverwriteMode  )  const [inline]
 

Definition at line 53 of file TGo4FileStoreParameter.h.

References fbOverwrite.

Referenced by TGo4FileStore::TGo4FileStore(), and UpdateFrom().

void TGo4FileStoreParameter::SetOverwriteMode Bool_t  over = kTRUE  )  [inline]
 

Definition at line 54 of file TGo4FileStoreParameter.h.

References fbOverwrite.

Referenced by TGo4Interface::StepFileStore(), TXXXAnalysis::TXXXAnalysis(), TYYYAnalysis::TYYYAnalysis(), and UpdateFrom().


Member Data Documentation

Int_t TGo4FileStoreParameter::fiSplit [private]
 

Splitlevel for Tree.

Default is 1.

Definition at line 59 of file TGo4FileStoreParameter.h.

Referenced by GetSplitlevel(), PrintParameter(), and SetSplitlevel().

Int_t TGo4FileStoreParameter::fiBufsize [private]
 

Size of the root io buffer.

Definition at line 62 of file TGo4FileStoreParameter.h.

Referenced by GetBufsize(), PrintParameter(), and SetBufsize().

Int_t TGo4FileStoreParameter::fiCompression [private]
 

Compression level of the root file.

Default is 5.

Definition at line 65 of file TGo4FileStoreParameter.h.

Referenced by GetCompression(), PrintParameter(), and SetCompression().

Int_t TGo4FileStoreParameter::fiAutosavesize [private]
 

Autosave interval for the Tree.

Definition at line 68 of file TGo4FileStoreParameter.h.

Referenced by GetAutosaveSize(), PrintParameter(), and SetAutosaveSize().

Int_t TGo4FileStoreParameter::fbOverwrite [private]
 

True if old filestore of same name shall be overwritten.

False if old filestore should be opened in append (update) mode. internally, we use Int_t for root streamer problems.

Definition at line 73 of file TGo4FileStoreParameter.h.

Referenced by IsOverwriteMode(), and SetOverwriteMode().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:00:54 2008 for Go4-v3.04-1 by  doxygen 1.4.2