EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtRareLbToLllFFBase.cpp
Go to the documentation of this file.
1
2/***********************************************************************
3* Copyright 1998-2022 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
22
27
29{
30 for ( unsigned int i = 0; i < 4; ++i ) {
31 m_F[i] = 0;
32 m_G[i] = 0;
33 m_FT[i] = 0;
34 m_GT[i] = 0;
35 }
36}
37
39 m_natural{ "Lambda0", "anti-Lambda0",
40 "Lambda(1520)0", "anti-Lambda(1520)0",
41 "Lambda(1600)0", "anti-Lambda(1600)0" }
42{
43}
44
46{
47 return m_natural.contains( lambda.getId() );
48}
49
51 const EvtParticle& lambda ) const
52{
53 EvtVector4R p4parent;
54 p4parent.set( parent.mass(), 0, 0, 0 );
55
56 EvtVector4R p4lambda = lambda.getP4();
57
58 const double M = lambda.mass();
59 const double MB = parent.mass();
60
61 return p4parent.cont( p4lambda ) / ( MB * M );
62
63 // return E_Lambda/M_Lambda
64}
65
67 const EvtParticle& lambda,
68 const double qsq ) const
69{
70 const double M = lambda.mass();
71 const double MB = parent.mass();
72
73 double E = ( MB * MB - M * M - qsq ) / ( 2. * MB );
74
75 return E / M;
76}
double lambda(double q, double m1, double m2)
Definition EvtFlatQ2.cpp:30
double mass() const
double calculateVdotV(const EvtParticle &parent, const EvtParticle &lambda) const
bool isNatural(const EvtParticle &lambda) const
double cont(const EvtVector4R &v4) const
void set(int i, double d)