1 //--------------------------------------------------------------------------
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.
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
11 // Module: EvtMelikhov.cc
13 // Description: Routine to implement semileptonic B->D*lnu decays according
16 // Modification history:
18 // DJL April 20, 1998 Module created
20 //------------------------------------------------------------------------
22 #include "EvtGenBase/EvtPatches.hh"
24 #include "EvtGenBase/EvtParticle.hh"
25 #include "EvtGenBase/EvtGenKine.hh"
26 #include "EvtGenBase/EvtPDL.hh"
27 #include "EvtGenBase/EvtReport.hh"
28 #include "EvtGenModels/EvtMelikhov.hh"
29 #include "EvtGenModels/EvtMelikhovFF.hh"
30 #include "EvtGenBase/EvtSemiLeptonicVectorAmp.hh"
33 EvtMelikhov::~EvtMelikhov() {}
35 std::string EvtMelikhov::getName(){
41 EvtDecayBase* EvtMelikhov::clone(){
43 return new EvtMelikhov;
47 void EvtMelikhov::decay( EvtParticle *p ){
49 p->initializePhaseSpace(getNDaug(),getDaugs());
50 calcamp->CalcAmp(p,_amp2,Melikhovffmodel);
54 void EvtMelikhov::init(){
59 //We expect the parent to be a scalar
60 //and the daughters to be X lepton neutrino
62 checkSpinParent(EvtSpinType::SCALAR);
64 checkSpinDaughter(0,EvtSpinType::VECTOR);
65 checkSpinDaughter(1,EvtSpinType::DIRAC);
66 checkSpinDaughter(2,EvtSpinType::NEUTRINO);
69 Melikhovffmodel = new EvtMelikhovFF(getArg(0));
70 calcamp = new EvtSemiLeptonicVectorAmp;