#define INGO_DEBUG
const long double hbar = 6.582122e-25;
#include "PData.h"
#include "PKinematics.h"
#include "PUtils.h"
#include "TF2.h"
int PData::LPW(const int &id, const int &i1, const int &i2) {
int jres = makeStaticData()->GetParticleSpin(id),
j1 = makeStaticData()->GetParticleSpin(i1),
j2 = makeStaticData()->GetParticleSpin(i2),
j12max = j1+j2,
j12min = abs(j1-j2),
l = TMath::Min(abs(jres-j12max),abs(jres-j12min))/2,
c = (l%2 != abs(makeStaticData()->GetParticleParity(id)
-makeStaticData()->GetParticleParity(i1)*
makeStaticData()->GetParticleParity(i2))/2);
return l+c;
}
int PData::IsMDalitz(const int &idx) {
if (!makeStaticData()->IsParticleMeson(makeStaticData()->GetDecayParent(idx)))
return 0;
int i, ic[10];
ic[0] = 10;
makeStaticData()->GetDecayMode(idx, ic);
if (!*ic || *ic>2) return 0;
for (i=1; i<=2; ++i)
if (makeStaticData()->IsParticle(ic[i], "dilepton") ||
makeStaticData()->IsParticle(ic[i], "dimuon")) {
return 1;
}
return 0;
}
#include "TApplication.h"
#include "../Version.h"
#include "../Compiled.h"
PSplash *gSplash = 0;
static PSplash PSplashInstance;
#include "TLorentzVector.h"
#include "TClass.h"
#include "TMethodCall.h"
PSplash::PSplash() {
if (gApplication)
if (!gApplication->NoLogoOpt()) {
cout << " *********************************************************" << endl;
cout << " * The Pluto event generator " << endl;
cout << " * Developed by HADES and all contributing AUTHORS " << endl;
cout << " * www-hades.gsi.de/computing/pluto/html/PlutoIndex.html " << endl;
cout << " * Version: " << version_string << endl;
cout << " * Compiled on " << date_string << endl;
cout << " *********************************************************" << endl;
}
}
ClassImp(PSplash)
ClassImp(PData)