herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
TreePhasespaceChannels.h
1// -*- C++ -*-
2//
3// TreePhasespaceChannels.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4// Copyright (C) 2002-2019 The Herwig Collaboration
5//
6// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef Herwig_TreePhasespaceChannels_H
10#define Herwig_TreePhasespaceChannels_H
11//
12// This is the declaration of the TreePhasespaceChannels class.
13//
14
15#include "ThePEG/Handlers/HandlerBase.h"
16#include "Herwig/MatrixElement/Matchbox/Phasespace/PhasespaceHelpers.h"
17
18namespace Herwig {
19
20using namespace ThePEG;
21
33
34public:
35
39 map<tStdXCombPtr,map<Ptr<Tree2toNDiagram>::ptr,pair <PhasespaceHelpers::PhasespaceTree, PhasespaceHelpers::PhasespaceTree> > >&
41
45 const map<tStdXCombPtr,map<Ptr<Tree2toNDiagram>::ptr,pair <PhasespaceHelpers::PhasespaceTree, PhasespaceHelpers::PhasespaceTree> > >&
46 channelMap() const { return theChannelMap; }
47
48public:
49
57
63 void persistentInput(PersistentIStream & is, int version);
65
72 static void Init();
73
74protected:
75
82 virtual IBPtr clone() const;
83
88 virtual IBPtr fullclone() const;
90
91
92// If needed, insert declarations of virtual function defined in the
93// InterfacedBase class here (using ThePEG-interfaced-decl in Emacs).
94
95
96private:
97
101 map<tStdXCombPtr,map<Ptr<Tree2toNDiagram>::ptr,pair<PhasespaceHelpers::PhasespaceTree,PhasespaceHelpers::PhasespaceTree> > > theChannelMap;
102
108
109};
110
111}
112
113#endif /* Herwig_TreePhasespaceChannels_H */
Store channels for the tree phasespace.
map< tStdXCombPtr, map< Ptr< Tree2toNDiagram >::ptr, pair< PhasespaceHelpers::PhasespaceTree, PhasespaceHelpers::PhasespaceTree > > > theChannelMap
Map xcomb's to channel vectors indexed by diagram id.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
TreePhasespaceChannels & operator=(const TreePhasespaceChannels &)=delete
The assignment operator is private and must never be called.
virtual IBPtr clone() const
Make a simple clone of this object.
map< tStdXCombPtr, map< Ptr< Tree2toNDiagram >::ptr, pair< PhasespaceHelpers::PhasespaceTree, PhasespaceHelpers::PhasespaceTree > > > & channelMap()
Access the channel map.
const map< tStdXCombPtr, map< Ptr< Tree2toNDiagram >::ptr, pair< PhasespaceHelpers::PhasespaceTree, PhasespaceHelpers::PhasespaceTree > > > & channelMap() const
Return the channel map.
static void Init()
The standard Init function used to initialize the interfaces.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr