BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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//
22#include <iostream>
23#include <iomanip>
24#include <fstream>
25#include <ctype.h>
26#include <stdlib.h>
27#include <assert.h>
29
88
92#include "EvtGenBase/EvtPDL.hh"
95
101
109
111
112#include "EvtGenModels/EvtVub.hh"
128#include "EvtGenModels/EvtAV2GV.hh"
129#include "EvtGenModels/EvtJ2BB1.hh"
138
139#include "EvtGenModels/EvtHypWK.hh" //BES , 2007
141#include "EvtGenModels/EvtHypNonLepton.hh" //from CLEO 2009-04
145#include "EvtGenModels/EvtP2GC1.hh"
147#include "EvtGenModels/EvtDIY.hh"
148//#include "EvtGenModels/EvtFDC.hh"
149#include "EvtGenModels/EvtEtap2gpipi.hh" //added by Liaoyuan Dong Dec 18 05:52:33 2022
155#include "EvtGenModels/EvtmH2.hh"
158#include "EvtGenModels/EvtJPE.hh"
160#include "EvtGenModels/EvtPBB2.hh"
161#include "EvtGenModels/EvtSPL.hh"
174#include "EvtGenModels/EvtPhokhara_Lambda.hh" //new added by LUO Jiashun
175#include "EvtGenModels/EvtPhokhara_pi0gam.hh" //new added by LUO Jiashun
176#include "EvtGenModels/EvtPhokhara_etagam.hh" //new added by LUO Jiashun
177#include "EvtGenModels/EvtPhokhara_etapgam.hh" //new added by LUO Jiashun
178#include "EvtGenModels/EvtFromParent.hh" //new Added by LUO Jiashun
179#include "EvtGenModels/EvtFromParent_Lambda.hh" //new Added by LUO Jiashun
180#include "EvtGenModels/EvtFromParent_antiLambda.hh" //new Added by LUO Jiashun
188#include "EvtGenModels/EvtJTO3P.hh"
189#include "EvtGenModels/EvtDMix.hh"
191
192#include "EvtGenModels/EvtD0ToKpipipi.hh" // added by Liaoyuan Dong Dec 17 01:42:36 2022
193#include "EvtGenModels/EvtD0Topipienu.hh" // added by Liaoyuan Dong
194#include "EvtGenModels/EvtD0Toa0enu.hh" // added by Liaoyuan Dong
195#include "EvtGenModels/EvtD0ToKpipi0pi0.hh" // added by Liaoyuan Dong
196#include "EvtGenModels/EvtD0ToKSpipipi0.hh" // added by Liaoyuan Dong
197#include "EvtGenModels/EvtD0To2pip2pim.hh" // added by Liaoyuan Dong
198#include "EvtGenModels/EvtD0Topippim2pi0.hh" // added by Liaoyuan Dong
199#include "EvtGenModels/EvtD0TopipiEta.hh" // added by Liaoyuan Dong
200#include "EvtGenModels/EvtD0ToKpipi0.hh" // added by Liaoyuan Dong
201#include "EvtGenModels/EvtD0ToKpiEtap.hh" // added by Liaoyuan Dong
202#include "EvtGenModels/EvtD0ToKSpipi.hh" // added by Liaoyuan Dong
203#include "EvtGenModels/EvtD0ToKSpipipi0pi0.hh" // added by Liaoyuan Dong
204#include "EvtGenModels/EvtD0ToKKpipi.hh" // added by Liaoyuan Dong
205#include "EvtGenModels/EvtD0ToKSKK.hh" // added by Liaoyuan Dong
206#include "EvtGenModels/EvtD0ToKSpi0pi0.hh" // added by Liaoyuan Dong
207
208#include "EvtGenModels/EvtDToKpienu.hh" // added by Liaoyuan Dong Dec 17 01:42:36 2022
209#include "EvtGenModels/EvtDTopipienu.hh" // added by Liaoyuan Dong
210#include "EvtGenModels/EvtDTopi0pi0enu.hh" // added by Liaoyuan Dong
211#include "EvtGenModels/EvtDToa0enu.hh" // added by Liaoyuan Dong
212#include "EvtGenModels/EvtDToKSpipipi.hh" // added by Liaoyuan Dong
213#include "EvtGenModels/EvtDToKSKpi0.hh" // added by Liaoyuan Dong
214#include "EvtGenModels/EvtDToKmPipPipPi0.hh" // added by Liaoyuan Dong
215#include "EvtGenModels/EvtDToKSpipi0pi0.hh" // added by Liaoyuan Dong
216#include "EvtGenModels/EvtDTopipi0Eta.hh" // added by Liaoyuan Dong
217#include "EvtGenModels/EvtDToKSpieta.hh" // added by Liaoyuan Dong
218#include "EvtGenModels/EvtDToKppipipi0.hh" // added by Liaoyuan Dong
219#include "EvtGenModels/EvtDToKSKSpi.hh" // added by Liaoyuan Dong
220#include "EvtGenModels/EvtDTopipi0pi0.hh" // added by Liaoyuan Dong
221#include "EvtGenModels/EvtDTopiEtaEta.hh" // added by Liaoyuan Dong
222
223#include "EvtGenModels/EvtDtoKpipiPlot.hh" // added by Liaoyuan Dong Dec 17 01:42:36 2022
224#include "EvtGenModels/EvtDtoKKpiPlot.hh" // added by Liaoyuan Dong
225#include "EvtGenModels/EvtDtoKSpiomegaPlot.hh" // added by Liaoyuan Dong
226#include "EvtGenModels/EvtDtoKSpietaPlot.hh" // added by Liaoyuan Dong
227#include "EvtGenModels/EvtDtopietaetaPlot.hh" // added by Liaoyuan Dong
228#include "EvtGenModels/EvtDtopipi0etaPlot.hh" // added by Liaoyuan Dong
229#include "EvtGenModels/EvtDtopipi0pi0Plot.hh" // added by Liaoyuan Dong
230#include "EvtGenModels/EvtDtopipipiPlot.hh" // added by Liaoyuan Dong
231#include "EvtGenModels/EvtD0toKpietaPlot.hh" // added by Liaoyuan Dong
232#include "EvtGenModels/EvtD0toKpiomegaPlot.hh" // added by Liaoyuan Dong
233#include "EvtGenModels/EvtD0toKpipi0Plot.hh" // added by Liaoyuan Dong
234#include "EvtGenModels/EvtD0toKSpi0omegaPlot.hh" // added by Liaoyuan Dong
235#include "EvtGenModels/EvtD0toKSpi0etaPlot.hh" // added by Liaoyuan Dong
236#include "EvtGenModels/EvtD0toKSpipiPlot.hh" // added by Liaoyuan Dong
237#include "EvtGenModels/EvtD0toKLpipiPlot.hh" // added by Liaoyuan Dong
238#include "EvtGenModels/EvtD0topipietaPlot.hh" // added by Liaoyuan Dong
239
240#ifndef EVTSTANDALONE
244#else
248#endif
249
251using std::fstream;
252using std::cout;
253using std::endl;
254
256{
257 EvtModel &modelist=EvtModel::instance();
258
259 modelist.Register(new EvtLambdaP_BarGamma);
260 modelist.Register(new EvtFlatQ2);
261 modelist.Register(new EvtTauHadnu);
262 modelist.Register(new EvtTauVectornu);
263 modelist.Register(new EvtVVP);
264 modelist.Register(new EvtSLN);
265 modelist.Register(new EvtISGW2);
266 modelist.Register(new EvtMelikhov);
267 modelist.Register(new EvtSLPole);
268 modelist.Register(new EvtHQET);
269 modelist.Register(new EvtHQET2);
270 modelist.Register(new EvtISGW);
271 modelist.Register(new EvtBHadronic);
272 modelist.Register(new EvtVSS);
273 modelist.Register(new EvtVSSMix);
274 modelist.Register(new EvtVSSBMixCPT);
275 modelist.Register(new EvtVSPPwave);
276 modelist.Register(new EvtGoityRoberts);
277 modelist.Register(new EvtSVS);
278 modelist.Register(new EvtTSS);
279 modelist.Register(new EvtTVSPwave);
280 modelist.Register(new EvtSVVHelAmp);
281 modelist.Register(new EvtSVPHelAmp);
282 modelist.Register(new EvtSVPCP);
283 modelist.Register(new EvtVVSPwave);
284 modelist.Register(new EvtDDalitz);
285 modelist.Register(new EvtOmegaDalitz);
286 modelist.Register(new EvtEtaDalitz);
287 modelist.Register(new EvtPhsp);
288 modelist.Register(new EvtCalHelAmp);
289 modelist.Register(new EvtRexc);
290 modelist.Register(new EvtLambdac2pKpi);
291 modelist.Register(new EvtTrackGen);
292 modelist.Register(new EvtConExc);
293 modelist.Register(new EvtBtoXsgamma);
294 modelist.Register(new EvtBtoXsll);
295 modelist.Register(new EvtBtoXsEtap);
296 modelist.Register(new EvtSSSCP);
297 modelist.Register(new EvtSSSCPpng);
298 modelist.Register(new EvtSTSCP);
299 modelist.Register(new EvtSTS);
300 modelist.Register(new EvtSSSCPT);
301 modelist.Register(new EvtSVSCP);
302 modelist.Register(new EvtSSDCP);
303 modelist.Register(new EvtSVSNONCPEIGEN);
304 modelist.Register(new EvtSVVNONCPEIGEN);
305 modelist.Register(new EvtSVVCP);
306 modelist.Register(new EvtSVVCPLH);
307 modelist.Register(new EvtSVSCPLH);
308 modelist.Register(new EvtSll);
309 modelist.Register(new EvtVll);
310 modelist.Register(new EvtEDM);
311 modelist.Register(new EvtTaulnunu);
312 modelist.Register(new EvtTauScalarnu);
313 modelist.Register(new EvtKstarnunu);
314 modelist.Register(new EvtbTosllBall);
315 modelist.Register(new EvtBto2piCPiso);
316 modelist.Register(new EvtBtoKpiCPiso);
317 modelist.Register(new EvtSVSCPiso);
318 modelist.Register(new EvtSingleParticle);
319 modelist.Register(new EvtSingleParticle2);
320 modelist.Register(new EvtSinglePoint);
321 modelist.Register(new EvtVectorIsr);
322 modelist.Register(new EvtVPHOtoVISRHi);
323 modelist.Register(new EvtVPHOtoVISR);
324 modelist.Register(new EvtSLBKPole);
325 modelist.Register(new EvtPi0Dalitz);
326 modelist.Register(new EvtHelAmp);
327 modelist.Register(new EvtPartWave);
328 modelist.Register(new EvtVVpipi);
329 modelist.Register(new EvtVVPIPI_WEIGHTED);
330 modelist.Register(new EvtBsquark);
331 modelist.Register(new EvtPhiDalitz);
332
333 modelist.Register(new EvtBTo4piCP);
334 modelist.Register(new EvtBTo3piCP);
335 modelist.Register(new EvtCBTo3piP00);
336 modelist.Register(new EvtCBTo3piMPP);
337 modelist.Register(new EvtBToKpipiCP);
338
339 modelist.Register(new EvtLNuGamma);
340 modelist.Register(new EvtKstarstargamma);
341
342 modelist.Register(new EvtVub);
343 modelist.Register(new EvtVubHybrid);
344 modelist.Register(new EvtVubNLO);
345 modelist.Register(new EvtPto3P);
346 modelist.Register(new EvtBtoKD3P);
347 modelist.Register(new EvtKKLambdaC);
348 modelist.Register(new EvtMultibody);
349 modelist.Register(new EvtJpipi);
350 modelist.Register(new EvtAngSam);
351 modelist.Register(new EvtAngSamLab);
352 modelist.Register(new EvtAngSam3);
353 modelist.Register(new EvtAngSamX);
354 modelist.Register(new EvtP2GC0);
355 modelist.Register(new EvtP2GC1);
356 modelist.Register(new EvtP2GC2);
357 modelist.Register(new EvtDIY);
358 //modelist.Register(new EvtFDC);
359 modelist.Register(new EvtEtap2gpipi); // added by Liaoyuan Dong Dec 18 05:52:33 2022
360 modelist.Register(new EvtRhoPi);
361 modelist.Register(new EvtHAngSam3);
362 modelist.Register(new EvtMassH1);
363 modelist.Register(new EvtMassH2);
364 modelist.Register(new EvtmH2);
365 modelist.Register(new EvtAngH2);
366 modelist.Register(new EvtBody3);
367 modelist.Register(new EvtMBody3);
368 modelist.Register(new EvtJPE);
369 modelist.Register(new EvtPBB1);
370 modelist.Register(new EvtPBB2);
371 modelist.Register(new EvtSPL);
372 modelist.Register(new EvtHelPPJ);
373 modelist.Register(new EvtS2GV);
374 modelist.Register(new EvtAV2GV);
375 modelist.Register(new EvtT2GV);
376 modelist.Register(new EvtJ2BB1);
377 modelist.Register(new EvtJ2BB2);
378 modelist.Register(new EvtJ2BB3);
379 modelist.Register(new EvtChi0BB1);
380 modelist.Register(new EvtChi1BB1);
381 modelist.Register(new EvtChi2BB1);
382 modelist.Register(new EvtChi0BB2);
383 modelist.Register(new EvtChi1BB2);
384 modelist.Register(new EvtChi2BB2);
385 modelist.Register(new EvtHypWK);
386 modelist.Register(new EvtTauGamMu);
387 modelist.Register(new EvtHypNonLepton);
388 modelist.Register(new EvtDeBD);
389 modelist.Register(new EvtLundCharm);
390 modelist.Register(new EvtLunda);
391 modelist.Register(new EvtPhokhara_pipi);
392 modelist.Register(new EvtPhokhara_pi0pi0pipi);
393 modelist.Register(new EvtPhokhara_4pi);
394 modelist.Register(new EvtPhokhara_ppbar);
395 modelist.Register(new EvtPhokhara_nnbar);
396 modelist.Register(new EvtPhokhara_KK);
397 modelist.Register(new EvtPhokhara_K0K0);
398 modelist.Register(new EvtPhokhara_pipipi0);
399 modelist.Register(new EvtPhokhara_LLB);
400 modelist.Register(new EvtPhokhara_Lambda); // new added by LUO Jiashun
401 modelist.Register(new EvtPhokhara_pi0gam); // new added by LUO Jiashun
402 modelist.Register(new EvtPhokhara_etagam); // new added by LUO Jiashun
403 modelist.Register(new EvtPhokhara_etapgam); // new added by LUO Jiashun
404 modelist.Register(new EvtFromParent); // new added by LUO Jiashun
405 modelist.Register(new EvtFromParent_antiLambda); // new added by LUO Jiashun
406 modelist.Register(new EvtFromParent_Lambda); // new added by LUO Jiashun
407 modelist.Register(new EvtPhokhara_pipieta);
408 modelist.Register(new EvtTauola);
409 modelist.Register(new EvtOpenCharm);
410 modelist.Register(new EvtmPhsp);
411 modelist.Register(new EvtPhspStepf);
412 modelist.Register(new EvtJTO3P);
413 modelist.Register(new EvtDMix);
414 modelist.Register(new EvtD0mixDalitz);
415
416 modelist.Register(new EvtD0ToKpipipi); // added by Liaoyuan Dong Dec 17 01:42:36 2022
417 modelist.Register(new EvtD0Topipienu); // added by Liaoyuan Dong
418 modelist.Register(new EvtD0Toa0enu); // added by Liaoyuan Dong
419 modelist.Register(new EvtD0ToKpipi0pi0); // added by Liaoyuan Dong
420 modelist.Register(new EvtD0ToKSpipipi0); // added by Liaoyuan Dong
421 modelist.Register(new EvtD0To2pip2pim); // added by Liaoyuan Dong
422 modelist.Register(new EvtD0Topippim2pi0); // added by Liaoyuan Dong
423 modelist.Register(new EvtD0TopipiEta); // added by Liaoyuan Dong
424 modelist.Register(new EvtD0ToKpipi0); // added by Liaoyuan Dong
425 modelist.Register(new EvtD0ToKpiEtap); // added by Liaoyuan Dong
426 modelist.Register(new EvtD0ToKSpipi); // added by Liaoyuan Dong
427 modelist.Register(new EvtD0ToKSpipipi0pi0); // added by Liaoyuan Dong
428 modelist.Register(new EvtD0ToKKpipi); // added by Liaoyuan Dong
429 modelist.Register(new EvtD0ToKSKK); // added by Liaoyuan Dong
430 modelist.Register(new EvtD0ToKSpi0pi0); // added by Liaoyuan Dong
431
432 modelist.Register(new EvtDToKpienu); // added by Liaoyuan Dong Dec 17 01:42:36 2022
433 modelist.Register(new EvtDTopipienu); // added by Liaoyuan Dong
434 modelist.Register(new EvtDTopi0pi0enu); // added by Liaoyuan Dong
435 modelist.Register(new EvtDToa0enu); // added by Liaoyuan Dong
436 modelist.Register(new EvtDToKSpipipi); // added by Liaoyuan Dong
437 modelist.Register(new EvtDToKSKpi0); // added by Liaoyuan Dong
438 modelist.Register(new EvtDToKmPipPipPi0); // added by Liaoyuan Dong
439 modelist.Register(new EvtDToKSpipi0pi0); // added by Liaoyuan Dong
440 modelist.Register(new EvtDTopipi0Eta); // added by Liaoyuan Dong
441 modelist.Register(new EvtDToKSpieta); // added by Liaoyuan Dong
442 modelist.Register(new EvtDToKppipipi0); // added by Liaoyuan Dong
443 modelist.Register(new EvtDToKSKSpi); // added by Liaoyuan Dong
444 modelist.Register(new EvtDTopipi0pi0); // added by Liaoyuan Dong
445 modelist.Register(new EvtDTopiEtaEta); // added by Liaoyuan Dong
446
447 modelist.Register(new EvtDtoKpipiPlot); // added by Liaoyuan Dong Dec 17 01:42:36 2022
448 modelist.Register(new EvtDtoKKpiPlot); // added by Liaoyuan Dong
449 modelist.Register(new EvtDtoKSpiomegaPlot); // added by Liaoyuan Dong
450 modelist.Register(new EvtDtoKSpietaPlot); // added by Liaoyuan Dong
451 modelist.Register(new EvtDtopietaetaPlot); // added by Liaoyuan Dong
452 modelist.Register(new EvtDtopipi0etaPlot); // added by Liaoyuan Dong
453 modelist.Register(new EvtDtopipi0pi0Plot); // added by Liaoyuan Dong
454 modelist.Register(new EvtDtopipipiPlot); // added by Liaoyuan Dong
455 modelist.Register(new EvtD0toKpietaPlot); // added by Liaoyuan Dong
456 modelist.Register(new EvtD0toKpiomegaPlot); // added by Liaoyuan Dong
457 modelist.Register(new EvtD0toKpipi0Plot); // added by Liaoyuan Dong
458 modelist.Register(new EvtD0toKSpi0omegaPlot); // added by Liaoyuan Dong
459 modelist.Register(new EvtD0toKSpi0etaPlot); // added by Liaoyuan Dong
460 modelist.Register(new EvtD0toKSpipiPlot); // added by Liaoyuan Dong
461 modelist.Register(new EvtD0toKLpipiPlot); // added by Liaoyuan Dong
462 modelist.Register(new EvtD0topipietaPlot); // added by Liaoyuan Dong
463
464#ifndef EVTSTANDALONE
465 modelist.Register(new EvtUclaII);
466 cout << "Will register EvtJetSet"<<endl;
467 modelist.Register(new EvtJetSet);
468 modelist.Register(new EvtJscont);
469#else
470 modelist.Register(new EvtPycont);
471 cout << "Will register EvtPythia"<<endl;
472 modelist.Register(new EvtPythia);
473 modelist.Register(new EvtPyGaGa);
474#endif
475
476}
Definition: EvtDIY.hh:29
Definition: EvtEDM.hh:22
Definition: EvtJPE.hh:28
void Register(EvtDecayBase *prototype)
Definition: EvtModel.cc:64
static EvtModel & instance()
Definition: EvtModel.hh:63
Definition: EvtSLN.hh:30
Definition: EvtSPL.hh:29
Definition: EvtSTS.hh:28
Definition: EvtSVS.hh:30
Definition: EvtSll.hh:30
Definition: EvtTSS.hh:31
Definition: EvtVSS.hh:28
Definition: EvtVVP.hh:28
Definition: EvtVll.hh:28
Definition: EvtVub.hh:34
Definition: EvtmH2.hh:29