7 model->
Add(
"g,grandparent,beam");
8 model->
Add(
"p,grandparent,target");
9 model->
Add(
"q,parent");
10 model->
Add(
"p,daughter");
11 model->
Add(
"eta,daughter,primary");
20 TH1F *
distribution =
new TH1F(
"distribution",
"Angular distribution", 10, -1 , 1 );
72 TH2F *
histo2 =
new TH2F (
"histo2",
"c.m. vs cos_theta",100,1.0,3.0,20,-1,1);
73 my_reaction.Do(
histo2,
"_x = [g+p]->M(); myeta = [eta]; myeta->Boost([g+p]); _y = myeta->CosTheta()");
Int_t Add(const Char_t *opt)
void SetRange(Double_t mymin, Double_t mymax)
Bool_t AddHistogram(TH2 *histo, char *command)
PReaction my_reaction("_P1 = 2.2","g","p","p eta [dilepton [e+ e-] g]")
makeDistributionManager() -> Add(model)
PReaction my_reaction("3.5","p","7Li","p (n) phi [K+ K-] (6Li)","delme")