1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef DoubleCrystalBallGenerator_H
#define DoubleCrystalBallGenerator_H
/**
* This class provides a Crystal Ball function generator
* The power-law tail can be either on the right side (default) or the left side
* \author Kevin Pedro
* $Date: 14 March 2013 */
class RandomEngineAndDistribution;
class DoubleCrystalBallGenerator {
public:
//constructor
DoubleCrystalBallGenerator() {}
//destructor
virtual ~DoubleCrystalBallGenerator() {}
//functions
double shoot(
double mu, double sigma, double aL, double nL, double aR, double nR, RandomEngineAndDistribution const* random);
};
#endif
|