3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 * Revision 1.3 2001/10/04 15:30:56 hristov
10 * Changes to accommodate the set of PHOS folders and tasks (Y.Schutz)
12 * Revision 1.2 2001/05/21 17:22:51 buncic
13 * Fixed problem with missing AliConfig while reading galice.root
15 * Revision 1.1 2001/05/16 14:57:22 alibrary
16 * New files for folders and Stack
23 #include <TInterpreter.h>
26 #include <TDatabasePDG.h>
35 class AliConfig : public TNamed {
40 // ctor: this is a singleton, the ctor should never be called but cint needs it as public
41 cerr << "ERROR: AliConfig is a singleton default ctor not callable" << endl ;
45 virtual ~ AliConfig ();
47 void Add (AliGenerator *generator);
49 void Add (TDatabasePDG *pdg);
50 void Add (AliModule *module);
51 void Add (AliDetector *detector);
53 void Add (char *list);
55 static AliConfig* Instance();
58 AliConfig(const char * name, const char * title );
59 void AddInFolder (char * dir, TObject *obj);
60 void AddSubFolder(char * dir[], TObject *obj);
61 void AddSubTask(char * dir[], TObject *obj);
62 TObject* FindInFolder (char *dir, const char *name);
68 char* fGeneratorFolder ;
71 char** fDetectorFolder ;
72 char** fDetectorTask ;
75 static AliConfig* fInstance;
77 ClassDef(AliConfig,1) //Configuration class for AliRun
78 }; // end class AliConfig