#include <FairRootFileSink.h>
|
| FairRootFileSink (TFile *f, const char *Title="OutputRootFile") |
|
| FairRootFileSink (const TString *RootFileName, const char *Title="OutputRootFile") |
|
| FairRootFileSink (const TString RootFileName, const char *Title="OutputRootFile") |
|
virtual | ~FairRootFileSink () |
|
virtual Bool_t | InitSink () |
|
virtual void | Close () |
|
virtual void | Reset () |
|
virtual Sink_Type | GetSinkType () |
|
virtual void | FillEventHeader (FairEventHeader *feh) |
|
virtual TFile * | OpenRootFile (TString fileName="") |
|
TFile * | GetRootFile () |
|
virtual TString | GetFileName () |
|
virtual void | SetOutTree (TTree *fTree) |
|
TTree * | GetOutTree () |
|
virtual void | Fill () |
|
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
|
virtual void | RegisterImpl (const char *, const char *, void *) |
|
virtual void | RegisterAny (const char *brname, const std::type_info &oi, const std::type_info &pi, void *obj) |
|
virtual void | WriteFolder () |
|
virtual bool | CreatePersistentBranchesAny () |
|
virtual void | WriteObject (TObject *f, const char *, Int_t option=0) |
|
virtual void | WriteGeometry () |
|
virtual FairSink * | CloneSink () |
|
| FairSink () |
|
| FairSink (const FairSink &sink) |
|
virtual | ~FairSink () |
|
void | SetRunId (Int_t runId) |
|
Int_t | GetRunId () const |
|
| ClassDef (FairSink, 1) |
|
Definition at line 33 of file FairRootFileSink.h.
FairRootFileSink::FairRootFileSink |
( |
TFile * |
f, |
|
|
const char * |
Title = "OutputRootFile" |
|
) |
| |
FairRootFileSink::FairRootFileSink |
( |
const TString * |
RootFileName, |
|
|
const char * |
Title = "OutputRootFile" |
|
) |
| |
FairRootFileSink::FairRootFileSink |
( |
const TString |
RootFileName, |
|
|
const char * |
Title = "OutputRootFile" |
|
) |
| |
FairRootFileSink::~FairRootFileSink |
( |
| ) |
|
|
virtual |
FairSink * FairRootFileSink::CloneSink |
( |
| ) |
|
|
virtual |
void FairRootFileSink::Close |
( |
| ) |
|
|
virtual |
bool FairRootFileSink::CreatePersistentBranchesAny |
( |
| ) |
|
|
virtual |
void FairRootFileSink::Fill |
( |
| ) |
|
|
virtual |
virtual TString FairRootFileSink::GetFileName |
( |
| ) |
|
|
inlinevirtual |
TTree* FairRootFileSink::GetOutTree |
( |
| ) |
|
|
inline |
TFile* FairRootFileSink::GetRootFile |
( |
| ) |
|
|
inline |
virtual Sink_Type FairRootFileSink::GetSinkType |
( |
| ) |
|
|
inlinevirtual |
Bool_t FairRootFileSink::InitSink |
( |
| ) |
|
|
virtual |
TFile * FairRootFileSink::OpenRootFile |
( |
TString |
fileName = "" | ) |
|
|
virtual |
void FairRootFileSink::RegisterAny |
( |
const char * |
brname, |
|
|
const std::type_info & |
oi, |
|
|
const std::type_info & |
pi, |
|
|
void * |
obj |
|
) |
| |
|
virtual |
void FairRootFileSink::RegisterImpl |
( |
const char * |
, |
|
|
const char * |
folderName, |
|
|
void * |
obj |
|
) |
| |
|
virtual |
void FairRootFileSink::Reset |
( |
| ) |
|
|
virtual |
virtual void FairRootFileSink::SetOutTree |
( |
TTree * |
fTree | ) |
|
|
inlinevirtual |
Int_t FairRootFileSink::Write |
( |
const char * |
name = 0 , |
|
|
Int_t |
option = 0 , |
|
|
Int_t |
bufsize = 0 |
|
) |
| |
|
virtual |
Writes the tree in the file.
Get the file handle to the current output file from the tree. If ROOT splits the file (due to the size of the file) the file handle fOutFile is lost and the program crash while writing the last part of the last file.
Implements FairSink.
Definition at line 330 of file FairRootFileSink.cxx.
void FairRootFileSink::WriteFolder |
( |
| ) |
|
|
virtual |
void FairRootFileSink::WriteGeometry |
( |
| ) |
|
|
virtual |
void FairRootFileSink::WriteObject |
( |
TObject * |
f, |
|
|
const char * |
name, |
|
|
Int_t |
option = 0 |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: