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
EvtBToDiBaryonlnupQCDFF.cpp
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
22
24
28
29EvtBToDiBaryonlnupQCDFF::EvtBToDiBaryonlnupQCDFF( std::vector<double>& DParameters ) :
30 m_DPars( DParameters ), m_nDPars( DParameters.size() )
31{
32}
33
34void EvtBToDiBaryonlnupQCDFF::getFF( EvtParticle*, double dibaryonMass,
36{
37 if ( m_nDPars == 6 && dibaryonMass > 0.0 ) {
38 // 5/3*[1/M^2]^3
39 double t = 5.0 / ( 3.0 * pow( dibaryonMass, 6.0 ) );
40
41 double Dp = m_DPars[0];
42 double Dpb = m_DPars[1];
43 double D2 = m_DPars[2];
44 double D3 = m_DPars[3];
45 double D4 = m_DPars[4];
46 double D5 = m_DPars[5];
47
48 FF.m_F1 = ( Dp + 0.2 * Dpb ) * t;
49 FF.m_F2 = -D2 * t;
50 FF.m_F3 = -D3 * t;
51 FF.m_F4 = -D4 * t;
52 FF.m_F5 = -D5 * t;
53
54 FF.m_G1 = ( Dp - 0.2 * Dpb ) * t;
55 FF.m_G2 = -FF.m_F2;
56 FF.m_G3 = -FF.m_F3;
57 FF.m_G4 = -FF.m_F4;
58 FF.m_G5 = -FF.m_F5;
59 }
60}
61
63 EvtParticle* parent, double dibaryonMass,
65{
66 this->getFF( parent, dibaryonMass, FF );
67}
68
70 EvtParticle* parent, double dibaryonMass,
72{
73 this->getFF( parent, dibaryonMass, FF );
74}
void getRaritaFF(EvtParticle *parent, double dibaryonMass, EvtBToDiBaryonlnupQCDFF::FormFactors &FF) const
void getDiracFF(EvtParticle *parent, double dibaryonMass, EvtBToDiBaryonlnupQCDFF::FormFactors &FF) const
void getFF(EvtParticle *parent, double dibaryonMass, EvtBToDiBaryonlnupQCDFF::FormFactors &FF) const