Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Poisson.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Poisson.h
1 #ifndef __POISSON_H_
2 #define __POISSON_H_
3 
4 #include <stdio.h>
5 #include <fstream>
6 #include <iostream>
7 #include <iomanip>
8 #include <sstream>
9 #include <string>
10 
11 #include <cmath>
12 
13 using namespace std;
14 
15 
16 // Poisson class //
17 
18 class Poisson {
19 
20  private:
21 
22  public:
23 
24  long double poisson_prob( double mean, int value );
25  long double exp1( double mean, int value );
26  long double exp2( double mean );
27  long double fact( int value );
28 
29 };
30 
31 #endif