-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPropagatore.h
More file actions
56 lines (38 loc) · 1.1 KB
/
Propagatore.h
File metadata and controls
56 lines (38 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifndef PROPAGATORE_H
#define PROPAGATORE_H
#include "TObject.h"
#include "TRandom3.h"
#include "TFile.h"
#include "TH1.h"
#include "Retta.h"
#include "Punto.h"
#include "Neutron.h"
class Propagatore : public TObject
{
public:
//Propagatore();
//sto assumendo un target di sezione quadrata (ecco perchè solo un target_side)
Propagatore(TH1 *Cscatt, TH1 *Hscatt, TH1 *Cabs, TH1 *Habs, double target_side, double target_thickness, double hdensity, double cdensity);
virtual ~Propagatore();
double x_interaction(double En);
Neutron* scattering(Neutron *n);
void Propagation(Neutron *n);
double GetTargetThick() const {return ptarget_thickness;}
double GetNcoll() const {return pncollision;}
double GetAbscoll() const {return abs_collision;}
double GetAssorbiti() const {return assorbiti;}
private:
const TH1 *Cscattp;
const TH1 *Hscattp;
const TH1 *Cabsp;
const TH1 *Habsp;
double ptarget_side;
double ptarget_thickness;
double hpdensity;
double cpdensity;
double pncollision;
double abs_collision;
double assorbiti;
ClassDef(Propagatore,1)
};
#endif