Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // HerwigStrategy.h is a part of Herwig - A multi-purpose Monte Carlo event generator
0004 // Copyright (C) 2008-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_HerwigStrategy_H
0010 #define Herwig_HerwigStrategy_H
0011 // This is the declaration of the HerwigStrategy class.
0012 
0013 #include "ThePEG/Repository/Strategy.h"
0014 #include <string>
0015 
0016 namespace Herwig {
0017 
0018 using namespace ThePEG;
0019 
0020 /**
0021  * The HerwigStrategy class is a sub-class of the Strategy class,
0022  * simply implementing the correct citation for Herwig in the
0023  * ClassDocumentation interface.
0024  *
0025  * @see Strategy
0026  * 
0027  */
0028 class HerwigStrategy: public ThePEG::Strategy {
0029 
0030 public:
0031 
0032   /**
0033    * Standard Init function used to initialize the interface.
0034    */
0035   static void Init();
0036 
0037   /**
0038    * Freeform version string
0039    */
0040   static const std::string version;
0041 
0042   /**
0043    * Version string
0044    */
0045   virtual const std::string versionstring() const;
0046 
0047 protected:
0048 
0049   /** @name Clone Methods. */
0050   //@{
0051   /**
0052    * Make a simple clone of this object.
0053    * @return a pointer to the new object.
0054    */
0055   virtual IBPtr clone() const;
0056 
0057   /** Make a clone of this object, possibly modifying the cloned object
0058    * to make it sane.
0059    * @return a pointer to the new object.
0060    */
0061   virtual IBPtr fullclone() const;
0062   //@}
0063 
0064 private:
0065 
0066   /**
0067    *  Private and non-existent assignment operator.
0068    */
0069   HerwigStrategy & operator=(const HerwigStrategy &) = delete;
0070 
0071 };
0072 
0073 }
0074 
0075 #endif /* Herwig_HerwigStrategy_H */