9 #include "Pythia8/ShowerModel.h"
10 #include "Pythia8/SimpleTimeShower.h"
11 #include "Pythia8/SimpleSpaceShower.h"
12 #include "Pythia8/Merging.h"
13 #include "Pythia8/MergingHooks.h"
21 bool SimpleShowerModel::init(MergingPtr mergPtrIn,
22 MergingHooksPtr mergHooksPtrIn, PartonVertexPtr,
25 mergingPtr = mergPtrIn;
26 if ( mergingPtr ) registerSubObject(*mergingPtr);
27 mergingHooksPtr = mergHooksPtrIn;
28 if ( mergingHooksPtr ) registerSubObject(*mergingHooksPtr);
29 timesPtr = timesDecPtr = make_shared<SimpleTimeShower>();
30 registerSubObject(*timesPtr);
31 spacePtr = make_shared<SimpleSpaceShower>();
32 registerSubObject(*spacePtr);