Pluto v6.3.0
Loading...
Searching...
No Matches
PSaid.h
Go to the documentation of this file.
1// Author: M.A. Kagarlis
2// Written: 02.02.00
3// Revised: 19.06.03 R.H.
4// Revised: 26.06.07 IF
5// PSaid Class Header
6
7// R. Arndt's p+p elastic scattering parametrization
8#ifndef _PSAID_H_
9#define _PSAID_H_
10
11#include <TGlobal.h>
12#include <TROOT.h>
13#include <TRandom3.h>
14#include <TArrayD.h>
16
18
19 public:
20
22 PSaid(const Char_t *id, const Char_t *de);
23
24 PDistribution *Clone(const char *delme=NULL) const;
25
26 Bool_t Init(void);
27 Bool_t Prepare(void);
28 Bool_t IsNotRejected(void);
29
30 double SamplePolarAngle(double);
31
33
34 private:
35
36 double told;
37
38 int dim;
39 //TRandom3 *REngine; // private M-Twistor random number engine
40 TArrayD y, aa; // private arrays for the sampling algorithm
41 void defaults();
42
43 double dsdw(double, double); // diff. cross section (mb/sr) by sc. angle (deg), Tlab (GeV)
44 double sample(double, double); // sampling algorithm (rejection method)
45
46 ClassDef(PSaid, 0) //Pluto SAID Class
47
48};
49#endif // _PSAID_H_
Bool_t Init(void)
PDistribution * Clone(const char *delme=NULL) const
Bool_t Prepare(void)
Bool_t IsNotRejected(void)
PSaid(const Char_t *id, const Char_t *de)
double SamplePolarAngle(double)