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 
8 class RandomEngine;
9 
11 {
12  public:
13  GaussianTail(const RandomEngine* engine,
14  double sigma=1., double threshold=2.);
15  ~GaussianTail();
16  inline void setParameters(double sigma, double threshold)
17  {
18  sigma_= sigma;
21  ssquare_ = s_ * s_;
22  };
23  double shoot() const;
24 
25  private:
26 
28 
29  double sigma_;
30  double threshold_;
31  double s_;
32  double ssquare_;
33 
34 };
35 
36 #endif
double threshold_
Definition: GaussianTail.h:30
GaussianTail(const RandomEngine *engine, double sigma=1., double threshold=2.)
Definition: GaussianTail.cc:5
const RandomEngine * random
Definition: GaussianTail.h:27
double sigma_
Definition: GaussianTail.h:29
void setParameters(double sigma, double threshold)
Definition: GaussianTail.h:16
double shoot() const
Definition: GaussianTail.cc:20
double ssquare_
Definition: GaussianTail.h:32