// ESAF : Euso Simulation and Analysis Framework // $Id: NightGlowPhotonsOnPupil.hh,v 1.8 2005/02/13 12:58:20 thea Exp $ // creates nightglow photons in different conditions // eventually can handle moon phases or such // right now only flat night glow // Marco Pallavicini created May, 19 2003 #ifndef __NIGHTGLOWPHOTONSONPUPIL_HH_ #define __NIGHTGLOWPHOTONSONPUPIL_HH_ #include "euso.hh" #include "PhotonsOnPupil.hh" #include "EsafConfigurable.hh" class NightGlowPhotonsOnPupil : public PhotonsOnPupil, EsafConfigurable { public: NightGlowPhotonsOnPupil(double,double,double,double,double); virtual ~NightGlowPhotonsOnPupil(); virtual Photon *Get(); inline virtual void Clear() {} EsafConfigClass("LightToEuso","NightGlowPhotonsOnPupil") private: double fDuration; // time length of background in ns double fThMin, fThMax; // theta limits in field of view double fPhMin, fPhMax; // phi limits in field of view double fNightGlowIntensity; // in units of m-2 ns-1 str-1 double fPupilRadius; // radius of effective pupil in m double fDeltaPhi; // phi interval double fDeltaCosTheta; // cos theta interval Photon *fBufferPhoton; ClassDef(NightGlowPhotonsOnPupil,0) }; #endif /* __NIGHTGLOWPHOTONSONPUPIL_HH_ */