PYTHIA  8.312
VinciaMerging.h
1 // VinciaMerging.h is a part of the PYTHIA event generator.
2 // Copyright (C) 2024 Torbjorn Sjostrand.
3 // PYTHIA is licenced under the GNU GPL v2 or later, see COPYING for details.
4 // Please respect the MCnet Guidelines, see GUIDELINES for details.
5 
6 // Authors: Helen Brooks, Christian T Preuss
7 // This file contains the VinciaMerging class.
8 
9 #ifndef Pythia8_VinciaMerging_H
10 #define Pythia8_VinciaMerging_H
11 
12 #include "Pythia8/Merging.h"
13 #include "Pythia8/VinciaCommon.h"
14 
15 namespace Pythia8 {
16 
17 //==========================================================================
18 
19 // Merging wrapper class for Vincia.
20 
21 class VinciaMerging : public Merging {
22 
23  public:
24 
25  // Overridden methods.
26  void init() override;
27  void statistics() override;
28  int mergeProcess(Event& process) override;
29 
30  // Set the verbosity level.
31  void setVerbose(int verboseIn) {verbose=verboseIn;};
32 
33  private:
34 
35  // Steers the sector merging.
36  int mergeProcessSector(Event& process);
37 
38  // Insert resonances in event record if not there.
39  bool insertResonances(Event& process);
40 
41  // Flags that affect behaviour.
42  bool doMerging, doSectorMerging, includeWtInXsec, doXSecEstimate,
43  doMergeRes, doInsertRes;
44 
45  // Maximum additional jets (inclusive total).
46  int nMaxJets;
47  // Maximum additional jets in each res system.
48  int nMaxJetsRes;
49  // Number of resonance systems allowed to produce additional jets.
50  int nMergeResSys;
51 
52  // Event counters.
53  int nAbort, nBelowMS, nVeto, nTotal;
54  vector<int> nVetoByMult, nTotalByMult;
55 
56  // Statistics.
57  map<int, double> historyCompTime;
58  map<int, int> nHistories;
59 
60  // Debug verbosity.
61  int verbose;
62 
63 };
64 
65 //==========================================================================
66 
67 } // end namespace Pythia8
68 
69 #endif // Pythia8_VinciaMerging_H
void init() override
Overridden methods.
Definition: VinciaMerging.cc:24
The Event class holds all info on the generated event.
Definition: Event.h:453
Merging wrapper class for Vincia.
Definition: VinciaMerging.h:21
int mergeProcess(Event &process) override
Merge the event.
Definition: VinciaMerging.cc:163
void statistics() override
Print some stats.
Definition: VinciaMerging.cc:80
Definition: Merging.h:33
void setVerbose(int verboseIn)
Set the verbosity level.
Definition: VinciaMerging.h:31
Header for classes to set beam momentum and interaction vertex spread.
Definition: Analysis.h:20