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>
11
#include "
PAngularDistribution.h
"
12
13
class
PSaidLowEnergy
:
public
PAngularDistribution
{
14
15
public
:
16
17
PSaidLowEnergy
();
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_
PAngularDistribution.h
PAngularDistribution::PAngularDistribution
PAngularDistribution()
PDistribution::PDistribution
PDistribution()
PSaidLowEnergy::Prepare
Bool_t Prepare(void)
Definition
PSaidLowEnergy.cc:67
PSaidLowEnergy::PSaidLowEnergy
PSaidLowEnergy()
Definition
PSaidLowEnergy.cc:29
PSaidLowEnergy::Clone
PDistribution * Clone(const char *delme=NULL) const
Definition
PSaidLowEnergy.cc:41
PSaidLowEnergy::Init
Bool_t Init(void)
Definition
PSaidLowEnergy.cc:55
PSaidLowEnergy::IsNotRejected
Bool_t IsNotRejected(void)
Definition
PSaidLowEnergy.cc:46
PSaidLowEnergy::SamplePolarAngle
double SamplePolarAngle(double)
Definition
PSaidLowEnergy.cc:71
pluto6
plugins
scatter_mod
include
PSaidLowEnergy.h
Generated by
1.14.0