Back to home page

EIC code displayed by LXR

 
 

    


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

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