Pluto
v6.3.0
Loading...
Searching...
No Matches
thermal_rho.C
Go to the documentation of this file.
1
//TITLE <b>Thermal macros (PFireball):</b> Test thermal source of rho's
2
// (R.H. 21/3/2006)
3
4
{
5
6
//Add user-defined model without VDM M**3 scaling
7
PFixedDecay
*
pmodel
=
new
PFixedDecay
(
"rho0_novdm_e-_e+"
,
"Rho decay without VDM"
, -1);
8
pmodel
->Add(
"rho0, parent"
);
9
pmodel
->Add(
"e+, daughter"
);
10
pmodel
->Add(
"e-, daughter"
);
11
makeDistributionManager
()->Add(
pmodel
);
//This enables the model
12
13
//Enable this for removing the pi-cutoff:
14
//makeDistributionManager()->Enable("rho0_ee_e-_e+");
15
16
//Re-enabling VDM support:
17
makeDistributionManager
()->Enable(
"rho_picutoff_e-_e+"
);
18
19
//Finally check what we have done:
20
makeDistributionManager
()->Print(
"decay_models"
);
21
22
//PFireball *source = new PFireball("rho0", 0., 0.02, 0.0, 1, 0., 0., 0.0, 0.0, 0.0);
23
PFireball
*
source
=
new
PFireball
(
"rho0"
, 1.0, 0.055, 0.0, 1.0, 0.0, 0., 0., 0., 0.);
//1AGeV temp.
24
source
->setTrueThermal(kFALSE);
25
26
PParticle
*
rho
=
new
PParticle
(
"rho0"
);
27
PParticle
*
s1
[] = {
source
,
rho
};
28
PChannel
*
c1
=
new
PChannel
(
s1
, 1, 1);
29
30
PParticle
*
ep
=
new
PParticle
(
"e+"
);
31
PParticle
*
em
=
new
PParticle
(
"e-"
);
32
PParticle
*
s2
[] = {
rho
,
ep
,
em
};
33
PChannel
*
c2
=
new
PChannel
(
s2
, 2, 1);
34
35
PChannel
*
cc
[] = {
c1
,
c2
};
36
PReaction
*
r
=
new
PReaction
(
cc
,
"thermal_rho"
, 2, 1, 1);
37
r
->Print();
38
r
->SetHGeant(0);
// set to 1, if PLUTO run from HGeant prompt
39
r
->loop(10000);
40
41
//data->Draw("M()","ID()==41","");
42
43
}
ep
PParticle * ep
Definition
analyze_eta_dalitz.C:13
em
PParticle * em
Definition
analyze_eta_dalitz.C:13
c1
c1
Definition
analyze_pp_delta_dalitz.C:23
PChannel
Definition
PChannel.h:33
PFireball
Definition
PFireball.h:21
PFixedDecay
Definition
PFixedDecay.h:16
PParticle
Definition
PParticle.h:25
PReaction
Definition
PReaction.h:37
r
PReaction r(c,"eta_dalitz", 3, 0, 0, 0, 1)
s2
PParticle * s2[]
Definition
dp_2delta_dalitz.C:28
s1
PParticle * s1[]
Definition
dp_2delta_dalitz.C:28
c2
PChannel * c2
Definition
dp_2delta_dalitz.C:32
cc
PChannel * cc[]
Definition
dp_2delta_dalitz.C:36
pmodel
PFermiMomentumDD * pmodel
Definition
fermi_dd.C:38
rho
PChannelModel * rho
Definition
rho_mass_shape.C:27
source
PFireball source("pi0", 0.1, 0)
makeDistributionManager
makeDistributionManager() -> Add(pmodel)
pluto6
macros
thermal_rho.C
Generated by
1.14.0