/////////////////////////////////////////////////////////////////////////////// // // Global control of photon thinning. This class defines the photon // thinning factor. This will reduce the number of photons created by // scintillation or Cerenkov whilst at the same time increasing the PMT // efficiency by the same factor - thereby negating the affect of the // thinning. // // Author: p.g.jones@qmul.ac.uk // // REVISION HISTORY: // 2014-08-05 : P G Jones - Added doxygen. // /////////////////////////////////////////////////////////////////////////////// #ifndef __RAT_PhotonThinning_hh__ #define __RAT_PhotonThinning_hh__ namespace RAT { class PhotonThinning { public: // Called at the beginning of a new run static void BeginOfRun(); // Get the thinning factor static double GetFactor() { return fThinningFactor; }; // Set the thinning factor static void SetFactor( const double factor ); protected: static double fThinningFactor; // The photon thinning factor }; } // namespace RAT #endif