Last change
on this file since 114 was
114,
checked in by moretto, 11 years ago
|
actual version of ESAF at CCin2p3
|
File size:
927 bytes
|
Line | |
---|
1 | // ESAF : Euso Simulation and Analysis Framework |
---|
2 | // $Id: LightSourceFactory.hh 1112 2004-09-28 12:10:53Z thea $ |
---|
3 | // Anne Stutz created Mar, 23 2004 |
---|
4 | |
---|
5 | #ifndef __LIGHTSOURCEFACTORY_HH_ |
---|
6 | #define __LIGHTSOURCEFACTORY_HH_ |
---|
7 | |
---|
8 | #include "euso.hh" |
---|
9 | #include "EsafConfigurable.hh" |
---|
10 | |
---|
11 | class FluoCalculator; |
---|
12 | class CrkCalculator; |
---|
13 | |
---|
14 | class LightSourceFactory : public EsafConfigurable { |
---|
15 | public: |
---|
16 | // dtor |
---|
17 | virtual ~LightSourceFactory(); |
---|
18 | |
---|
19 | // instance |
---|
20 | static LightSourceFactory *Get(); |
---|
21 | |
---|
22 | // Get Fluorescence Calculator |
---|
23 | FluoCalculator *GetFluoCalculator( const string& name ); |
---|
24 | |
---|
25 | // Get Cerenkov Calculator |
---|
26 | CrkCalculator *GetCrkCalculator( const string& name ); |
---|
27 | |
---|
28 | EsafConfigClass(LightSource,LightSourceFactory); |
---|
29 | |
---|
30 | private: |
---|
31 | // ctor |
---|
32 | LightSourceFactory(); |
---|
33 | |
---|
34 | // unique instance of LightSourceFactory |
---|
35 | static LightSourceFactory *fMe; |
---|
36 | |
---|
37 | ClassDef(LightSourceFactory,0) |
---|
38 | }; |
---|
39 | |
---|
40 | #endif /* __LIGHTSOURCEFACTORY_HH_ */ |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.