evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
EvtSVSCPLH.hh
Go to the documentation of this file.
1 
2 /***********************************************************************
3 * Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
4 * *
5 * This file is part of EvtGen. *
6 * *
7 * EvtGen is free software: you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation, either version 3 of the License, or *
10 * (at your option) any later version. *
11 * *
12 * EvtGen is distributed in the hope that it will be useful, *
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15 * GNU General Public License for more details. *
16 * *
17 * You should have received a copy of the GNU General Public License *
18 * along with EvtGen. If not, see <https://www.gnu.org/licenses/>. *
19 ***********************************************************************/
20 
21 #ifndef EVTSVSCPLH_HH
22 #define EVTSVSCPLH_HH
23 
24 #include "EvtGenBase/EvtComplex.hh"
26 
27 class EvtParticle;
28 
29 // Description: The decay of a scalar to a scalar and a vector particle are
30 // performed with CP violation and different widths for
31 // the cp even and odd states. E.g. B->J/psi K_S.
32 
33 class EvtSVSCPLH : public EvtDecayAmp {
34  public:
35  std::string getName() override;
36  EvtDecayBase* clone() override;
37 
38  void initProbMax() override;
39  void init() override;
40 
41  void decay( EvtParticle* p ) override;
42 
43  private:
46 
47  double _dm;
48  double _dgamma;
49 };
50 
51 #endif
void initProbMax() override
Definition: EvtSVSCPLH.cpp:83
EvtComplex _qop
Definition: EvtSVSCPLH.hh:45
void decay(EvtParticle *p) override
Definition: EvtSVSCPLH.cpp:91
EvtComplex _Abarf
Definition: EvtSVSCPLH.hh:44
EvtComplex _poq
Definition: EvtSVSCPLH.hh:45
EvtDecayBase * clone() override
Definition: EvtSVSCPLH.cpp:42
double _dgamma
Definition: EvtSVSCPLH.hh:48
double _dm
Definition: EvtSVSCPLH.hh:47
void init() override
Definition: EvtSVSCPLH.cpp:47
EvtComplex _Af
Definition: EvtSVSCPLH.hh:44
std::string getName() override
Definition: EvtSVSCPLH.cpp:37