Pluto
v6.3.0
Loading...
Searching...
No Matches
dp_eta_subthreshold.C
Go to the documentation of this file.
1
//TITLE
2
3
{
4
5
// makeDistributionManager()->Disable("pp_eta_nstar_tcross");
6
makeDistributionManager
()->Disable(
"pp_eta_pp_align"
);
7
makeDistributionManager
()->Disable(
"pp_eta_prod_angle"
);
8
9
10
PReaction
my_reaction
(3.953235,
"d"
,
"p"
,
"p p eta (n)"
);
11
//PReaction my_reaction(10.,"d","p","p p eta n");
12
my_reaction
.Print();
//The "Print()" statement is optional
13
14
//Create my histogram:
15
TH1F *
histo1
=
new
TH1F (
"histo1"
,
"p+p mass"
,100,2.3,2.8);
16
//histo1->Sumw2();
17
//Create the container of the histogram list
18
PProjector
*
m1
=
new
PProjector
();
19
//Dilepton mass
20
m1
->AddHistogram(
histo1
,
"_x=[p + p]->M()"
);
21
22
my_reaction
.AddBulk(
m1
);
23
24
25
my_reaction
.Loop(1000);
26
27
histo1
->Draw(
""
);
28
29
}
30
31
32
33
34
35
36
37
38
39
40
PProjector
Definition
PProjector.h:20
PReaction
Definition
PReaction.h:37
makeDistributionManager
makeDistributionManager() -> Disable("pp_eta_prod_angle")
m1
PProjector * m1
Definition
dp_eta_subthreshold.C:18
my_reaction
PReaction my_reaction(3.953235,"d","p","p p eta (n)")
histo1
TH1F * histo1
Definition
proton_Li7_macro.C:14
my_reaction
PReaction my_reaction("3.5","p","7Li","p (n) phi [K+ K-] (6Li)","delme")
pluto6
macros
dp_eta_subthreshold.C
Generated by
1.14.0