/usr/include/root/TGenPhaseSpace.h is in libroot-math-physics-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | // @(#)root/physics:$Id$
// Author: Rene Brun , Valerio Filippini 06/09/2000
///////////////////////////////////////////////////////////////////////////////
// //
// Phase Space Generator, based on the GENBOD routine of CERNLIB //
// //
///////////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TGenPhaseSpace
#define ROOT_TGenPhaseSpace
#include "TLorentzVector.h"
class TGenPhaseSpace : public TObject {
private:
Int_t fNt; // number of decay particles
Double_t fMass[18]; // masses of particles
Double_t fBeta[3]; // betas of decaying particle
Double_t fTeCmTm; // total energy in the C.M. minus the total mass
Double_t fWtMax; // maximum weigth
TLorentzVector fDecPro[18]; //kinematics of the generated particles
Double_t PDK(Double_t a, Double_t b, Double_t c);
public:
TGenPhaseSpace(): fNt(0), fMass(), fBeta(), fTeCmTm(0.), fWtMax(0.) {}
TGenPhaseSpace(const TGenPhaseSpace &gen);
virtual ~TGenPhaseSpace() {}
TGenPhaseSpace& operator=(const TGenPhaseSpace &gen);
Bool_t SetDecay(TLorentzVector &P, Int_t nt, const Double_t *mass, Option_t *opt="");
Double_t Generate();
TLorentzVector *GetDecay(Int_t n);
Int_t GetNt() const { return fNt;}
Double_t GetWtMax() const { return fWtMax;}
ClassDef(TGenPhaseSpace,1) //Simple Phase Space Generator
};
#endif
|