/[PAMELA software]/PamVMC_update/include/PamVMCGeoRotMgr.h
ViewVC logotype

Annotation of /PamVMC_update/include/PamVMCGeoRotMgr.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Oct 15 15:52:29 2013 UTC (11 years, 1 month ago) by formato
Branch point for: MAIN, rel
File MIME type: text/plain
Initial revision

1 formato 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     void AddRot(const char *name, TGeoRotation *rot);
30    
31     void Print( const Option_t* ="") const {
32     cout << "PamVMCGeoRotMgr, list of pGeoRot stored " << endl;
33     fdmap.Print();
34     }
35    
36     };
37    
38     #endif

  ViewVC Help
Powered by ViewVC 1.1.23