BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtModelReg.cc
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtModel.cc
12//
13// Description:
14//
15// Modification history:
16//
17// RYD September 25, 1996 Module created
18//
19//------------------------------------------------------------------------
20//
21#include "EvtGenBase/EvtPatches.hh"
22#include <iostream>
23#include <iomanip>
24#include <fstream>
25#include <ctype.h>
26#include <stdlib.h>
27#include <assert.h>
28#include "EvtGenBase/EvtModel.hh"
29
30#include "EvtGenModels/EvtTauVectornu.hh"
31#include "EvtGenModels/EvtVVP.hh"
32#include "EvtGenModels/EvtSLN.hh"
33#include "EvtGenModels/EvtISGW2.hh"
34#include "EvtGenModels/EvtMelikhov.hh"
35#include "EvtGenModels/EvtSLPole.hh"
36#include "EvtGenModels/EvtISGW.hh"
37#include "EvtGenModels/EvtBHadronic.hh"
38#include "EvtGenModels/EvtVSS.hh"
39#include "EvtGenModels/EvtVSSMix.hh"
40#include "EvtGenModels/EvtVSSBMixCPT.hh"
41#include "EvtGenModels/EvtVSPPwave.hh"
42#include "EvtGenModels/EvtGoityRoberts.hh"
43#include "EvtGenModels/EvtSVS.hh"
44#include "EvtGenModels/EvtTSS.hh"
45#include "EvtGenModels/EvtTVSPwave.hh"
46#include "EvtGenModels/EvtSVVHelAmp.hh"
47#include "EvtGenModels/EvtSVPHelAmp.hh"
48#include "EvtGenModels/EvtSVPCP.hh"
49#include "EvtGenModels/EvtVVSPwave.hh"
50#include "EvtGenModels/EvtDDalitz.hh"
51#include "EvtGenModels/EvtOmegaDalitz.hh"
52#include "EvtGenModels/EvtPi0Dalitz.hh"
53#include "EvtGenModels/EvtEtaDalitz.hh"
54#include "EvtGenModels/EvtPhsp.hh"
55#include "EvtGenModels/EvtCalHelAmp.hh"
56#include "EvtGenModels/EvtRexc.hh"
57#include "EvtGenModels/EvtConExc.hh"
58#include "EvtGenModels/EvtBtoXsgamma.hh"
59#include "EvtGenModels/EvtBtoXsll.hh"
60#include "EvtGenModels/EvtBtoXsEtap.hh"
61#include "EvtGenModels/EvtSSSCP.hh"
62#include "EvtGenModels/EvtSSSCPpng.hh"
63#include "EvtGenModels/EvtSTSCP.hh"
64#include "EvtGenModels/EvtSTS.hh"
65#include "EvtGenModels/EvtSSSCPT.hh"
66#include "EvtGenModels/EvtSVSCP.hh"
67#include "EvtGenModels/EvtSSDCP.hh"
68#include "EvtGenModels/EvtSVSNONCPEIGEN.hh"
69#include "EvtGenModels/EvtSVVNONCPEIGEN.hh"
70#include "EvtGenModels/EvtSVVCP.hh"
71#include "EvtGenModels/EvtSVVCPLH.hh"
72#include "EvtGenModels/EvtSVSCPLH.hh"
73#include "EvtGenModels/EvtSll.hh"
74#include "EvtGenModels/EvtVll.hh"
75#include "EvtGenModels/EvtEDM.hh"
76#include "EvtGenModels/EvtTaulnunu.hh"
77#include "EvtGenModels/EvtTauHadnu.hh"
78#include "EvtGenModels/EvtTauScalarnu.hh"
79#include "EvtGenModels/EvtKstarnunu.hh"
80#include "EvtGenModels/EvtbTosllBall.hh"
81#include "EvtGenModels/EvtSingleParticle.hh"
82#include "EvtGenModels/EvtSingleParticle2.hh"
83#include "EvtGenModels/EvtSinglePoint.hh"
84#include "EvtGenModels/EvtVectorIsr.hh"
85#include "EvtGenModels/EvtVPHOtoVISRHi.hh"
86#include "EvtGenModels/EvtVPHOtoVISR.hh"
87#include "EvtGenModels/EvtSLBKPole.hh"
88
89#include "EvtGenModels/EvtHQET.hh"
90#include "EvtGenModels/EvtHQET2.hh"
91#include "EvtGenBase/EvtParticle.hh"
92#include "EvtGenBase/EvtPDL.hh"
93#include "EvtGenModels/EvtHelAmp.hh"
94#include "EvtGenModels/EvtPartWave.hh"
95
96#include "EvtGenModels/EvtBto2piCPiso.hh"
97#include "EvtGenModels/EvtBtoKpiCPiso.hh"
98#include "EvtGenModels/EvtSVSCPiso.hh"
99#include "EvtGenModels/EvtVVpipi.hh"
100#include "EvtGenModels/EvtVVPIPI_WEIGHTED.hh"
101
102#include "EvtGenModels/EvtBTo4piCP.hh"
103#include "EvtGenModels/EvtBTo3piCP.hh"
104#include "EvtGenModels/EvtCBTo3piP00.hh"
105#include "EvtGenModels/EvtCBTo3piMPP.hh"
106#include "EvtGenModels/EvtBToKpipiCP.hh"
107#include "EvtGenModels/EvtBsquark.hh"
108#include "EvtGenModels/EvtPhiDalitz.hh"
109
110#include "EvtGenModels/EvtLNuGamma.hh"
111
112#include "EvtGenModels/EvtVub.hh"
113#include "EvtGenModels/EvtVubHybrid.hh"
114#include "EvtGenModels/EvtVubNLO.hh"
115#include "EvtGenModels/EvtPto3P.hh"
116#include "EvtGenModels/EvtBtoKD3P.hh"
117#include "EvtGenModels/EvtKstarstargamma.hh"
118#include "EvtGenModels/EvtFlatQ2.hh"
119#include "EvtGenModels/EvtLambdaP_BarGamma.hh"
120#include "EvtGenModels/EvtKKLambdaC.hh"
121#include "EvtGenModels/EvtMultibody.hh"
122#include "EvtGenModels/EvtJpipi.hh"
123#include "EvtGenModels/EvtAngSam.hh"
124#include "EvtGenModels/EvtAngSam3.hh"
125#include "EvtGenModels/EvtAngSamX.hh"
126#include "EvtGenModels/EvtAngSamLab.hh"
127#include "EvtGenModels/EvtS2GV.hh"
128#include "EvtGenModels/EvtAV2GV.hh"
129#include "EvtGenModels/EvtJ2BB1.hh"
130#include "EvtGenModels/EvtJ2BB2.hh"
131#include "EvtGenModels/EvtJ2BB3.hh"
132#include "EvtGenModels/EvtChi0BB1.hh"
133#include "EvtGenModels/EvtChi1BB1.hh"
134#include "EvtGenModels/EvtChi2BB1.hh"
135#include "EvtGenModels/EvtChi0BB2.hh"
136#include "EvtGenModels/EvtChi1BB2.hh"
137#include "EvtGenModels/EvtChi2BB2.hh"
138
139#include "EvtGenModels/EvtHypWK.hh" //BES , 2007
140#include "EvtGenModels/EvtTauGamMu.hh"
141#include "EvtGenModels/EvtHypNonLepton.hh" //from CLEO 2009-04
142#include "EvtGenModels/EvtDeBD.hh"
143#include "EvtGenModels/EvtT2GV.hh"
144#include "EvtGenModels/EvtP2GC0.hh"
145#include "EvtGenModels/EvtP2GC1.hh"
146#include "EvtGenModels/EvtP2GC2.hh"
147#include "EvtGenModels/EvtDIY.hh"
148#include "EvtGenModels/EvtEtap2gpipi.hh"
149#include "EvtGenModels/EvtEtap2gpipiB.hh"
150#include "EvtGenModels/EvtRhoPi.hh"
151#include "EvtGenModels/EvtHAngSam3.hh"
152#include "EvtGenModels/EvtAngH2.hh"
153#include "EvtGenModels/EvtMassH1.hh"
154#include "EvtGenModels/EvtMassH2.hh"
155#include "EvtGenModels/EvtmH2.hh"
156#include "EvtGenModels/EvtBody3.hh"
157#include "EvtGenModels/EvtMBody3.hh"
158#include "EvtGenModels/EvtJPE.hh"
159#include "EvtGenModels/EvtPBB1.hh"
160#include "EvtGenModels/EvtPBB2.hh"
161#include "EvtGenModels/EvtSPL.hh"
162#include "EvtGenModels/EvtHelPPJ.hh"
163#include "EvtGenModels/EvtLundCharm.hh"
164#include "EvtGenModels/EvtLunda.hh"
165#include "EvtGenModels/EvtPhokhara_pipi.hh"
166#include "EvtGenModels/EvtPhokhara_pi0pi0pipi.hh"
167#include "EvtGenModels/EvtPhokhara_4pi.hh"
168#include "EvtGenModels/EvtPhokhara_ppbar.hh"
169#include "EvtGenModels/EvtPhokhara_nnbar.hh"
170#include "EvtGenModels/EvtPhokhara_KK.hh"
171#include "EvtGenModels/EvtPhokhara_K0K0.hh"
172#include "EvtGenModels/EvtPhokhara_pipipi0.hh"
173#include "EvtGenModels/EvtPhokhara_LLB.hh"
174#include "EvtGenModels/EvtPhokhara_pipieta.hh"
175#include "EvtGenModels/EvtTauola.hh"
176#include "EvtGenModels/EvtOpenCharm.hh"
177#include "EvtGenModels/EvtmPhsp.hh"
178#include "EvtGenModels/EvtLambdac2pKpi.hh"
179#include "EvtGenModels/EvtTrackGen.hh"
180#include "EvtGenModels/EvtJTO3P.hh"
181#include "EvtGenModels/EvtDMix.hh"
182#include "EvtGenModels/EvtD0mixDalitz.hh"
183
184#include "EvtGenModels/EvtDToKpienu.hh"
185#include "EvtGenModels/EvtDTopipienu.hh"
186#include "EvtGenModels/EvtD0ToKpipipi.hh"
187#include "EvtGenModels/EvtDToKSpipipi.hh"
188#include "EvtGenModels/EvtD0ToKpipi0pi0.hh"
189
190#ifndef EVTSTANDALONE
191#include "EvtGenModels/EvtUclaII.hh"
192#include "EvtGenModels/EvtJetSet.hh"
193#include "EvtGenModels/EvtJscont.hh"
194#else
195#include "EvtGenModels/EvtPythia.hh"
196#include "EvtGenModels/EvtPyGaGa.hh"
197#include "EvtGenModels/EvtPycont.hh"
198#endif
199
200#include "EvtGenModels/EvtModelReg.hh"
201using std::fstream;
202using std::cout;
203using std::endl;
204
206{
207 EvtModel &modelist=EvtModel::instance();
208
209 modelist.Register(new EvtLambdaP_BarGamma);
210 modelist.Register(new EvtFlatQ2);
211 modelist.Register(new EvtTauHadnu);
212 modelist.Register(new EvtTauVectornu);
213 modelist.Register(new EvtVVP);
214 modelist.Register(new EvtSLN);
215 modelist.Register(new EvtISGW2);
216 modelist.Register(new EvtMelikhov);
217 modelist.Register(new EvtSLPole);
218 modelist.Register(new EvtHQET);
219 modelist.Register(new EvtHQET2);
220 modelist.Register(new EvtISGW);
221 modelist.Register(new EvtBHadronic);
222 modelist.Register(new EvtVSS);
223 modelist.Register(new EvtVSSMix);
224 modelist.Register(new EvtVSSBMixCPT);
225 modelist.Register(new EvtVSPPwave);
226 modelist.Register(new EvtGoityRoberts);
227 modelist.Register(new EvtSVS);
228 modelist.Register(new EvtTSS);
229 modelist.Register(new EvtTVSPwave);
230 modelist.Register(new EvtSVVHelAmp);
231 modelist.Register(new EvtSVPHelAmp);
232 modelist.Register(new EvtSVPCP);
233 modelist.Register(new EvtVVSPwave);
234 modelist.Register(new EvtDDalitz);
235 modelist.Register(new EvtOmegaDalitz);
236 modelist.Register(new EvtEtaDalitz);
237 modelist.Register(new EvtPhsp);
238 modelist.Register(new EvtCalHelAmp);
239 modelist.Register(new EvtRexc);
240 modelist.Register(new EvtLambdac2pKpi);
241 modelist.Register(new EvtTrackGen);
242 modelist.Register(new EvtConExc);
243 modelist.Register(new EvtBtoXsgamma);
244 modelist.Register(new EvtBtoXsll);
245 modelist.Register(new EvtBtoXsEtap);
246 modelist.Register(new EvtSSSCP);
247 modelist.Register(new EvtSSSCPpng);
248 modelist.Register(new EvtSTSCP);
249 modelist.Register(new EvtSTS);
250 modelist.Register(new EvtSSSCPT);
251 modelist.Register(new EvtSVSCP);
252 modelist.Register(new EvtSSDCP);
253 modelist.Register(new EvtSVSNONCPEIGEN);
254 modelist.Register(new EvtSVVNONCPEIGEN);
255 modelist.Register(new EvtSVVCP);
256 modelist.Register(new EvtSVVCPLH);
257 modelist.Register(new EvtSVSCPLH);
258 modelist.Register(new EvtSll);
259 modelist.Register(new EvtVll);
260 modelist.Register(new EvtEDM);
261 modelist.Register(new EvtTaulnunu);
262 modelist.Register(new EvtTauScalarnu);
263 modelist.Register(new EvtKstarnunu);
264 modelist.Register(new EvtbTosllBall);
265 modelist.Register(new EvtBto2piCPiso);
266 modelist.Register(new EvtBtoKpiCPiso);
267 modelist.Register(new EvtSVSCPiso);
268 modelist.Register(new EvtSingleParticle);
269 modelist.Register(new EvtSingleParticle2);
270 modelist.Register(new EvtSinglePoint);
271 modelist.Register(new EvtVectorIsr);
272 modelist.Register(new EvtVPHOtoVISRHi);
273 modelist.Register(new EvtVPHOtoVISR);
274 modelist.Register(new EvtSLBKPole);
275 modelist.Register(new EvtPi0Dalitz);
276 modelist.Register(new EvtHelAmp);
277 modelist.Register(new EvtPartWave);
278 modelist.Register(new EvtVVpipi);
279 modelist.Register(new EvtVVPIPI_WEIGHTED);
280 modelist.Register(new EvtBsquark);
281 modelist.Register(new EvtPhiDalitz);
282
283 modelist.Register(new EvtBTo4piCP);
284 modelist.Register(new EvtBTo3piCP);
285 modelist.Register(new EvtCBTo3piP00);
286 modelist.Register(new EvtCBTo3piMPP);
287 modelist.Register(new EvtBToKpipiCP);
288
289 modelist.Register(new EvtLNuGamma);
290 modelist.Register(new EvtKstarstargamma);
291
292 modelist.Register(new EvtVub);
293 modelist.Register(new EvtVubHybrid);
294 modelist.Register(new EvtVubNLO);
295 modelist.Register(new EvtPto3P);
296 modelist.Register(new EvtBtoKD3P);
297 modelist.Register(new EvtKKLambdaC);
298 modelist.Register(new EvtMultibody);
299 modelist.Register(new EvtJpipi);
300 modelist.Register(new EvtAngSam);
301 modelist.Register(new EvtAngSamLab);
302 modelist.Register(new EvtAngSam3);
303 modelist.Register(new EvtAngSamX);
304 modelist.Register(new EvtP2GC0);
305 modelist.Register(new EvtP2GC1);
306 modelist.Register(new EvtP2GC2);
307 modelist.Register(new EvtDIY);
308 modelist.Register(new EvtEtap2gpipi);
309 modelist.Register(new EvtEtap2gpipiB);
310 modelist.Register(new EvtRhoPi);
311 modelist.Register(new EvtHAngSam3);
312 modelist.Register(new EvtMassH1);
313 modelist.Register(new EvtMassH2);
314 modelist.Register(new EvtmH2);
315 modelist.Register(new EvtAngH2);
316 modelist.Register(new EvtBody3);
317 modelist.Register(new EvtMBody3);
318 modelist.Register(new EvtJPE);
319 modelist.Register(new EvtPBB1);
320 modelist.Register(new EvtPBB2);
321 modelist.Register(new EvtSPL);
322 modelist.Register(new EvtHelPPJ);
323 modelist.Register(new EvtS2GV);
324 modelist.Register(new EvtAV2GV);
325 modelist.Register(new EvtT2GV);
326 modelist.Register(new EvtJ2BB1);
327 modelist.Register(new EvtJ2BB2);
328 modelist.Register(new EvtJ2BB3);
329 modelist.Register(new EvtChi0BB1);
330 modelist.Register(new EvtChi1BB1);
331 modelist.Register(new EvtChi2BB1);
332 modelist.Register(new EvtChi0BB2);
333 modelist.Register(new EvtChi1BB2);
334 modelist.Register(new EvtChi2BB2);
335 modelist.Register(new EvtHypWK);
336 modelist.Register(new EvtTauGamMu);
337 modelist.Register(new EvtHypNonLepton);
338 modelist.Register(new EvtDeBD);
339 modelist.Register(new EvtLundCharm);
340 modelist.Register(new EvtLunda);
341 modelist.Register(new EvtPhokhara_pipi);
342 modelist.Register(new EvtPhokhara_pi0pi0pipi);
343 modelist.Register(new EvtPhokhara_4pi);
344 modelist.Register(new EvtPhokhara_ppbar);
345 modelist.Register(new EvtPhokhara_nnbar);
346 modelist.Register(new EvtPhokhara_KK);
347 modelist.Register(new EvtPhokhara_K0K0);
348 modelist.Register(new EvtPhokhara_pipipi0);
349 modelist.Register(new EvtPhokhara_LLB);
350 modelist.Register(new EvtPhokhara_pipieta);
351 modelist.Register(new EvtTauola);
352 modelist.Register(new EvtOpenCharm);
353 modelist.Register(new EvtmPhsp);
354 modelist.Register(new EvtJTO3P);
355 modelist.Register(new EvtDMix);
356 modelist.Register(new EvtD0mixDalitz);
357
358 modelist.Register(new EvtDToKpienu);
359 modelist.Register(new EvtDTopipienu);
360 modelist.Register(new EvtD0ToKpipipi);
361 modelist.Register(new EvtDToKSpipipi);
362 modelist.Register(new EvtD0ToKpipi0pi0);
363
364#ifndef EVTSTANDALONE
365 modelist.Register(new EvtUclaII);
366 cout << "Will register EvtJetSet"<<endl;
367 modelist.Register(new EvtJetSet);
368 modelist.Register(new EvtJscont);
369#else
370 modelist.Register(new EvtPycont);
371 cout << "Will register EvtPythia"<<endl;
372 modelist.Register(new EvtPythia);
373 modelist.Register(new EvtPyGaGa);
374#endif
375
376}
377
378
379
380
381
382
383
384