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