Pluto v6.3.0
Loading...
Searching...
No Matches
eta_disto.C
Go to the documentation of this file.
1//TITLE The pp->ppeta reaction with N* contribution from DISTO
2//This macro generates 4 different models for this reaction
3
4{
5 Bool_t eta_helicity = kTRUE;
6 Bool_t pp_model = kTRUE;
7
8 Int_t ascii = 1;
9
10 // beam
11
12 PParticle p1("p", 2.2);
13 //PParticle p1("p",2.85);
15
17
18
21 pdm->SetVerbose(1);
22 PDistributionManager *dim = pdm->GetDistributionManager();
23
24 //primary meson production NONRESONANT
25 c->AddChannel(0.42, "p", "p", "eta");
26
27 //VIA N*(1535)
28 c->AddChannel(0.58, "p", "NS11+");
29
30 //IMPORTANT: If N* is decaying into more particles, ratios have to scaled!!!
31
32 //decay of the N*
34 nstar_decay->AddChannel(1.0, "eta", "p");
35 pdm->AddChannel("NS11+", nstar_decay);
36
37 //decay of the eta
39 eta_dalitz_decay->AddChannel(1, "g", "dilepton");
40 pdm->AddChannel("eta", eta_dalitz_decay);
41
42 //decay of the virtual photon:
44 eta_dilepton_decay->AddChannel(1.0, "e+", "e-");
45
46 pdm->AddChannel("dilepton", eta_dilepton_decay);
47
48 //dim->Disable("eta_physics");
49
50 TString filename("eta_dalitz_a");
51 if (!eta_helicity && !pp_model) {
52 dim->Disable("eta_dilepton_helicity");
53 dim->Disable("pp_eta_pp_align");
54 dim->Disable("pp_ns_eta_pp_align");
55 } else if (eta_helicity && !pp_model) {
56 filename = TString ("eta_dalitz_b");
57 dim->Disable("pp_eta_pp_align");
58 dim->Disable("pp_ns_eta_pp_align");
59 } else if (!eta_helicity && pp_model) {
60 filename = TString ("eta_dalitz_c");
61 dim->Disable("eta_dilepton_helicity");
62 } else {
63 filename = TString ("eta_dalitz_d");
64 }
65
66 pdm->InitReaction(&q, c);
67
68 pdm->loop(50000, 0, filename.Data(), 0, 0, 0, ascii, 1);
69}
70
71
PChannel * c[]
PParticle q
Definition complete_eta.C:8
PParticle p2("p")
PParticle p1("p", beam_energy)
PDecayManager * pdm
Definition dp_w_dalitz.C:5
PDecayChannel * eta_dilepton_decay
Definition eta_disto.C:43
PDecayChannel * nstar_decay
Definition eta_disto.C:33
PDistributionManager * dim
Definition eta_disto.C:22
PParticle p1("p", 2.2)
Bool_t pp_model
Definition eta_disto.C:6
TString filename("eta_dalitz_a")
Int_t ascii
Definition eta_disto.C:8
PDecayChannel * eta_dalitz_decay
Definition eta_disto.C:38
PParticle p2("p")