18 "p + A",
"p + p,A'", 1.0);
22 "Quasi-free particle production", -1);
24 pmodel->Add(
"q",
"parent");
25 pmodel->Add(
"p",
"grandparent",
"beam");
26 pmodel->Add(
"A",
"grandparent",
"target");
27 pmodel->Add(
"A'",
"daughter",
"spectator");
28 pmodel->Add(
"q",
"daughter",
"composite");
29 pmodel->Add(
"p",
"granddaughter",
"participant");
30 pmodel->Add(
"p",
"granddaughter",
"p2");
63 TH1F *
histo1 =
new TH1F (
"histo1",
"pp mass", 100, 2.5, 4.0);
64 TH1F *
histo2 =
new TH1F (
"histo2",
"cos theta", 100, -1., 1.);
69 m1->AddHistogram(
histo1,
"_x=[p + p]->M()");
71 m1->AddHistogram(
histo2,
"p1=[p,1]; p1->Boost([p + A]); _x=cos(p1->Theta())");
PDistributionManager * makeDistributionManager()
PStaticData * makeStaticData()
void Print(const Option_t *delme="root") const
void Disable(const Char_t *id)
int Add(PDistribution *dist)
int AddDecay(int didx, const char *name, const char *parent, const char *daughters, double br)
int AddParticle(int pid, const char *name, double mass)
PParticle p1("p", beam_energy)
PFermiMomentumDD * pmodel
PReaction my_reaction("3.5","p","7Li","p (n) phi [K+ K-] (6Li)","delme")