source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/lightsources/include/SimpleCrkCalculator.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: 1.3 KB
Line 
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
13class SimpleCrkCalculator : public CrkCalculator {
14public:
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
39private:
40
41    ClassDef(SimpleCrkCalculator,0)
42};
43
44#endif  /* __SIMPLECRKCALCULATOR_HH_ */
45
Note: See TracBrowser for help on using the repository browser.