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 EVTISGWFF_HH
0022 #define EVTISGWFF_HH
0023 
0024 #include "EvtGenBase/EvtSemiLeptonicFF.hh"
0025 
0026 class EvtId;
0027 
0028 // Description:Form factor routines specific to EvtISGW
0029 
0030 class EvtISGWFF : public EvtSemiLeptonicFF {
0031     void getscalarff( EvtId parent, EvtId daught, double t, double mass,
0032                       double* fpf, double* f0f ) override;
0033     void getvectorff( EvtId parent, EvtId daught, double t, double mass,
0034                       double* a1f, double* a2f, double* vf,
0035                       double* a0f ) override;
0036     void gettensorff( EvtId parent, EvtId daught, double t, double mass,
0037                       double* hf, double* kf, double* bpf, double* bmf ) override;
0038 
0039     void getbaryonff( EvtId, EvtId, double, double, double*, double*, double*,
0040                       double* ) override;
0041 
0042     void getdiracff( EvtId, EvtId, double, double, double*, double*, double*,
0043                      double*, double*, double* ) override;
0044 
0045     void getraritaff( EvtId, EvtId, double, double, double*, double*, double*,
0046                       double*, double*, double*, double*, double* ) override;
0047 
0048     // getscalarff, getvectorff, and gettensorff call the
0049     // correct isgw form factor routine which computes
0050     // form factors according to the ISGW paper.
0051 
0052     void EvtISGW1FF3S1( EvtId parent, EvtId daught, double t, double mass,
0053                         double* ff, double* gf, double* apf, double* amf );
0054     void EvtISGW1FF23S1( EvtId parent, EvtId daught, double t, double mass,
0055                          double* fpf, double* gpf, double* app, double* apm );
0056     void EvtISGW1FF3P1( EvtId parent, EvtId daught, double t, double mass,
0057                         double* lf, double* qf, double* cpf, double* cmf );
0058     void EvtISGW1FF3P0( EvtId parent, EvtId daught, double t, double mass,
0059                         double* upf, double* umf );
0060     void EvtISGW1FF1S0( EvtId parent, EvtId daught, double t, double mass,
0061                         double* fpf, double* fmf );
0062     void EvtISGW1FF21S0( EvtId parent, EvtId daught, double t, double mass,
0063                          double* fppf, double* fpmf );
0064     void EvtISGW1FF3P2( EvtId parent, EvtId daught, double t, double mass,
0065                         double* h, double* k, double* bp, double* bm );
0066     void EvtISGW1FF1P1( EvtId parent, EvtId daught, double t, double mass,
0067                         double* vf, double* rf, double* spf, double* smf );
0068 };
0069 
0070 #endif