21#include "EvtGenBase/EvtPatches.hh"
28#include "EvtGenBase/EvtParticle.hh"
29#include "EvtGenBase/EvtId.hh"
30#include "EvtGenBase/EvtPDL.hh"
31#include "EvtGenBase/EvtDiracParticle.hh"
32#include "EvtGenBase/EvtScalarParticle.hh"
33#include "EvtGenBase/EvtVectorParticle.hh"
34#include "EvtGenBase/EvtTensorParticle.hh"
35#include "EvtGenBase/EvtPhotonParticle.hh"
36#include "EvtGenBase/EvtNeutrinoParticle.hh"
37#include "EvtGenBase/EvtStringParticle.hh"
38#include "EvtGenBase/EvtRaritaSchwingerParticle.hh"
39#include "EvtGenBase/EvtHighSpinParticle.hh"
40#include "EvtGenBase/EvtReport.hh"
41#include "EvtGenBase/EvtParticleFactory.hh"
86 report(
ERROR,
"EvtGen")<<
"Error in EvtParticleFactory::particleFactory"<<endl;
87 report(
ERROR,
"EvtGen")<<
"Tried to create non-existing particle"
88 <<
" with spin type:"<<spinType<<endl;
89 report(
ERROR,
"EvtGen")<<
"Will terminate execution"<<endl;
109 myPart->
init(
id, p4);
117 myPart->
init(
id, p4);
124 myPart->
init(
id, p4);
131 myPart->
init(
id, p4);
138 myPart->
init(
id, p4);
145 myPart->
init(
id, p4);
152 myPart->
init(
id, p4);
159 myPart->
init(
id, p4);
166 myPart->
init(
id, p4);
173 myPart->
init(
id, p4);
180 myPart->
init(
id, p4);
187 myPart->
init(
id, p4);
192 report(
ERROR,
"EvtGen")<<
"Error in EvtParticleFactory::particleFactory"<<endl;
193 report(
ERROR,
"EvtGen")<<
"Tried to create non-existing particle"
194 <<
" with spin type:"<<thisSpin
196 report(
ERROR,
"EvtGen")<<
"Will terminate execution"<<endl;
ostream & report(Severity severity, const char *facility)
void init(EvtId part_n, const EvtVector4R &p4)
void init(EvtId id, const EvtVector4R &p)
void init(EvtId part_n, const EvtVector4R &p4)
static std::string name(EvtId i)
static EvtSpinType::spintype getSpinType(EvtId i)
static EvtParticle * particleFactory(EvtSpinType::spintype spinType)
void setSpinDensityForward(const EvtSpinDensity &rho)
void init(EvtId part_n, double e, double px, double py, double pz)
void init(EvtId id, const EvtVector4R &p4)
void init(EvtId part_n, double e, double px, double py, double pz)
static int getSpinStates(spintype stype)
void init(EvtId id, const EvtVector4R &p4)
void init(EvtId part_n, double e, double px, double py, double pz)
void init(EvtId part_n, double e, double px, double py, double pz)