Page MenuHomeHEPForge

EvtBToPlnuBKFF.cpp
No OneTemporary

Size
3 KB
Referenced Files
None
Subscribers
None

EvtBToPlnuBKFF.cpp

/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* *
* EvtGen is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* EvtGen is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with EvtGen. If not, see <https://www.gnu.org/licenses/>. *
***********************************************************************/
#include "EvtGenModels/EvtBToPlnuBKFF.hh"
#include "EvtGenBase/EvtId.hh"
#include "EvtGenBase/EvtPDL.hh"
#include "EvtGenBase/EvtPatches.hh"
#include "EvtGenBase/EvtReport.hh"
#include <math.h>
#include <stdlib.h>
#include <string>
EvtBToPlnuBKFF::EvtBToPlnuBKFF( double alpha, double beta )
{
_alpha = alpha;
_beta = beta;
return;
}
void EvtBToPlnuBKFF::getscalarff( EvtId parent, EvtId /*daught*/, double t,
double /*mass*/, double* fp, double* f0 )
{
//Define mBstar
EvtId Bplus = EvtPDL::getId( "B+" );
EvtId Bminus = EvtPDL::getId( "B-" );
double mBstar = EvtPDL::getMeanMass( EvtPDL::getId( "B*0" ) );
if ( parent == Bplus || parent == Bminus )
mBstar = EvtPDL::getMeanMass( EvtPDL::getId( "B*+" ) );
double mBstar2 = mBstar * mBstar;
//Compute BK parametrization (t==q2)
double fplus = 1.0 /
( ( 1.0 - t / mBstar2 ) * ( 1.0 - _alpha * t / mBstar2 ) );
double fzero = 1.0 / ( 1.0 - t / ( mBstar2 * _beta ) );
*fp = fplus;
*f0 = fzero;
return;
}
void EvtBToPlnuBKFF::getvectorff( EvtId, EvtId, double, double, double*,
double*, double*, double* )
{
EvtGenReport( EVTGEN_ERROR, "EvtGen" )
<< "Not implemented :getvectorff in EvtBToPlnuBKFF.\n";
::abort();
}
void EvtBToPlnuBKFF::gettensorff( EvtId, EvtId, double, double, double*,
double*, double*, double* )
{
EvtGenReport( EVTGEN_ERROR, "EvtGen" )
<< "Not implemented :gettensorff in EvtBToPlnuBKFf.\n";
::abort();
}
void EvtBToPlnuBKFF::getbaryonff( EvtId, EvtId, double, double, double*,
double*, double*, double* )
{
EvtGenReport( EVTGEN_ERROR, "EvtGen" )
<< "Not implemented :getbaryonff in EvtBToPlnuBKFF.\n";
::abort();
}
void EvtBToPlnuBKFF::getdiracff( EvtId, EvtId, double, double, double*, double*,
double*, double*, double*, double* )
{
EvtGenReport( EVTGEN_ERROR, "EvtGen" )
<< "Not implemented :getdiracff in EvtBToPlnuBKFF.\n";
::abort();
}
void EvtBToPlnuBKFF::getraritaff( EvtId, EvtId, double, double, double*,
double*, double*, double*, double*, double*,
double*, double* )
{
EvtGenReport( EVTGEN_ERROR, "EvtGen" )
<< "Not implemented :getraritaff in EvtBToPlnuBKFF.\n";
::abort();
}

File Metadata

Mime Type
text/x-c
Expires
Tue, Sep 30, 6:02 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6538513
Default Alt Text
EvtBToPlnuBKFF.cpp (3 KB)

Event Timeline