8 gSystem->Load(
"libPhysics.so");
9 gSystem->Load(
"libEG.so");
10 gSystem->Load(
"lib/libPndJRGen.so");
14 if (!(TDatabasePDG::Instance())->GetParticle(999))
15 (TDatabasePDG::Instance())->AddParticle(
"BeamTarget",
27 Int_t array[4]={211,-211,211,-211};
28 ((TDatabasePDG::Instance())->GetParticle(999))
29 -> AddDecayChannel(1, 1.0, 4, array);
34 Beam.
SetXYZM(0.,0.,10.,((TDatabasePDG::Instance())
35 -> GetParticle(-2212)) ->
Mass());
38 Target.SetXYZM(0.,0.,0.0,((TDatabasePDG::Instance())
39 -> GetParticle( 2212)) ->
Mass());
44 Vertex.SetXYZT(0,0,0,0);
PndReaction reaction(BeamTarget, VtxRes,"Gen_2K02Pi0.root")
TParticle BeamTarget(999, 1, 0, 0, 0, 0, s, Vertex)
Beam SetXYZM(0., 0., 8,((TDatabasePDG::Instance()) -> GetParticle(-2212)) -> Mass())
TVector3 VtxRes(.1,.1,.2)