Parent Directory
|
Revision Log
Cleaning before committing
| 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 |