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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Mar 4 12:51:13 2009 UTC (15 years, 9 months ago) by pamelats
Branch point for: MAIN, pamVMC
File MIME type: text/plain
Initial revision

1 pamelats 1.1 #ifndef PAMVMCGEOROTMGR_H
2     #define PAMVMCGEOROTMGR_H
3     #include <iostream>
4    
5     #include <TGeoMatrix.h>
6     #include "TString.h"
7     #include "TObjString.h"
8     #include "TMap.h"
9    
10     using std::cout;
11     using std::endl;
12    
13     class PamVMCGeoRotMgr: public TObject {
14    
15     private:
16    
17     static PamVMCGeoRotMgr * fgeorot;
18     TMap fdmap;
19    
20     protected:
21     PamVMCGeoRotMgr();
22    
23     public:
24    
25     ~PamVMCGeoRotMgr(){ fdmap.DeleteAll(); }
26    
27     static PamVMCGeoRotMgr * Instance();
28     TGeoRotation* GetRot(const char *name);
29    
30     void Print( const Option_t* ="") const {
31     cout << "PamVMCGeoRotMgr, list of pGeoRot stored " << endl;
32     fdmap.Print();
33     }
34    
35     };
36    
37     #endif

  ViewVC Help
Powered by ViewVC 1.1.23