Pluto
v6.3.0
Loading...
Searching...
No Matches
user_w_dalitz_ff.C
Go to the documentation of this file.
1
//TITLE Demo using the batch syntax to change the omega form factor
2
3
{
4
PSimpleVMDFF
*ff =
new
PSimpleVMDFF
(
"vmd_ff_dd@w_to_dilepton_pi0/formfactor"
,
5
"VMD form factor"
, -1);
6
//use either the AddEquation or the SetVectorMesonMass version
7
ff->
AddEquation
(
"_ff2 = 0.17918225/( (0.4225- _q2)*(0.4225- _q2) + 0.000676)"
);
8
//ff->SetVectorMesonMass(0.77);
9
makeDistributionManager
()->Add(ff);
10
11
PReaction
my_reaction
(
"2.2"
,
"p"
,
"p"
,
"p p w [dilepton [e+ e-] pi0]"
);
12
my_reaction
.Print();
13
14
//This is for on-line debugging
15
TH1F *
histo1
=
new
TH1F (
"histo1"
,
"ee invariant mass"
, 100, 0., 0.8);
16
histo1
->Sumw2();
17
my_reaction
.Do(
histo1
,
"_x = ([e+,1] + [e-,1])->M()"
);
18
19
my_reaction
.Loop(10000);
20
21
histo1
->Draw(
""
);
22
}
PReaction
Definition
PReaction.h:37
PSimpleVMDFF
Definition
PSimpleVMDFF.h:13
PSimpleVMDFF::AddEquation
Bool_t AddEquation(const char *command)
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 w [dilepton [e+ e-] pi0]")
makeDistributionManager
makeDistributionManager() -> Add(ff)
pluto6
macros
user_w_dalitz_ff.C
Generated by
1.14.0