herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Hadronization
LightClusterDecayer.h
1
// -*- C++ -*-
2
//
3
// LightClusterDecayer.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_LightClusterDecayer_H
10
#define HERWIG_LightClusterDecayer_H
11
12
#include <ThePEG/Interface/Interfaced.h>
13
#include "CluHadConfig.h"
14
#include "HadronSelector.h"
15
#include "LightClusterDecayer.fh"
16
17
18
namespace
Herwig
{
19
20
21
using namespace
ThePEG
;
22
53
class
LightClusterDecayer
:
public
Interfaced
{
54
55
public
:
56
62
LightClusterDecayer
() {}
64
72
bool
decay(
ClusterVector
& clusters,
tPVector
& finalhadrons);
73
74
public
:
75
82
void
persistentOutput(
PersistentOStream
& os)
const
;
83
89
void
persistentInput(
PersistentIStream
& is,
int
version);
91
95
static
void
Init();
96
97
protected
:
98
105
virtual
IBPtr
clone()
const
;
106
111
virtual
IBPtr
fullclone()
const
;
113
114
private
:
115
119
LightClusterDecayer
& operator=(
const
LightClusterDecayer
&) =
delete
;
120
125
bool
reshuffling(
const
tcPDPtr
, tClusterPtr, tClusterPtr,
126
tClusterVector
&,
tPVector
& finalhadrons)
127
;
128
136
bool
partonicReshuffle(
const
tcPDPtr
hadron,
const
PPtr
cluster,
137
tPVector
& finalhadrons);
138
142
Ptr<HadronSelector>::pointer
_hadronSelector
;
143
};
144
145
}
146
147
#endif
/* HERWIG_LightClusterDecayer_H */
ThePEG::PPtr
ThePEG::Ptr< Particle >::pointer PPtr
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
Herwig::tClusterVector
vector< tClusterPtr > tClusterVector
Typedef for a vector of tClusterPtr.
Definition:
CluHadConfig.h:43
Herwig::ClusterVector
vector< ClusterPtr > ClusterVector
This file contains the typedef declarations used in Hadronization.
Definition:
CluHadConfig.h:38
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Herwig::LightClusterDecayer::_hadronSelector
Ptr< HadronSelector >::pointer _hadronSelector
A pointer to a Herwig::HadronSelector object used for producing hadrons.
Definition:
LightClusterDecayer.h:142
ThePEG::Interfaced
Herwig::LightClusterDecayer::LightClusterDecayer
LightClusterDecayer()
Default constructor.
Definition:
LightClusterDecayer.h:62
Herwig::LightClusterDecayer
This class performs the decay of light clusters into a single hadron.
Definition:
LightClusterDecayer.h:53
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::tPVector
vector< tPPtr > tPVector
Generated on Sat Apr 11 2020 14:50:30 for Herwig by
1.8.13