Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:20:06

0001 
0002 /***********************************************************************
0003 * Copyright 1998-2020 CERN for the benefit of the EvtGen authors       *
0004 *                                                                      *
0005 * This file is part of EvtGen.                                         *
0006 *                                                                      *
0007 * EvtGen is free software: you can redistribute it and/or modify       *
0008 * it under the terms of the GNU General Public License as published by *
0009 * the Free Software Foundation, either version 3 of the License, or    *
0010 * (at your option) any later version.                                  *
0011 *                                                                      *
0012 * EvtGen is distributed in the hope that it will be useful,            *
0013 * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
0014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
0015 * GNU General Public License for more details.                         *
0016 *                                                                      *
0017 * You should have received a copy of the GNU General Public License    *
0018 * along with EvtGen.  If not, see <https://www.gnu.org/licenses/>.     *
0019 ***********************************************************************/
0020 
0021 #ifndef EVTISGW2FF_HH
0022 #define EVTISGW2FF_HH
0023 
0024 #include "EvtGenBase/EvtSemiLeptonicFF.hh"
0025 
0026 class EvtId;
0027 
0028 // Description:Form factor routines specific to EvtISGW2
0029 
0030 class EvtISGW2FF : public EvtSemiLeptonicFF {
0031   public:
0032     void getscalarff( EvtId parent, EvtId daught, double t, double mass,
0033                       double* fpf, double* f0f ) override;
0034     void getvectorff( EvtId parent, EvtId daught, double t, double mass,
0035                       double* a1f, double* a2f, double* vf,
0036                       double* a0f ) override;
0037     void gettensorff( EvtId parent, EvtId daught, double t, double mass,
0038                       double* hf, double* kf, double* bpf, double* bmf ) override;
0039 
0040     void getbaryonff( EvtId, EvtId, double, double, double*, double*, double*,
0041                       double* ) override;
0042 
0043     void getdiracff( EvtId, EvtId, double, double, double*, double*, double*,
0044                      double*, double*, double* ) override;
0045 
0046     void getraritaff( EvtId, EvtId, double, double, double*, double*, double*,
0047                       double*, double*, double*, double*, double* ) override;
0048 
0049   private:
0050     // getscalarff, getvectorff, and gettensorff call the
0051     // correct isgw2 form factor routine which computes
0052     // form factors according to the ISGW2 paper.
0053 
0054     void EvtISGW2FF3S1( EvtId parent, EvtId daught, double t, double mass,
0055                         double* ff, double* gf, double* apf, double* amf );
0056     void EvtISGW2FF23S1( EvtId parent, EvtId daught, double t, double mass,
0057                          double* fpf, double* gpf, double* app, double* apm );
0058     void EvtISGW2FF3P1( EvtId parent, EvtId daught, double t, double mass,
0059                         double* lf, double* qf, double* cpf, double* cmf );
0060     void EvtISGW2FF3P0( EvtId parent, EvtId daught, double t, double mass,
0061                         double* upf, double* umf );
0062     void EvtISGW2FF1S0( EvtId parent, EvtId daught, double t, double mass,
0063                         double* fpf, double* fmf );
0064     void EvtISGW2FF21S0( EvtId parent, EvtId daught, double t, double mass,
0065                          double* fppf, double* fpmf );
0066     void EvtISGW2FF3P2( EvtId parent, EvtId daught, double t, double mass,
0067                         double* h, double* k, double* bp, double* bm );
0068     void EvtISGW2FF1P1( EvtId parent, EvtId daught, double t, double mass,
0069                         double* rf, double* vf, double* spf, double* smf );
0070 
0071     double EvtGetas( double mass );
0072     double EvtGetas( double mass, double mass1 );
0073     double EvtGetGammaji( double z );
0074 };
0075 
0076 #endif