/[PAMELA software]/trieste/pamVMC/include/PamVMCGeoIDMgr.h
ViewVC logotype

Annotation of /trieste/pamVMC/include/PamVMCGeoIDMgr.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Wed Mar 4 12:51:14 2009 UTC (15 years, 9 months ago) by pamelats
Branch: MAIN, pamVMC
CVS Tags: start, v0r00, HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/plain
Test pamVMC

1 pamelats 1.1 #ifndef PAMVMCGEOIDMGR_H
2     #define PAMVMCGEOIDMGR_H
3     #include <iostream>
4    
5     #include "TString.h"
6     #include "TObjString.h"
7     #include "TMap.h"
8    
9     #include "PamVMCCaloID.h"
10     #include "PamVMCTofID.h"
11     #include "PamVMCTrkID.h"
12     #include "PamVMCCardID.h"
13     #include "PamVMCCasID.h"
14     #include "PamVMCCatID.h"
15     #include "PamVMCS4ID.h"
16     #include "PamVMCNDID.h"
17    
18     using std::cout;
19     using std::endl;
20    
21     struct pGeoID;
22    
23    
24     class PamVMCGeoIDMgr: public TObject {
25    
26     private:
27    
28     static PamVMCGeoIDMgr * fgeoid;
29     TMap fdmap;
30    
31     protected:
32     PamVMCGeoIDMgr();
33    
34     public:
35    
36     ~PamVMCGeoIDMgr(){ fdmap.DeleteAll(); }
37    
38     static PamVMCGeoIDMgr * Instance();
39     pGeoID * GetGeoID(const char *name);
40    
41     void Print( const Option_t* ="") const {
42     cout << "PamVMCGeoIDMgr, list of pGeoID stored " << endl;
43     fdmap.Print();
44     }
45    
46     };
47    
48     #endif

  ViewVC Help
Powered by ViewVC 1.1.23