Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // MatchboxParticlePtScale.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_MatchboxParticlePtScale_H
0010 #define Herwig_MatchboxParticlePtScale_H
0011 //
0012 // This is the declaration of the MatchboxParticlePtScale class.
0013 //
0014 
0015 #include "Herwig/MatrixElement/Matchbox/Utility/MatchboxScaleChoice.h"
0016 #include "ThePEG/Cuts/JetFinder.h"
0017 
0018 namespace Herwig {
0019 
0020 using namespace ThePEG;
0021 
0022 /**
0023  * \ingroup Matchbox
0024  * \author Simon Platzer
0025  *
0026  * \brief MatchboxParticlePtScale implements scale choices related to transverse momenta.
0027  *
0028  */
0029 class MatchboxParticlePtScale: public MatchboxScaleChoice {
0030 
0031 public:
0032 
0033   /** @name Standard constructors and destructors. */
0034   //@{
0035   /**
0036    * The default constructor.
0037    */
0038   MatchboxParticlePtScale();
0039 
0040   /**
0041    * The destructor.
0042    */
0043   virtual ~MatchboxParticlePtScale();
0044   //@}
0045 
0046 public:
0047 
0048   /**
0049    * Return the renormalization scale.
0050    */
0051   virtual Energy2 renormalizationScale() const;
0052 
0053   /**
0054    * Return the factorization scale.
0055    */
0056   virtual Energy2 factorizationScale() const;
0057 
0058 public:
0059 
0060   /** @name Functions used by the persistent I/O system. */
0061   //@{
0062   /**
0063    * Function used to write out object persistently.
0064    * @param os the persistent output stream written to.
0065    */
0066   void persistentOutput(PersistentOStream & os) const;
0067 
0068   /**
0069    * Function used to read in object persistently.
0070    * @param is the persistent input stream read from.
0071    * @param version the version number of the object when written.
0072    */
0073   void persistentInput(PersistentIStream & is, int version);
0074   //@}
0075 
0076   /**
0077    * The standard Init function used to initialize the interfaces.
0078    * Called exactly once for each class by the class description system
0079    * before the main function starts or
0080    * when this class is dynamically loaded.
0081    */
0082   static void Init();
0083 
0084 protected:
0085 
0086   /** @name Clone Methods. */
0087   //@{
0088   /**
0089    * Make a simple clone of this object.
0090    * @return a pointer to the new object.
0091    */
0092   virtual IBPtr clone() const;
0093 
0094   /** Make a clone of this object, possibly modifying the cloned object
0095    * to make it sane.
0096    * @return a pointer to the new object.
0097    */
0098   virtual IBPtr fullclone() const;
0099   //@}
0100 
0101 private:
0102 
0103   /**
0104    * Reference to the matcher
0105    */
0106   Ptr<MatcherBase>::ptr theMatcher;
0107 
0108 // If needed, insert declarations of virtual function defined in the
0109 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
0110 
0111 
0112 private:
0113 
0114   /**
0115    * The assignment operator is private and must never be called.
0116    * In fact, it should not even be implemented.
0117    */
0118   MatchboxParticlePtScale & operator=(const MatchboxParticlePtScale &) = delete;
0119 
0120 };
0121 
0122 }
0123 
0124 #endif /* Herwig_MatchboxParticlePtScale_H */