Example of use of TGenPhaseSpace
void PhaseSpace() {
Double_t masses[3] = { 0.938, 0.139, 0.139} ;
TH2F *h2 =
new TH2F(
"h2",
"h2", 50,1.1,1.8, 50,1.1,1.8);
for (
Int_t n=0;n<100000;n++) {
h2->
Fill(pPPip.
M2() ,pPPim.
M2() ,weight);
}
}
- Author
- Valerio Filippini
Definition in file PhaseSpace.C.