Parent Directory
|
Revision Log
Cleaning before committing
| 1 | #ifndef PAMVMCVOLCRMGR_H |
| 2 | #define PAMVMCVOLCRMGR_H |
| 3 | #include <iostream> |
| 4 | |
| 5 | #include "TString.h" |
| 6 | #include "TObjString.h" |
| 7 | #include "TMap.h" |
| 8 | #include "PamVMCVolCross.h" |
| 9 | |
| 10 | |
| 11 | class PamVMCVolCrossMgr: public TObject { |
| 12 | |
| 13 | private: |
| 14 | |
| 15 | static PamVMCVolCrossMgr * fcrm; |
| 16 | TMap fvolmap; |
| 17 | Bool_t fGood; |
| 18 | |
| 19 | |
| 20 | protected: |
| 21 | |
| 22 | PamVMCVolCrossMgr(); |
| 23 | |
| 24 | public: |
| 25 | |
| 26 | ~PamVMCVolCrossMgr() {fvolmap.DeleteAll();}; |
| 27 | |
| 28 | static PamVMCVolCrossMgr * Instance(); |
| 29 | |
| 30 | PamVMCVolCross * GetSD(const char *name){ |
| 31 | return (PamVMCVolCross*)fvolmap(name); |
| 32 | } |
| 33 | |
| 34 | Bool_t IsTrackGood(); |
| 35 | |
| 36 | void Reset(); |
| 37 | |
| 38 | void Print( const Option_t* ="") const { |
| 39 | cout << "PamVMCVolumes Special Crossing " << endl; |
| 40 | fvolmap.Print(); |
| 41 | } |
| 42 | |
| 43 | }; |
| 44 | |
| 45 | #endif |
| ViewVC Help | |
| Powered by ViewVC 1.1.23 |