Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:24:14

0001 // -*- C++ -*-
0002 //
0003 // MatchboxTopLinearSumMTScale.h is a part of Herwig - A multi-purpose Monte Carlo event generator
0004 // Copyright (C) 2002-2019 The Herwig Collaboration
0005 //
0006 // Herwig is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef Herwig_MatchboxTopLinearSumMTScale_H
0010 #define Herwig_MatchboxTopLinearSumMTScale_H
0011 //
0012 // This is the declaration of the MatchboxTopLinearSumMTScale class.
0013 //
0014 
0015 #include "Herwig/MatrixElement/Matchbox/Utility/MatchboxScaleChoice.h"
0016 
0017 namespace Herwig {
0018 
0019 using namespace ThePEG;
0020 
0021 /**
0022  * \ingroup Matchbox
0023  * \author Stephen Webster
0024  *
0025  * \brief MatchboxTopLinearSumMTScale implements the scale as the linear
0026  *        sum of the transverse masses of the top and antitop quarks in 
0027  *        a top pair process.
0028  *
0029  */
0030 class MatchboxTopLinearSumMTScale: public MatchboxScaleChoice {
0031 
0032 public:
0033 
0034   /** @name Standard constructors and destructors. */
0035   //@{
0036   /**
0037    * The default constructor.
0038    */
0039   MatchboxTopLinearSumMTScale();
0040 
0041   /**
0042    * The destructor.
0043    */
0044   virtual ~MatchboxTopLinearSumMTScale();
0045   //@}
0046 
0047 public:
0048 
0049   /**
0050    * Return the renormalization scale.
0051    */
0052   virtual Energy2 renormalizationScale() const;
0053 
0054   /**
0055    * Return the factorization scale.
0056    */
0057   virtual Energy2 factorizationScale() const;
0058 
0059   /**
0060    * Return the shower hard scale.
0061    */
0062   virtual Energy2 showerScale() const;
0063 
0064 public:
0065 
0066   /** @name Functions used by the persistent I/O system. */
0067   //@{
0068   /**
0069    * Function used to write out object persistently.
0070    * @param os the persistent output stream written to.
0071    */
0072   void persistentOutput(PersistentOStream & os) const;
0073 
0074   /**
0075    * Function used to read in object persistently.
0076    * @param is the persistent input stream read from.
0077    * @param version the version number of the object when written.
0078    */
0079   void persistentInput(PersistentIStream & is, int version);
0080   //@}
0081 
0082   /**
0083    * The standard Init function used to initialize the interfaces.
0084    * Called exactly once for each class by the class description system
0085    * before the main function starts or
0086    * when this class is dynamically loaded.
0087    */
0088   static void Init();
0089 
0090 protected:
0091 
0092   /** @name Clone Methods. */
0093   //@{
0094   /**
0095    * Make a simple clone of this object.
0096    * @return a pointer to the new object.
0097    */
0098   virtual IBPtr clone() const;
0099 
0100   /** Make a clone of this object, possibly modifying the cloned object
0101    * to make it sane.
0102    * @return a pointer to the new object.
0103    */
0104   virtual IBPtr fullclone() const;
0105   //@}
0106 
0107 private:
0108 
0109 
0110 // If needed, insert declarations of virtual function defined in the
0111 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
0112 
0113 
0114 private:
0115 
0116   /**
0117    * Switch to choose the definition of the shower hard scale.
0118    */
0119   unsigned int theShowerScaleMode;
0120   
0121   /**
0122    * Multiplicative factor for the scale definition
0123    **/
0124   double theFactor;
0125 
0126   /**
0127    * The assignment operator is private and must never be called.
0128    * In fact, it should not even be implemented.
0129    */
0130   MatchboxTopLinearSumMTScale & operator=(const MatchboxTopLinearSumMTScale &) = delete;
0131 
0132 };
0133 
0134 }
0135 
0136 #endif /* Herwig_MatchboxTopLinearSumMTScale_H */