73 {
74
76
78 {
79 EvtScalarParticle* myPart;
80 myPart = new EvtScalarParticle;
81 myPart->
init(
id, p4 );
83 return myPart;
84 }
85
87 {
88 EvtVectorParticle* myPart;
89 myPart = new EvtVectorParticle;
90 myPart->
init(
id, p4 );
92 return myPart;
93 }
95 {
96 EvtDiracParticle* myPart;
97 myPart = new EvtDiracParticle;
98 myPart->
init(
id, p4 );
100 return myPart;
101 }
103 {
104 EvtNeutrinoParticle* myPart;
105 myPart = new EvtNeutrinoParticle;
106 myPart->
init(
id, p4 );
108 return myPart;
109 }
111 {
112 EvtPhotonParticle* myPart;
113 myPart = new EvtPhotonParticle;
114 myPart->
init(
id, p4 );
116 return myPart;
117 }
119 {
120 EvtTensorParticle* myPart;
121 myPart = new EvtTensorParticle;
122 myPart->
init(
id, p4 );
124 return myPart;
125 }
127 {
128 EvtStringParticle* myPart;
129 myPart = new EvtStringParticle;
130 myPart->
init(
id, p4 );
132 return myPart;
133 }
135 {
136 EvtHighSpinParticle* myPart;
137 myPart = new EvtHighSpinParticle;
138 myPart->
init(
id, p4 );
140 return myPart;
141 }
143 {
144 EvtHighSpinParticle* myPart;
145 myPart = new EvtHighSpinParticle;
146 myPart->
init(
id, p4 );
148 return myPart;
149 }
151 {
152 EvtHighSpinParticle* myPart;
153 myPart = new EvtHighSpinParticle;
154 myPart->
init(
id, p4 );
156 return myPart;
157 }
159 {
160 EvtRaritaSchwingerParticle* myPart;
161 myPart = new EvtRaritaSchwingerParticle;
162 myPart->
init(
id, p4 );
164 return myPart;
165 }
167 {
168 EvtHighSpinParticle* myPart;
169 myPart = new EvtHighSpinParticle;
170 myPart->
init(
id, p4 );
172 return myPart;
173 }
174
175 report(
ERROR,
"EvtGen" ) <<
"Error in EvtParticleFactory::particleFactory" << endl;
176 report(
ERROR,
"EvtGen" ) <<
"Tried to create non-existing particle"
177 << " with spin type:" << thisSpin
179 report(
ERROR,
"EvtGen" ) <<
"Will terminate execution" << endl;
180
181 ::abort();
182
183 return 0;
184}
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)
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)
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)