3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
9 * Revision 1.8 2002/10/29 14:59:45 alibrary
10 * Some more code cleanup
12 * Revision 1.7 2002/10/29 14:26:49 hristov
13 * Code clean-up (F.Carminati)
15 * Revision 1.6 2002/10/22 15:02:15 alibrary
16 * Introducing Riostream.h
18 * Revision 1.5 2002/10/14 14:57:32 hristov
19 * Merging the VirtualMC branch to the main development branch (HEAD)
21 * Revision 1.4.8.1 2002/06/10 14:43:06 hristov
22 * Merged with v3-08-02
24 * Revision 1.4 2001/10/05 12:11:40 hristov
25 * iostream.h used instead of iostream (HP)
27 * Revision 1.3 2001/10/04 15:30:56 hristov
28 * Changes to accommodate the set of PHOS folders and tasks (Y.Schutz)
30 * Revision 1.2 2001/05/21 17:22:51 buncic
31 * Fixed problem with missing AliConfig while reading galice.root
33 * Revision 1.1 2001/05/16 14:57:22 alibrary
34 * New files for folders and Stack
50 class AliConfig : public TNamed {
55 virtual ~ AliConfig ();
57 void Add (AliGenerator *generator);
58 void Add (TVirtualMC *mc);
59 void Add (TDatabasePDG *pdg);
60 void Add (AliModule *module);
61 void Add (AliDetector *detector);
63 void Add (char *list);
65 static AliConfig* Instance();
69 enum {kFolders=8, kTasks=5};
70 AliConfig(const char * name, const char * title);
71 AliConfig(const AliConfig&);
72 void AddInFolder (const char * dir, TObject *obj);
73 void AddSubFolder(const char * dir[], TObject *obj);
74 void AddSubTask(const char * dir[], TObject *obj);
75 TObject* FindInFolder (const char *dir, const char *name);
76 AliConfig& operator = (const AliConfig&) {return *this;}
81 const char* fPDGFolder ;
82 const char* fGeneratorFolder ;
83 const char* fMCFolder ;
84 const char* fModuleFolder ;
85 const char** fDetectorFolder ;
86 const char** fDetectorTask ;
88 static AliConfig* fInstance;
90 ClassDef(AliConfig,1) //Configuration class for AliRun
91 }; // end class AliConfig