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);
h2->
Fill(pPPip.
M2() ,pPPim.
M2() ,weight);
}
}
Utility class to generate n-body event, with constant cross-section (default) or with Fermi energy de...
Bool_t SetDecay(TLorentzVector &P, Int_t nt, const Double_t *mass, Option_t *opt="")
Input:
virtual void Draw(Option_t *option="")
Draw this histogram with options.
2-D histogram with a float per channel (see TH1 documentation)}
Int_t Fill(Double_t)
Invalid Fill method.
TLorentzVector is a general four-vector class, which can be used either for the description of positi...
- Author
- Valerio Filippini
Definition in file PhaseSpace.C.