CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GaussianTail.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Utilities_GaussianTail_H
2 #define FastSimulation_Utilities_GaussianTail_H
3 
4 // Florian Beaudette (LLR).
5 // 11/09/06
6 // Gaussian tail generator. Copied from the GNU Scientific library
7 
9 
11 {
12  public:
13  GaussianTail(double sigma=1., double threshold=2.);
14  ~GaussianTail();
15  inline void setParameters(double sigma, double threshold)
16  {
17  sigma_= sigma;
20  ssquare_ = s_ * s_;
21  };
22  double shoot(RandomEngineAndDistribution const*) const;
23 
24  private:
25 
26  double sigma_;
27  double threshold_;
28  double s_;
29  double ssquare_;
30 
31 };
32 
33 #endif
double threshold_
Definition: GaussianTail.h:27
double shoot(RandomEngineAndDistribution const *) const
Definition: GaussianTail.cc:18
GaussianTail(double sigma=1., double threshold=2.)
Definition: GaussianTail.cc:5
double sigma_
Definition: GaussianTail.h:26
void setParameters(double sigma, double threshold)
Definition: GaussianTail.h:15
double ssquare_
Definition: GaussianTail.h:29