|
|
|||
File indexing completed on 2026-08-06 09:24:14
0001 // -*- C++ -*- 0002 // 0003 // TreePhasespaceChannels.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_TreePhasespaceChannels_H 0010 #define Herwig_TreePhasespaceChannels_H 0011 // 0012 // This is the declaration of the TreePhasespaceChannels class. 0013 // 0014 0015 #include "ThePEG/Handlers/HandlerBase.h" 0016 #include "Herwig/MatrixElement/Matchbox/Phasespace/PhasespaceHelpers.h" 0017 0018 namespace Herwig { 0019 0020 using namespace ThePEG; 0021 0022 /** 0023 * 0024 * \ingroup Matchbox 0025 * \author Simon Platzer, Ken Arnold 0026 * 0027 * \brief Store channels for the tree phasespace. 0028 * 0029 * @see \ref TreePhasespaceChannelsInterfaces "The interfaces" 0030 * defined for TreePhasespaceChannels. 0031 */ 0032 class TreePhasespaceChannels: public HandlerBase { 0033 0034 public: 0035 0036 /** 0037 * Access the channel map 0038 */ 0039 map<tStdXCombPtr,map<Ptr<Tree2toNDiagram>::ptr,pair <PhasespaceHelpers::PhasespaceTree, PhasespaceHelpers::PhasespaceTree> > >& 0040 channelMap() { return theChannelMap; } 0041 0042 /** 0043 * Return the channel map 0044 */ 0045 const map<tStdXCombPtr,map<Ptr<Tree2toNDiagram>::ptr,pair <PhasespaceHelpers::PhasespaceTree, PhasespaceHelpers::PhasespaceTree> > >& 0046 channelMap() const { return theChannelMap; } 0047 0048 public: 0049 0050 /** @name Functions used by the persistent I/O system. */ 0051 //@{ 0052 /** 0053 * Function used to write out object persistently. 0054 * @param os the persistent output stream written to. 0055 */ 0056 void persistentOutput(PersistentOStream & os) const; 0057 0058 /** 0059 * Function used to read in object persistently. 0060 * @param is the persistent input stream read from. 0061 * @param version the version number of the object when written. 0062 */ 0063 void persistentInput(PersistentIStream & is, int version); 0064 //@} 0065 0066 /** 0067 * The standard Init function used to initialize the interfaces. 0068 * Called exactly once for each class by the class description system 0069 * before the main function starts or 0070 * when this class is dynamically loaded. 0071 */ 0072 static void Init(); 0073 0074 protected: 0075 0076 /** @name Clone Methods. */ 0077 //@{ 0078 /** 0079 * Make a simple clone of this object. 0080 * @return a pointer to the new object. 0081 */ 0082 virtual IBPtr clone() const; 0083 0084 /** Make a clone of this object, possibly modifying the cloned object 0085 * to make it sane. 0086 * @return a pointer to the new object. 0087 */ 0088 virtual IBPtr fullclone() const; 0089 //@} 0090 0091 0092 // If needed, insert declarations of virtual function defined in the 0093 // InterfacedBase class here (using ThePEG-interfaced-decl in Emacs). 0094 0095 0096 private: 0097 0098 /** 0099 * Map xcomb's to channel vectors indexed by diagram id. 0100 */ 0101 map<tStdXCombPtr,map<Ptr<Tree2toNDiagram>::ptr,pair<PhasespaceHelpers::PhasespaceTree,PhasespaceHelpers::PhasespaceTree> > > theChannelMap; 0102 0103 /** 0104 * The assignment operator is private and must never be called. 0105 * In fact, it should not even be implemented. 0106 */ 0107 TreePhasespaceChannels & operator=(const TreePhasespaceChannels &) = delete; 0108 0109 }; 0110 0111 } 0112 0113 #endif /* Herwig_TreePhasespaceChannels_H */
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|