herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Shower
ShowerVariation.h
1
// -*- C++ -*-
2
//
3
// ShowerVariation.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_ShowerVariation_H
10
#define HERWIG_ShowerVariation_H
11
12
#include "ThePEG/Persistency/PersistentOStream.h"
13
#include "ThePEG/Persistency/PersistentIStream.h"
14
15
namespace
Herwig
{
16
17
using namespace
ThePEG
;
18
22
struct
ShowerVariation
{
23
27
ShowerVariation
() :
renormalizationScaleFactor
(1.0),
28
factorizationScaleFactor
(1.0),
29
firstInteraction
(true),
30
secondaryInteractions
(false) {}
31
35
double
renormalizationScaleFactor
;
36
40
double
factorizationScaleFactor
;
41
45
bool
firstInteraction
;
46
50
bool
secondaryInteractions
;
51
55
string
fromInFile
(
const
string
&);
56
60
void
put
(
PersistentOStream
& os)
const
;
61
65
void
get
(
PersistentIStream
& is);
66
67
};
68
69
inline
PersistentOStream
&
operator<<
(
PersistentOStream
& os,
const
ShowerVariation
& var) {
70
var.
put
(os);
return
os;
71
}
72
73
inline
PersistentIStream
&
operator>>
(
PersistentIStream
& is, ShowerVariation& var) {
74
var.
get
(is);
return
is;
75
}
76
77
}
78
#endif
/* HERWIG_ShowerVariation_H */
ThePEG::PersistentIStream
ThePEG::PersistentIStream::get
char get()
ThePEG::PersistentOStream
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG
ThePEG::operator>>
PersistentIStream & operator>>(PersistentIStream &is, HandlerGroup< HDLR > &hg)
ThePEG::operator<<
ostream & operator<<(ostream &, const Collision &)
Herwig::ShowerVariation
A struct identifying a shower variation.
Definition:
ShowerVariation.h:22
Herwig::ShowerVariation::secondaryInteractions
bool secondaryInteractions
Apply the variation to the secondary interactions.
Definition:
ShowerVariation.h:50
Herwig::ShowerVariation::put
void put(PersistentOStream &os) const
Put to persistent stream.
Herwig::ShowerVariation::renormalizationScaleFactor
double renormalizationScaleFactor
Vary the renormalization scale by the given factor.
Definition:
ShowerVariation.h:35
Herwig::ShowerVariation::factorizationScaleFactor
double factorizationScaleFactor
Vary the factorization scale by the given factor.
Definition:
ShowerVariation.h:40
Herwig::ShowerVariation::firstInteraction
bool firstInteraction
Apply the variation to the first interaction.
Definition:
ShowerVariation.h:45
Herwig::ShowerVariation::fromInFile
string fromInFile(const string &)
Parse from in file command.
Herwig::ShowerVariation::ShowerVariation
ShowerVariation()
Default constructor.
Definition:
ShowerVariation.h:27
Herwig::ShowerVariation::get
void get(PersistentIStream &is)
Get from persistent stream.
Generated on Thu Jun 20 2024 17:50:53 for Herwig by
1.9.6