source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/lightsources/include/LightSourceFactory.hh @ 114

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
11class FluoCalculator;
12class CrkCalculator;
13
14class LightSourceFactory : public EsafConfigurable {
15public:
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 
30private:
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.