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 |