1 | // ESAF : Euso Simulation and Analysis Framework |
---|
2 | // $Id: SimpleCrkCalculator.hh 2676 2006-04-28 15:22:49Z moreggia $ |
---|
3 | // Anne Stutz created Apr, 27 2004 |
---|
4 | |
---|
5 | #ifndef __SIMPLECRKCALCULATOR_HH_ |
---|
6 | #define __SIMPLECRKCALCULATOR_HH_ |
---|
7 | |
---|
8 | #include "euso.hh" |
---|
9 | #include "CrkCalculator.hh" |
---|
10 | #include <TF12.h> |
---|
11 | #include <TH1F.h> |
---|
12 | |
---|
13 | class SimpleCrkCalculator : public CrkCalculator { |
---|
14 | public: |
---|
15 | // ctor |
---|
16 | SimpleCrkCalculator(); |
---|
17 | |
---|
18 | // dtor |
---|
19 | virtual ~SimpleCrkCalculator(); |
---|
20 | |
---|
21 | // get ready for next event |
---|
22 | virtual void Reset() {} |
---|
23 | |
---|
24 | // get the yield of the Cerenkov emission |
---|
25 | virtual Double_t GetCrkYield(const Double_t SC_alt, const Double_t SC_energy, Bool_t thr = true) const; |
---|
26 | |
---|
27 | // get the yield of the Cerenkov emission for an energy distribution |
---|
28 | virtual Double_t GetCrkYield(const Double_t SC_alt, TF12* EnergyDistribution) const; |
---|
29 | |
---|
30 | // get the yield of the Cerenkov emission |
---|
31 | virtual Double_t GetCrkYield(const Double_t SC_alt, const TH1F* EnergyDistribution) const; |
---|
32 | |
---|
33 | // get the wavelenght spectrum of the cerenkov emission |
---|
34 | virtual EsafSpectrum* GetCrkSpectrum() const; |
---|
35 | |
---|
36 | // get the energy threshold |
---|
37 | virtual Double_t GetEnergyThreshold(const Double_t SC_alt) const; |
---|
38 | |
---|
39 | private: |
---|
40 | |
---|
41 | ClassDef(SimpleCrkCalculator,0) |
---|
42 | }; |
---|
43 | |
---|
44 | #endif /* __SIMPLECRKCALCULATOR_HH_ */ |
---|
45 | |
---|