Pluto v6.3.0
Loading...
Searching...
No Matches
PSaidLowEnergy.h
Go to the documentation of this file.
1// PSaid Class Header
2
3
4#ifndef _PSAIDLOWENERGY_H_
5#define _PSAIDLOWENERGY_H_
6
7#include <TGlobal.h>
8#include <TROOT.h>
9#include <TRandom3.h>
10#include <TArrayD.h>
12
14
15 public:
16
18 PSaidLowEnergy(const Char_t *id, const Char_t *de);
19
20 PDistribution *Clone(const char *delme=NULL) const;
21
22 Bool_t Init(void);
23 Bool_t Prepare(void);
24 Bool_t IsNotRejected(void);
25
26 double SamplePolarAngle(double);
27
28 private:
29
30 double told;
31 int dim;
32 TArrayD y, aa; // private arrays for the sampling algorithm
33
34 double dsdw(double, double); // diff. cross section (mb/sr) by sc. angle (deg), Tlab (GeV)
35 double sample(double, double); // sampling algorithm (rejection method)
36
37 ClassDef(PSaidLowEnergy, 0) //Pluto SAID Class (low energy)
38
39};
40#endif // _PSAILOWENERGYD_H_
Bool_t Prepare(void)
PDistribution * Clone(const char *delme=NULL) const
Bool_t Init(void)
Bool_t IsNotRejected(void)
double SamplePolarAngle(double)