|
|
|||
File indexing completed on 2026-08-06 09:24:15
0001 // -*- C++ -*- 0002 // 0003 // MatchboxXComb.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_MatchboxXComb_H 0010 #define Herwig_MatchboxXComb_H 0011 // 0012 // This is the declaration of the MatchboxXComb class. 0013 // 0014 0015 #include "ThePEG/Handlers/StandardXComb.h" 0016 #include "Herwig/MatrixElement/Matchbox/Utility/MatchboxXCombData.h" 0017 0018 namespace Herwig { 0019 0020 using namespace ThePEG; 0021 0022 /** 0023 * \ingroup Matchbox 0024 * \author Simon Platzer 0025 * 0026 * \brief Matchbox extensions to StandardXComb 0027 */ 0028 class MatchboxXComb: public StandardXComb, public MatchboxXCombData { 0029 0030 public: 0031 0032 /** @name Standard constructors and destructors. */ 0033 //@{ 0034 /** 0035 * Standard constructor. 0036 */ 0037 MatchboxXComb(Energy newMaxEnergy, const cPDPair & inc, 0038 tEHPtr newEventHandler,tSubHdlPtr newSubProcessHandler, 0039 tPExtrPtr newExtractor, tCascHdlPtr newCKKW, 0040 const PBPair & newPartonBins, tCutsPtr newCuts, tMEPtr newME, 0041 const DiagramVector & newDiagrams, bool mir, 0042 tStdXCombPtr newHead = tStdXCombPtr()); 0043 0044 /** 0045 * Constructor given a head xcomb. 0046 */ 0047 MatchboxXComb(tStdXCombPtr newHead, 0048 const PBPair & newPartonBins, tMEPtr newME, 0049 const DiagramVector & newDiagrams); 0050 0051 /** 0052 * Default constructor. 0053 */ 0054 MatchboxXComb(); 0055 //@} 0056 0057 public: 0058 0059 /** 0060 * Reset all saved data about last generated phasespace point; 0061 */ 0062 virtual void clean(); 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 private: 0091 0092 /** 0093 * The assignment operator is private and must never be called. 0094 * In fact, it should not even be implemented. 0095 */ 0096 MatchboxXComb & operator=(const MatchboxXComb &) = delete; 0097 0098 }; 0099 0100 } 0101 0102 #endif /* Herwig_MatchboxXComb_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|