herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
15namespace Herwig {
16
17using namespace ThePEG;
18
23
29 firstInteraction(true),
30 secondaryInteractions(false) {}
31
36
41
46
51
55 string fromInFile(const string&);
56
60 void put(PersistentOStream& os) const;
61
66
67};
68
70 var.put(os); return os;
71}
72
73inline PersistentIStream& operator>>(PersistentIStream& is, ShowerVariation& var) {
74 var.get(is); return is;
75}
76
77}
78#endif /* HERWIG_ShowerVariation_H */
-*- C++ -*-
PersistentIStream & operator>>(PersistentIStream &is, HandlerGroup< HDLR > &hg)
ostream & operator<<(ostream &, const Collision &)
A struct identifying a shower variation.
bool secondaryInteractions
Apply the variation to the secondary interactions.
void put(PersistentOStream &os) const
Put to persistent stream.
double renormalizationScaleFactor
Vary the renormalization scale by the given factor.
double factorizationScaleFactor
Vary the factorization scale by the given factor.
bool firstInteraction
Apply the variation to the first interaction.
string fromInFile(const string &)
Parse from in file command.
ShowerVariation()
Default constructor.
void get(PersistentIStream &is)
Get from persistent stream.