herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
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 */
Herwig::LightClusterDecayer
This class performs the decay of light clusters into a single hadron.
Definition:
LightClusterDecayer.h:53
Herwig::LightClusterDecayer::operator=
LightClusterDecayer & operator=(const LightClusterDecayer &)=delete
Private and non-existent assignment operator.
Herwig::LightClusterDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Herwig::LightClusterDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::LightClusterDecayer::partonicReshuffle
bool partonicReshuffle(const tcPDPtr hadron, const PPtr cluster, tPVector &finalhadrons)
This (private) method, called by decay(), performs reshuffling in the special case of a semileptonic ...
Herwig::LightClusterDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::LightClusterDecayer::decay
bool decay(ClusterVector &clusters, tPVector &finalhadrons)
This method does the decay of light hadron in one hadron.
Herwig::LightClusterDecayer::_hadronSelector
Ptr< HadronSelector >::pointer _hadronSelector
A pointer to a Herwig::HadronSelector object used for producing hadrons.
Definition:
LightClusterDecayer.h:142
Herwig::LightClusterDecayer::LightClusterDecayer
LightClusterDecayer()
Default constructor.
Definition:
LightClusterDecayer.h:62
Herwig::LightClusterDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::LightClusterDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Herwig::LightClusterDecayer::reshuffling
bool reshuffling(const tcPDPtr, tClusterPtr, tClusterPtr, tClusterVector &, tPVector &finalhadrons)
This (private) method, called by decay(), takes care of the kinematical reshuffling necessary for ene...
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
Herwig::tClusterVector
vector< tClusterPtr > tClusterVector
Typedef for a vector of tClusterPtr.
Definition:
CluHadConfig.h:43
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tPVector
vector< tPPtr > tPVector
ThePEG::PPtr
ThePEG::Ptr< Particle >::pointer PPtr
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6