26 matrix->
Do(
"mt = sqrt(_z*_z + _x*_x)");
27 matrix->
Do(
"p3 = mt * sinh(_y)");
28 matrix->
Do(
"phi = sampleFlat() * TMath::Pi() * 2.0");
29 matrix->
Do(
"p1 = _z * sin(phi)");
30 matrix->
Do(
"p2 = _z * cos(phi)");
31 matrix->
Do(
"[dilepton]->SetPx(p1)");
32 matrix->
Do(
"[dilepton]->SetPy(p2)");
33 matrix->
Do(
"[dilepton]->SetPz(p3)");
34 matrix->
Do(
"[dilepton]->SetM(_x)");
43 matrix->
Do(
"foreach(*); [*]->Boost(boost)");
56 TH1F *
histo1 =
new TH1F(
"histo1",
"ee mass", 100, 0.01, 1.5);
58 TH2F *
histo2 =
new TH2F(
"histo2",
"Y vs. Pt", 100, -4.0, 6.0, 300, 0.,1.);
Bool_t ReadDensityMatrix(const char *filename, Int_t dim, Bool_t use_bin_width, Double_t min_selection, Double_t max_selection)
Bool_t Do(const char *command)
PReaction my_reaction("3.5","p","7Li","p (n) phi [K+ K-] (6Li)","delme")
PChannel dilepton_decay(p, 2)
* makeDynamicData() -> GetBatchParticle("boost"))=boost
PReaction my_reaction(c, "output", 1)
PParticle boost(0, 0, 0, -4.0, 1.0)