Herwig++
2.7.0
|
00001 // -*- C++ -*- 00002 // 00003 // Smearing.h is a part of Herwig++ - A multi-purpose Monte Carlo event generator 00004 // Copyright (C) 2002-2011 The Herwig Collaboration 00005 // 00006 // Herwig++ is licenced under version 2 of the GPL, see COPYING for details. 00007 // Please respect the MCnet academic guidelines, see GUIDELINES for details. 00008 // 00009 // 00010 #ifndef HERWIG_Smearing_H 00011 #define HERWIG_Smearing_H 00012 // 00013 // This is the declaration of the Smearing class. 00014 00015 namespace Herwig { 00016 00021 class Smearing { 00022 00023 public: 00024 00030 static bool gaussianSmearing( const double mean, const double sigma, double & x ); 00031 00036 static bool azimuthalSmearing( const double r, double & vx, double & vy ); 00037 00038 private: 00039 00043 Smearing(); 00044 00048 Smearing(const Smearing & x); 00049 00054 Smearing & operator=(const Smearing & x); 00055 00056 }; 00057 00058 } 00059 00060 #endif /* HERWIG_Smearing_H */ 00061