// ESAF : Euso Simulation and Analysis Framework // $Id: SimpleCrkCalculator.hh,v 1.11 2005/09/09 09:47:49 moreggia Exp $ // Anne Stutz created Apr, 27 2004 #ifndef __SIMPLECRKCALCULATOR_HH_ #define __SIMPLECRKCALCULATOR_HH_ #include "euso.hh" #include "CrkCalculator.hh" #include #include class SimpleCrkCalculator : public CrkCalculator { public: // ctor SimpleCrkCalculator(); // dtor virtual ~SimpleCrkCalculator(); // get ready for next event virtual void Reset() {} // get the yield of the Cerenkov emission virtual Double_t GetCrkYield(const Double_t SC_alt, const Double_t SC_energy, Bool_t thr = true) const; // get the yield of the Cerenkov emission for an energy distribution virtual Double_t GetCrkYield(const Double_t SC_alt, TF12* EnergyDistribution) const; // get the yield of the Cerenkov emission virtual Double_t GetCrkYield(const Double_t SC_alt, const TH1F* EnergyDistribution) const; // get the wavelenght spectrum of the cerenkov emission virtual EsafSpectrum* GetCrkSpectrum() const; // get the energy threshold virtual Double_t GetEnergyThreshold(const Double_t SC_alt) const; private: Double_t fLambdaMin; Double_t fLambdaMax; ClassDef(SimpleCrkCalculator,0) }; #endif /* __SIMPLECRKCALCULATOR_HH_ */