AliRoot Core  3dc7879 (3dc7879)
AliConfig Class Reference

#include <AliConfig.h>

Inheritance diagram for AliConfig:

Public Member Functions

virtual ~AliConfig ()
 
void Add (TDatabasePDG *pdg)
 
void Add (AliGenerator *generator, const char *eventfolder=fgkDefaultEventFolderName)
 
void Add (TVirtualMC *mc, const char *eventfolder=fgkDefaultEventFolderName)
 
void Add (AliModule *module, const char *eventfolder=fgkDefaultEventFolderName)
 
void Add (AliDetector *detector, const char *eventfolder=fgkDefaultEventFolderName)
 
Int_t AddDetector (const char *evntfoldername, const char *name, const char *title)
 
Int_t AddDetector (TFolder *evntfolder, const char *name, const char *title)
 
Int_t CreateDetectorFolders (const char *evntfoldername, const char *name, const char *title)
 
Int_t CreateDetectorFolders (TFolder *evntfolder, const char *name, const char *title)
 
TFolder * BuildEventFolder (const char *name, const char *tilte)
 
TFolder * GetTopFolder ()
 
TFolder * GetConstFolder ()
 
const TString & GetDataFolderName () const
 

Static Public Member Functions

static AliConfigInstance ()
 
static const TString & GetModulesFolderName ()
 
static const TString & GetDefaultEventFolderName ()
 

Private Member Functions

 AliConfig (const AliConfig &)
 
AliConfigoperator= (const AliConfig &)
 
 AliConfig ()
 
 AliConfig (const char *name, const char *title)
 
void AddInFolder (const char *dir, TObject *obj)
 
Int_t AddSubFolder (TFolder *topfolder, const char *infoler, const char *newfoldname, const char *newfoldtitle)
 
TObject * FindInFolder (const char *dir, const char *name)
 

Private Attributes

TFolder * fTopFolder
 
TFolder * fConstFolder
 
TString * fDetectorFolder
 

Static Private Attributes

static const TString fgkTopFolderName
 
static const TString fgkDefaultEventFolderName
 
static const TString fgkConstantsFolderName
 
static const TString fgkDataFolderName
 
static const TString fgkConditionsFolderName
 
static const TString fgkConfigurationFolderName
 
static const TString fgkHeaderFolderName
 
static const TString fgkCalibrationFolderName
 
static const TString fgkAligmentFolderName
 
static const TString fgkFieldFolderName
 
static const TString fgkGeneratorsFolderName
 
static const TString fgkVirtualMCFolderName
 
static const TString fgkPDGFolderName
 
static const TString fgkGeneratorFolderName
 
static const TString fgkMCFolderName
 
static const TString fgkModuleFolderName
 
static AliConfigfgInstance = 0
 array with names for detector folders (where detector is going to be put) More...
 

Detailed Description

Definition at line 31 of file AliConfig.h.

Constructor & Destructor Documentation

AliConfig::~AliConfig ( )
virtual

Definition at line 131 of file AliConfig.cxx.

AliConfig::AliConfig ( const AliConfig )
private
AliConfig::AliConfig ( )
private
AliConfig::AliConfig ( const char *  name,
const char *  title 
)
private

Definition at line 100 of file AliConfig.cxx.

Member Function Documentation

void AliConfig::Add ( TDatabasePDG *  pdg)
void AliConfig::Add ( AliGenerator generator,
const char *  eventfolder = fgkDefaultEventFolderName 
)

Definition at line 162 of file AliConfig.cxx.

void AliConfig::Add ( TVirtualMC *  mc,
const char *  eventfolder = fgkDefaultEventFolderName 
)

Definition at line 171 of file AliConfig.cxx.

void AliConfig::Add ( AliModule module,
const char *  eventfolder = fgkDefaultEventFolderName 
)

Definition at line 187 of file AliConfig.cxx.

void AliConfig::Add ( AliDetector detector,
const char *  eventfolder = fgkDefaultEventFolderName 
)

Definition at line 226 of file AliConfig.cxx.

Int_t AliConfig::AddDetector ( const char *  evntfoldername,
const char *  name,
const char *  title 
)

Definition at line 212 of file AliConfig.cxx.

Referenced by AliLoader::Register().

Int_t AliConfig::AddDetector ( TFolder *  evntfolder,
const char *  name,
const char *  title 
)

Definition at line 198 of file AliConfig.cxx.

void AliConfig::AddInFolder ( const char *  dir,
TObject *  obj 
)
private

Definition at line 143 of file AliConfig.cxx.

Referenced by Add().

Int_t AliConfig::AddSubFolder ( TFolder *  topfolder,
const char *  infoler,
const char *  newfoldname,
const char *  newfoldtitle 
)
private

Definition at line 424 of file AliConfig.cxx.

Referenced by CreateDetectorFolders().

TFolder * AliConfig::BuildEventFolder ( const char *  name,
const char *  tilte 
)

Definition at line 285 of file AliConfig.cxx.

Referenced by AliRunLoader::SetEventFolderName().

Int_t AliConfig::CreateDetectorFolders ( const char *  evntfoldername,
const char *  name,
const char *  title 
)
Int_t AliConfig::CreateDetectorFolders ( TFolder *  evntfolder,
const char *  name,
const char *  title 
)

Definition at line 260 of file AliConfig.cxx.

TObject * AliConfig::FindInFolder ( const char *  dir,
const char *  name 
)
private

Definition at line 152 of file AliConfig.cxx.

TFolder* AliConfig::GetConstFolder ( )
inline

Definition at line 55 of file AliConfig.h.

const TString & AliConfig::GetDataFolderName ( ) const

Definition at line 416 of file AliConfig.cxx.

Referenced by GetDefaultEventFolderName().

static const TString& AliConfig::GetModulesFolderName ( )
inlinestatic

Definition at line 57 of file AliConfig.h.

Referenced by AliLoader::GetModulesFolder(), and AliRun::~AliRun().

AliConfig& AliConfig::operator= ( const AliConfig )
private

Member Data Documentation

TFolder* AliConfig::fConstFolder
private

Definition at line 93 of file AliConfig.h.

Referenced by AliConfig(), and GetConstFolder().

TString* AliConfig::fDetectorFolder
private

Definition at line 100 of file AliConfig.h.

Referenced by AliConfig(), CreateDetectorFolders(), and ~AliConfig().

AliConfig * AliConfig::fgInstance = 0
staticprivate

array with names for detector folders (where detector is going to be put)

Definition at line 102 of file AliConfig.h.

Referenced by AliConfig().

const TString AliConfig::fgkAligmentFolderName
staticprivate

Definition at line 80 of file AliConfig.h.

Referenced by AliConfig(), and BuildEventFolder().

const TString AliConfig::fgkCalibrationFolderName
staticprivate

Definition at line 79 of file AliConfig.h.

Referenced by AliConfig(), and BuildEventFolder().

const TString AliConfig::fgkConditionsFolderName
staticprivate

Definition at line 75 of file AliConfig.h.

Referenced by AliConfig(), and BuildEventFolder().

const TString AliConfig::fgkConfigurationFolderName
staticprivate

Definition at line 76 of file AliConfig.h.

Referenced by BuildEventFolder().

const TString AliConfig::fgkConstantsFolderName
staticprivate

Definition at line 72 of file AliConfig.h.

Referenced by AliConfig().

const TString AliConfig::fgkDataFolderName
staticprivate

Definition at line 74 of file AliConfig.h.

Referenced by AliConfig(), BuildEventFolder(), and GetDataFolderName().

const TString AliConfig::fgkDefaultEventFolderName
staticprivate

Definition at line 71 of file AliConfig.h.

Referenced by GetDefaultEventFolderName().

const TString AliConfig::fgkFieldFolderName
staticprivate

Definition at line 82 of file AliConfig.h.

Referenced by BuildEventFolder().

const TString AliConfig::fgkGeneratorFolderName
staticprivate

Definition at line 96 of file AliConfig.h.

const TString AliConfig::fgkGeneratorsFolderName
staticprivate

Definition at line 83 of file AliConfig.h.

Referenced by Add(), and BuildEventFolder().

const TString AliConfig::fgkHeaderFolderName
staticprivate

Definition at line 77 of file AliConfig.h.

Referenced by BuildEventFolder().

const TString AliConfig::fgkMCFolderName
staticprivate

Definition at line 97 of file AliConfig.h.

Referenced by Add().

const TString AliConfig::fgkModuleFolderName
staticprivate

Definition at line 98 of file AliConfig.h.

Referenced by Add(), BuildEventFolder(), and GetModulesFolderName().

const TString AliConfig::fgkPDGFolderName
staticprivate

Definition at line 95 of file AliConfig.h.

Referenced by Add().

const TString AliConfig::fgkTopFolderName
staticprivate

Definition at line 69 of file AliConfig.h.

const TString AliConfig::fgkVirtualMCFolderName
staticprivate

Definition at line 84 of file AliConfig.h.

TFolder* AliConfig::fTopFolder
private

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