]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliConfig.h
gAlice replaced by TVirtualMCApplication::Instance()
[u/mrichter/AliRoot.git] / STEER / AliConfig.h
index 5beddc15a347ebc8695f6fee45162fdd11ad5aa7..358a01e7d0ecce01eda198cb60a392d4233319ad 100644 (file)
@@ -4,36 +4,6 @@
  * 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;
@@ -47,6 +17,8 @@ class AliGenerator;
 class AliModule;
 class AliTasks;
 
+#include <TNamed.h>
+
 class AliConfig : public TNamed {
   
 public:
@@ -68,24 +40,24 @@ private:
 
   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