herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
23 
27  ShowerVariation() : renormalizationScaleFactor(1.0),
28  factorizationScaleFactor(1.0),
29  firstInteraction(true),
30  secondaryInteractions(false) {}
31 
36 
41 
46 
51 
55  string fromInFile(const string&);
56 
60  void put(PersistentOStream& os) const;
61 
65  void get(PersistentIStream& is);
66 
67 };
68 
70  var.put(os); return os;
71 }
72 
74  var.get(is); return is;
75 }
76 
77 }
78 #endif /* HERWIG_ShowerVariation_H */
bool firstInteraction
Apply the variation to the first interaction.
bool secondaryInteractions
Apply the variation to the secondary interactions.
void put(PersistentOStream &os) const
Put to persistent stream.
void get(PersistentIStream &is)
Get from persistent stream.
double factorizationScaleFactor
Vary the factorization scale by the given factor.
ShowerVariation()
Default constructor.
ostream & operator<<(ostream &, const DecayIntegrator &)
Output information on the DecayIntegrator for debugging purposes.
PersistentIStream & operator>>(PersistentIStream &is, map< ShowerInteraction, T, Cmp, A > &m)
Read a map with ShowerInteraction as the key.
double renormalizationScaleFactor
Vary the renormalization scale by the given factor.
-*- C++ -*-
A struct identifying a shower variation.