herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
ClusterFinder.h
1// -*- C++ -*-
2//
3// ClusterFinder.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_ClusterFinder_H
10#define HERWIG_ClusterFinder_H
11
12#include <ThePEG/Interface/Interfaced.h>
13#include "CluHadConfig.h"
14#include "HadronSelector.h"
15#include "ClusterFinder.fh"
16
17namespace Herwig {
18using namespace ThePEG;
19
47
48public :
49
56 {}
58
59public:
60
69 ;
70
81 ;
82
83public:
84
88 static void Init();
89
97
103 void persistentInput(PersistentIStream & is, int version);
105
106protected:
107
114 virtual IBPtr clone() const;
115
120 virtual IBPtr fullclone() const;
122
123private:
124
129
130private:
131
135 unsigned int heavyDiquarks_;
136
140 unsigned int diQuarkSelection_;
141
146
150 HadronSelectorPtr hadronSelector_;
151
152};
153
154}
155
156#endif /* HERWIG_ClusterFinder_H */
This class forms clusters from the partons produced in the Shower.
Definition: ClusterFinder.h:46
HadronSelectorPtr hadronSelector_
A pointer to a Herwig::HadronSelector object for generating hadrons.
unsigned int heavyDiquarks_
Treatment of diquarks contain heavy quarks in baryon-number violating clusters.
static void Init()
Standard Init function used to initialize the interfaces.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
void reduceToTwoComponents(ClusterVector &)
Reduces three component clusters into two components.
unsigned int diQuarkSelection_
Option for the selection of which quarks to make into a diquark.
ClusterVector formClusters(const PVector &partons)
This routine forms the clusters of the event.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
bool diQuarkOnShell_
Force diquarks to be on-shell.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ClusterFinder()
Default constructor.
Definition: ClusterFinder.h:55
virtual IBPtr clone() const
Make a simple clone of this object.
ClusterFinder & operator=(const ClusterFinder &)=delete
Private and non-existent assignment operator.
vector< ClusterPtr > ClusterVector
This file contains the typedef declarations used in Hadronization.
Definition: CluHadConfig.h:38
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< PPtr > PVector