Pluto
v6.3.0
Loading...
Searching...
No Matches
use_demo_pfilter.C
Go to the documentation of this file.
1
//TITLE Use the filter file from above
2
3
{
4
5
//Please use "make_demo_pfilter.C" before
6
7
makeDistributionManager
()->Unpack(
"pluto_demo_filter.root"
);
8
9
makeDistributionManager
()->Startup(
"_filter_debug=1"
);
10
makeDistributionManager
()->Startup(
"_filter_exclusive=1"
);
11
//makeDistributionManager()->Startup("_filter_smear_factor=1");
12
13
PReaction
my_reaction
(
"2.2"
,
"p"
,
"p"
,
"p p eta [dilepton [e+ e-] g]"
,
"eta_dalitz"
, 1, 0, 0, 0);
14
15
//for the exclusive version:
16
TH1F *
histo1
=
new
TH1F (
"histo1"
,
"pp missing mass"
, 100, 0.0, 1.);
17
my_reaction
.Do(
histo1
,
"miss= [p + p]- ( [p,1]+ [p,2] );_x=miss->M()"
);
18
19
my_reaction
.Print();
//The "Print()" statement is optional
20
my_reaction
.Loop(10000);
21
}
PReaction
Definition
PReaction.h:37
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")
my_reaction
PReaction my_reaction("2.2", "p", "p", "p p eta [dilepton [e+ e-] g]", "eta_dalitz", 1, 0, 0, 0)
makeDistributionManager
makeDistributionManager() -> Startup("_filter_debug=1")
pluto6
macros
use_demo_pfilter.C
Generated by
1.14.0