1 |
nikolas |
1.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 |
|
|
static PamVMCGeoIDMgr * Instance(); |
37 |
|
|
pGeoID * GetGeoID(const char *name); |
38 |
|
|
|
39 |
|
|
void Print( const Option_t* ="") const { |
40 |
|
|
cout << "PamVMCGeoIDMgr, list of pGeoID stored " << endl; |
41 |
|
|
fdmap.Print(); |
42 |
|
|
} |
43 |
|
|
// ClassDef(PamVMCGeoIDMgr,1) |
44 |
|
|
|
45 |
|
|
}; |
46 |
|
|
|
47 |
|
|
#endif |