* See cxx source for full Copyright notice */
/* $Id$ */
-/*
- * $Log$
- * Revision 1.8 2002/10/29 14:59:45 alibrary
- * Some more code cleanup
- *
- * Revision 1.7 2002/10/29 14:26:49 hristov
- * Code clean-up (F.Carminati)
- *
- * Revision 1.6 2002/10/22 15:02:15 alibrary
- * Introducing Riostream.h
- *
- * Revision 1.5 2002/10/14 14:57:32 hristov
- * Merging the VirtualMC branch to the main development branch (HEAD)
- *
- * Revision 1.4.8.1 2002/06/10 14:43:06 hristov
- * Merged with v3-08-02
- *
- * Revision 1.4 2001/10/05 12:11:40 hristov
- * iostream.h used instead of iostream (HP)
- *
- * Revision 1.3 2001/10/04 15:30:56 hristov
- * Changes to accommodate the set of PHOS folders and tasks (Y.Schutz)
- *
- * Revision 1.2 2001/05/21 17:22:51 buncic
- * Fixed problem with missing AliConfig while reading galice.root
- *
- * Revision 1.1 2001/05/16 14:57:22 alibrary
- * New files for folders and Stack
- *
- */
class TDatabasePDG;
class AliModule;
class AliTasks;
+#include <TNamed.h>
+
class AliConfig : public TNamed {
public:
enum {kFolders=8, kTasks=5};
AliConfig(const char * name, const char * title);
- AliConfig(const AliConfig&);
+ AliConfig(const AliConfig& conf);
void AddInFolder (const char * dir, TObject *obj);
void AddSubFolder(const char * dir[], TObject *obj);
void AddSubTask(const char * dir[], TObject *obj);
TObject* FindInFolder (const char *dir, const char *name);
AliConfig& operator = (const AliConfig&) {return *this;}
- TFolder *fTopFolder;
- AliTasks *fTasks;
+ TFolder *fTopFolder; // Pointer of the top folder
+ AliTasks *fTasks; // Pointer for the tasks
// folders
- const char* fPDGFolder ;
- const char* fGeneratorFolder ;
- const char* fMCFolder ;
- const char* fModuleFolder ;
- const char** fDetectorFolder ;
- const char** fDetectorTask ;
+ const char* fPDGFolder ; // Names of the PDG folders
+ const char* fGeneratorFolder ; // Names of the Generator folders
+ const char* fMCFolder ; // Names of MC folders
+ const char* fModuleFolder ; // Names of Module folders
+ const char** fDetectorFolder ; // Names of Detector folders
+ const char** fDetectorTask ; // Names of Detector Task folders
- static AliConfig* fInstance;
+ static AliConfig* fgInstance; // Instance of the singleton
ClassDef(AliConfig,1) //Configuration class for AliRun
}; // end class AliConfig