Back to home page

EIC code displayed by LXR

 
 

    


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

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 EvtBcToNPi_HH
0022 #define EvtBcToNPi_HH
0023 
0024 #include "EvtGenBase/EvtComplex.hh"
0025 #include "EvtGenBase/EvtDecayAmp.hh"
0026 #include "EvtGenBase/EvtDecayBase.hh"
0027 #include "EvtGenBase/EvtParticle.hh"
0028 #include "EvtGenBase/EvtVector4R.hh"
0029 
0030 #include <string>
0031 
0032 // Description: General decay model for Bc -> V + npi and Bc -> P + npi
0033 
0034 class EvtBcToNPi : public EvtDecayAmp {
0035   public:
0036     EvtBcToNPi( bool printAuthorInfo = false );
0037 
0038     std::string getName() override;
0039 
0040     EvtDecayBase* clone() override;
0041 
0042     void initProbMax() override;
0043 
0044     void init() override;
0045 
0046     void decay( EvtParticle* p ) override;
0047 
0048   protected:
0049     int nCall;
0050     double maxAmp2;
0051 
0052     // Bc form factors
0053     double _maxProb;
0054     double FA0_N, FA0_c1, FA0_c2;
0055     double FAm_N, FAm_c1, FAm_c2;
0056     double FAp_N, FAp_c1, FAp_c2;
0057     double FV_N, FV_c1, FV_c2;
0058 
0059     double Fp_N, Fp_c1, Fp_c2;
0060     double Fm_N, Fm_c1, Fm_c2;
0061 
0062     // W -> pi... form factors
0063     double _beta;
0064     double _mRho;
0065     double _gammaRho;
0066     double _mRhopr;
0067     double _gammaRhopr;
0068     double _mA1;
0069     double _gammaA1;
0070 
0071     double _ee( double M, double m1, double m2 );
0072     double _pp( double M, double m1, double m2 );
0073     EvtComplex Fpi( EvtVector4R q1, EvtVector4R q2 );
0074     double pi3G( double m2, int dupD );
0075 
0076   private:
0077     void printAuthorInfo();
0078 };
0079 
0080 #endif