AliRoot Core  3dc7879 (3dc7879)
AliDataLoader Class Reference

#include <AliDataLoader.h>

Inheritance diagram for AliDataLoader:

Public Types

enum  EStdBasicLoaders { kData = 0 }
 

Public Member Functions

 AliDataLoader ()
 
 AliDataLoader (const char *filename, const char *contname, const char *name, Option_t *opt="t")
 
virtual ~AliDataLoader ()
 
virtual Int_t SetEvent ()
 
virtual Int_t GetEvent ()
 
virtual Int_t Load (Option_t *opt="")
 
virtual void Unload ()
 
virtual Int_t Reload ()
 
virtual Int_t WriteData (Option_t *opt="")
 
virtual TTree * Tree () const
 
virtual void Clean ()
 
virtual void MakeTree ()
 
virtual Int_t OpenFile (Option_t *opt)
 
virtual void CloseFile ()
 
void UnloadAll ()
 
void CleanAll ()
 
const TString & GetFileName () const
 
TFile * GetFile () const
 
TDirectory * GetDirectory () const
 
const TString & GetFileOption () const
 
const Int_t & GetCompressionLevel () const
 
Bool_t Cd ()
 
virtual void SetFileName (const TString &filename)
 
virtual void SetFileOption (const Option_t *fileopt)
 
virtual void SetCompressionLevel (Int_t cl)
 
Int_t SetEventFolder (TFolder *eventfolder)
 
Int_t SetFolder (TFolder *folder)
 
TFolder * GetEventFolder ()
 
TFolder * GetFolder () const
 
void SetFileNameSuffix (const TString &suffix)
 
void SetNumberOfEventsPerFile (Int_t nevpf)
 
const TString SetFileOffset (const TString &fname)
 
void SetDirName (TString &dirname)
 
void AddBaseLoader (AliBaseLoader *bl)
 
AliBaseLoaderGetBaseLoader (const TString &name) const
 
AliBaseLoaderGetBaseLoader (Int_t n) const
 
AliObjectLoaderGetBaseDataLoader ()
 
void SetBaseDataLoader (AliBaseLoader *bl)
 
Bool_t CheckReload ()
 
Bool_t IsFileWritable () const
 
Bool_t IsFileOpen () const
 
Bool_t IsOptionContrary (const TString &option) const
 
void Synchronize ()
 

Protected Member Functions

AliRunLoaderGetRunLoader ()
 

Private Member Functions

 AliDataLoader (const AliDataLoader &)
 
AliDataLoaderoperator= (const AliDataLoader &)
 

Private Attributes

TString fFileName
 
TFile * fFile
 
TDirectory * fDirectory
 pointer to file More...
 
TString fFileOption
 pointer to TDirectory More...
 
Int_t fCompressionLevel
 file option while opened More...
 
Int_t fNEventsPerFile
 
TObjArrayfBaseLoaders
 
TFolder * fEventFolder
 
TFolder * fFolder
 event folder More...
 

Detailed Description

Definition at line 33 of file AliDataLoader.h.

Member Enumeration Documentation

Enumerator
kData 

Definition at line 83 of file AliDataLoader.h.

Constructor & Destructor Documentation

AliDataLoader::AliDataLoader ( )

Definition at line 42 of file AliDataLoader.cxx.

AliDataLoader::AliDataLoader ( const char *  filename,
const char *  contname,
const char *  name,
Option_t *  opt = "t" 
)

Definition at line 57 of file AliDataLoader.cxx.

AliDataLoader::~AliDataLoader ( )
virtual

Definition at line 87 of file AliDataLoader.cxx.

AliDataLoader::AliDataLoader ( const AliDataLoader )
private

Member Function Documentation

void AliDataLoader::AddBaseLoader ( AliBaseLoader bl)

Definition at line 584 of file AliDataLoader.cxx.

Referenced by SetNumberOfEventsPerFile().

Bool_t AliDataLoader::Cd ( )
inline

Definition at line 62 of file AliDataLoader.h.

Referenced by AliCentralTrigger::RunTrigger().

Bool_t AliDataLoader::CheckReload ( )

Definition at line 478 of file AliDataLoader.cxx.

Referenced by SetEvent().

void AliDataLoader::CleanAll ( )

Definition at line 446 of file AliDataLoader.cxx.

void AliDataLoader::CloseFile ( )
virtual
AliObjectLoader * AliDataLoader::GetBaseDataLoader ( )

Definition at line 654 of file AliDataLoader.cxx.

Referenced by SetBaseDataLoader().

AliBaseLoader * AliDataLoader::GetBaseLoader ( Int_t  n) const

Definition at line 618 of file AliDataLoader.cxx.

const Int_t& AliDataLoader::GetCompressionLevel ( ) const
inline

Definition at line 60 of file AliDataLoader.h.

TDirectory* AliDataLoader::GetDirectory ( ) const
inline

Definition at line 58 of file AliDataLoader.h.

Referenced by AliBaseLoader::GetDirectory().

Int_t AliDataLoader::GetEvent ( )
virtual

Definition at line 138 of file AliDataLoader.cxx.

Referenced by AliLoader::GetEvent(), and AliRunLoader::GetEvent().

TFolder * AliDataLoader::GetEventFolder ( )

Definition at line 385 of file AliDataLoader.cxx.

Referenced by GetRunLoader(), and SetFileName().

TFile* AliDataLoader::GetFile ( ) const
inline

Definition at line 57 of file AliDataLoader.h.

Referenced by AliBaseLoader::GetDirectory().

const TString& AliDataLoader::GetFileOption ( ) const
inline

Definition at line 59 of file AliDataLoader.h.

Referenced by AliBaseLoader::Post().

TFolder* AliDataLoader::GetFolder ( ) const
inline

Definition at line 71 of file AliDataLoader.h.

Referenced by AliObjectLoader::GetFolder().

AliRunLoader * AliDataLoader::GetRunLoader ( )
protected

Definition at line 396 of file AliDataLoader.cxx.

Referenced by OpenFile(), SetEvent(), and SetFileOffset().

Bool_t AliDataLoader::IsFileOpen ( ) const

Definition at line 557 of file AliDataLoader.cxx.

Referenced by AliCentralTrigger::RunTrigger().

Bool_t AliDataLoader::IsFileWritable ( ) const

Definition at line 548 of file AliDataLoader.cxx.

Bool_t AliDataLoader::IsOptionContrary ( const TString &  option) const

Definition at line 566 of file AliDataLoader.cxx.

Int_t AliDataLoader::Load ( Option_t *  opt = "")
virtual
Int_t AliDataLoader::OpenFile ( Option_t *  opt)
virtual

Definition at line 172 of file AliDataLoader.cxx.

Referenced by AliBaseLoader::Load(), AliCentralTrigger::RunTrigger(), and SetEvent().

AliDataLoader& AliDataLoader::operator= ( const AliDataLoader )
private
void AliDataLoader::SetBaseDataLoader ( AliBaseLoader bl)

Definition at line 663 of file AliDataLoader.cxx.

void AliDataLoader::SetDirName ( TString &  dirname)
Int_t AliDataLoader::SetEvent ( )
virtual

Definition at line 96 of file AliDataLoader.cxx.

Referenced by AliLoader::SetEvent(), and AliRunLoader::SetEvent().

Int_t AliDataLoader::SetEventFolder ( TFolder *  eventfolder)
void AliDataLoader::SetFileNameSuffix ( const TString &  suffix)

Definition at line 460 of file AliDataLoader.cxx.

Referenced by GetFolder(), and AliLoader::SetDigitsFileNameSuffix().

const TString AliDataLoader::SetFileOffset ( const TString &  fname)

Definition at line 490 of file AliDataLoader.cxx.

Referenced by CheckReload(), OpenFile(), and SetNumberOfEventsPerFile().

Int_t AliDataLoader::SetFolder ( TFolder *  folder)
void AliDataLoader::SetNumberOfEventsPerFile ( Int_t  nevpf)
inline

Definition at line 77 of file AliDataLoader.h.

Referenced by AliSimulation::RunSimulation().

void AliDataLoader::Synchronize ( )

Definition at line 678 of file AliDataLoader.cxx.

Referenced by AliRunLoader::Synchronize(), and AliLoader::Synchronize().

TTree * AliDataLoader::Tree ( ) const
virtual
void AliDataLoader::UnloadAll ( )

Definition at line 264 of file AliDataLoader.cxx.

Referenced by AliLoader::UnloadAll(), and ~AliDataLoader().

Int_t AliDataLoader::WriteData ( Option_t *  opt = "")
virtual

Member Data Documentation

Int_t AliDataLoader::fCompressionLevel
private

file option while opened

Definition at line 109 of file AliDataLoader.h.

Referenced by GetCompressionLevel(), OpenFile(), and SetCompressionLevel().

TDirectory* AliDataLoader::fDirectory
private

pointer to file

Definition at line 107 of file AliDataLoader.h.

Referenced by Cd(), CloseFile(), GetDirectory(), OpenFile(), and SetEvent().

TFolder* AliDataLoader::fEventFolder
private

Definition at line 114 of file AliDataLoader.h.

Referenced by GetEventFolder(), and SetEventFolder().

TString AliDataLoader::fFileName
private
TString AliDataLoader::fFileOption
private

pointer to TDirectory

Definition at line 108 of file AliDataLoader.h.

Referenced by GetEvent(), GetFileOption(), IsOptionContrary(), OpenFile(), Reload(), SetEvent(), and SetFileOption().

TFolder* AliDataLoader::fFolder
private

event folder

Definition at line 115 of file AliDataLoader.h.

Referenced by GetFolder(), and SetFolder().

Int_t AliDataLoader::fNEventsPerFile
private

Definition at line 110 of file AliDataLoader.h.

Referenced by SetFileOffset(), and SetNumberOfEventsPerFile().


The documentation for this class was generated from the following files: