9 #ifndef Pythia8_SpaceShower_H 10 #define Pythia8_SpaceShower_H 12 #include "Pythia8/Basics.h" 13 #include "Pythia8/BeamParticle.h" 14 #include "Pythia8/Event.h" 15 #include "Pythia8/Info.h" 16 #include "Pythia8/ParticleData.h" 17 #include "Pythia8/PartonSystems.h" 18 #include "Pythia8/PartonVertex.h" 19 #include "Pythia8/PhysicsBase.h" 20 #include "Pythia8/PythiaStdlib.h" 21 #include "Pythia8/Settings.h" 22 #include "Pythia8/StandardModel.h" 23 #include "Pythia8/UserHooks.h" 24 #include "Pythia8/MergingHooks.h" 25 #include "Pythia8/Weights.h" 44 void initPtrs(MergingHooksPtr mergingHooksPtrIn,
45 PartonVertexPtr partonVertexPtrIn,
50 weightContainerPtr = weightContainerPtrIn;
55 int beamOffsetIn = 0) {beamAPtr = beamAPtrIn; beamBPtr = beamBPtrIn;
76 virtual double pTnext(
Event& ,
double ,
double ,
int = -1,
bool =
false)
84 virtual void list()
const {}
128 int ,
string ) {
return map<string,double>();}
138 {
return vector<string>();}
145 virtual bool allowedSplitting(
const Event& ,
int ,
int)
147 virtual vector<int> getRecoilers(
const Event&,
int,
int,
string)
148 {
return vector<int>(); }
150 virtual double enhanceFactor(
const string& name) {
151 unordered_map<string, double>::iterator it = enhanceISR.find(name);
152 if ( it == enhanceISR.end() )
return 1.;
160 double,
double) {
return 1.; }
177 int nUncertaintyVariations{}, nVarQCD{}, uVarNflavQ{};
178 double dASmax{}, cNSpTmin{}, uVarpTmin2{}, overFactor{};
179 map<int,double> varG2GGmuRfac, varQ2QGmuRfac, varQ2GQmuRfac, varG2QQmuRfac,
180 varX2XGmuRfac, varG2GGcNS, varQ2QGcNS, varQ2GQcNS, varG2QQcNS, varX2XGcNS;
181 map<int,double>* varPDFplus;
182 map<int,double>* varPDFminus;
183 map<int,double>* varPDFmember;
184 unordered_map<string,double> enhanceISR;
PartonVertexPtr partonVertexPtr
Pointer to assign space-time vertices during parton evolution.
Definition: SpaceShower.h:173
void initPtrs(MergingHooksPtr mergingHooksPtrIn, PartonVertexPtr partonVertexPtrIn, WeightContainer *weightContainerPtrIn)
Definition: SpaceShower.h:44
virtual vector< string > getSplittingName(const Event &, int, int, int)
Definition: SpaceShower.h:137
virtual bool isSpacelike(const Event &, int, int, int, string)
Definition: SpaceShower.h:132
virtual double pTnext(Event &, double, double, int=-1, bool=false)
Definition: SpaceShower.h:76
Definition: PhysicsBase.h:27
virtual bool wasGamma2qqbar()
Tell if latest scattering was a gamma->qqbar.
Definition: SpaceShower.h:96
int beamOffset
Beam location offset in event.
Definition: SpaceShower.h:170
The Event class holds all info on the generated event.
Definition: Event.h:453
Definition: BeamParticle.h:133
Definition: Weights.h:394
virtual double noEmissionProbability(double, double, double, int, int, double, double)
Definition: SpaceShower.h:159
CoupSM * coupSMPtr
Pointers to Standard Model and Beyond SM couplings.
Definition: Info.h:95
virtual map< string, double > getStateVariables(const Event &, int, int, int, string)
Definition: SpaceShower.h:127
bool doUncertainties
Store uncertainty variations relevant to SpaceShower.
Definition: SpaceShower.h:176
virtual int system() const
Tell which system was the last processed one.
Definition: SpaceShower.h:102
virtual bool getHasWeaklyRadiated()
Tell whether ISR has done a weak emission.
Definition: SpaceShower.h:99
virtual bool branch(Event &)
Definition: SpaceShower.h:81
MergingHooksPtr mergingHooksPtr
Pointer to MergingHooks object for NLO merging.
Definition: SpaceShower.h:163
virtual void init(BeamParticle *, BeamParticle *)
Definition: SpaceShower.h:60
virtual void update(int, Event &, bool=false)
Definition: SpaceShower.h:72
virtual double enhancePTmax() const
Potential enhancement factor of pTmax scale for hardest emission.
Definition: SpaceShower.h:105
virtual bool initEnhancements()
Initialize data members for application of enhancements.
Definition: SpaceShower.h:90
virtual Event clustered(const Event &, int, int, int, string)
Return clustering kinematics - as needed for merging.
Definition: SpaceShower.h:116
virtual void prepare(int, Event &, bool=true)
Definition: SpaceShower.h:68
CoupSM * coupSMPtr
Pointers to SM and SUSY couplings.
Definition: PhysicsBase.h:96
void reassignBeamPtrs(BeamParticle *beamAPtrIn, BeamParticle *beamBPtrIn, int beamOffsetIn=0)
New beams possible for handling of hard diffraction. (Not virtual.)
Definition: SpaceShower.h:54
virtual bool initUncertainties()
Initialize data members for calculation of uncertainty bands.
Definition: SpaceShower.h:87
virtual double getSplittingProb(const Event &, int, int, int, string)
Definition: SpaceShower.h:142
Header for classes to set beam momentum and interaction vertex spread.
Definition: Analysis.h:20
virtual void list() const
Print dipole list; for debug mainly.
Definition: SpaceShower.h:84
Info * infoPtr
Definition: PhysicsBase.h:78
virtual bool doRestart() const
Flag for failure in branch(...) that will force a retry of parton level.
Definition: SpaceShower.h:93
SpaceShower()=default
Constructor.
The SpaceShower class does spacelike showers.
Definition: SpaceShower.h:33
virtual bool limitPTmax(Event &, double=0., double=0.)
Definition: SpaceShower.h:64
virtual ~SpaceShower()
Destructor.
Definition: SpaceShower.h:40