Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:10:00

0001 #ifndef BEAM_Main_Monochromatic_H
0002 #define BEAM_Main_Monochromatic_H
0003 
0004 #include "BEAM/Main/Beam_Base.H"
0005 
0006 
0007 namespace BEAM {
0008   class Monochromatic : public Beam_Base {
0009   private:
0010     const ATOOLS::Flavour m_none;
0011   public:
0012     Monochromatic(const ATOOLS::Flavour,const double,const double,const int);
0013     Beam_Base * Copy();
0014     ATOOLS::Flavour Remnant();
0015     bool        CalculateWeight(const double,const double) { return true; }
0016   };
0017   /*!
0018     \file
0019     \brief contains the class BEAM::Monochromatic.
0020   */
0021   /*!
0022     \class Monochromatic
0023     \brief This class is for no beam spectra, i.e. monochromatic beams.
0024     In the unpolarized case, the weight will be exactly one, otherwise it should be
0025     given by
0026     \f[
0027     {\cal W} = \frac{\lambda_{\rm in}+\lambda_{\rm out}}{2}\,,
0028     \f]
0029     where both \f$\lambda_{\rm in,out}\f$ are the polarization degrees of the incoming
0030     and outgoing particle.
0031     \todo This is still to be implemented !
0032   */
0033   /*!
0034     \fn Monochromatic::Monochromatic(const ATOOLS::Flavour,const double,const double,const int)
0035     This is the constructor of the class. Vectors are constructed through a call to the
0036     constructor of the Beam_Base.
0037   */
0038   /*!
0039     \fn Beam_Base * Monochromatic::Copy()
0040     Returns an exact copy of this class.
0041   */
0042   /*!
0043     \fn bool Monochromatic::CalculateWeight(const double,const double)
0044     No weight is calculated so far.
0045   */
0046 }
0047 #endif