3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 * Revision 1.4.8.1 2002/06/10 14:43:06 hristov
10 * Merged with v3-08-02
12 * Revision 1.4 2001/10/05 12:11:40 hristov
13 * iostream.h used instead of iostream (HP)
15 * Revision 1.3 2001/10/04 15:30:56 hristov
16 * Changes to accommodate the set of PHOS folders and tasks (Y.Schutz)
18 * Revision 1.2 2001/05/21 17:22:51 buncic
19 * Fixed problem with missing AliConfig while reading galice.root
21 * Revision 1.1 2001/05/16 14:57:22 alibrary
22 * New files for folders and Stack
29 #include <TInterpreter.h>
32 #include <TDatabasePDG.h>
41 class AliConfig : public TNamed {
46 // ctor: this is a singleton, the ctor should never be called but cint needs it as public
47 cerr << "ERROR: AliConfig is a singleton default ctor not callable" << endl ;
51 virtual ~ AliConfig ();
53 void Add (AliGenerator *generator);
55 void Add (TDatabasePDG *pdg);
56 void Add (AliModule *module);
57 void Add (AliDetector *detector);
59 void Add (char *list);
61 static AliConfig* Instance();
64 AliConfig(const char * name, const char * title );
65 void AddInFolder (char * dir, TObject *obj);
66 void AddSubFolder(char * dir[], TObject *obj);
67 void AddSubTask(char * dir[], TObject *obj);
68 TObject* FindInFolder (char *dir, const char *name);
74 char* fGeneratorFolder ;
77 char** fDetectorFolder ;
78 char** fDetectorTask ;
81 static AliConfig* fInstance;
83 ClassDef(AliConfig,1) //Configuration class for AliRun
84 }; // end class AliConfig