12 #ifndef Pythia8_PhysicsBase_H 13 #define Pythia8_PhysicsBase_H 15 #include "Pythia8/Info.h" 16 #include "Pythia8/Settings.h" 17 #include "Pythia8/SharedPointers.h" 32 enum Status { INCOMPLETE = -1, COMPLETE = 0, CONSTRUCTOR_FAILED,
33 INIT_FAILED, LHEF_END, LOWENERGY_FAILED, PROCESSLEVEL_FAILED,
34 PROCESSLEVEL_USERVETO, MERGING_FAILED, PARTONLEVEL_FAILED,
35 PARTONLEVEL_USERVETO, HADRONLEVEL_FAILED, CHECK_FAILED,
36 OTHER_UNPHYSICAL, HEAVYION_FAILED, HADRONLEVEL_USERVETO };
46 int mode(
string key)
const {
return settingsPtr->mode(key);}
47 double parm(
string key)
const {
return settingsPtr->parm(key);}
48 string word(
string key)
const {
return settingsPtr->word(key);}
49 vector<bool> fvec(
string key)
const {
return settingsPtr->fvec(key);}
50 vector<int> mvec(
string key)
const {
return settingsPtr->mvec(key);}
51 vector<double> pvec(
string key)
const {
return settingsPtr->pvec(key);}
52 vector<string> wvec(
string key)
const {
return settingsPtr->wvec(key);}
134 void endEvent(
Status status);
virtual ~PhysicsBase()
Empty virtual destructor.
Definition: PhysicsBase.h:42
bool flag(string keyIn)
Give back current value, with check that key exists.
Definition: Settings.cc:1478
Settings * settingsPtr
Pointer to the settings database.
Definition: PhysicsBase.h:81
Definition: PhysicsBase.h:27
void registerSubObject(PhysicsBase &pb)
Register a sub object that should have its information in sync with this.
Definition: PhysicsBase.cc:56
Definition: BeamSetup.h:33
Definition: BeamParticle.h:133
virtual void onBeginEvent()
This function is called in the very beginning of each Pythia::next call.
Definition: PhysicsBase.h:64
Definition: SigmaLowEnergy.h:135
PartonSystems * partonSystemsPtr
Pointer to information on subcollision parton locations.
Definition: PhysicsBase.h:112
Definition: SigmaTotal.h:141
void initInfoPtr(Info &infoPtrIn)
This function is called from above for physics objects used in a run.
Definition: PhysicsBase.cc:21
Rndm * rndmPtr
Pointer to the random number generator.
Definition: PhysicsBase.h:93
virtual void onStat()
This function is called from the Pythia::stat() call.
Definition: PhysicsBase.h:71
BeamSetup * beamSetupPtr
Definition: PhysicsBase.h:101
ParticleData * particleDataPtr
Pointer to the particle data table.
Definition: PhysicsBase.h:84
UserHooksPtr userHooksPtr
Definition: PhysicsBase.h:124
virtual void onInitInfoPtr()
Definition: PhysicsBase.h:61
set< PhysicsBase * > subObjects
Definition: PhysicsBase.h:120
Status
Enumerate the different status codes the event generation can have.
Definition: PhysicsBase.h:32
Definition: HadronWidths.h:22
Definition: StandardModel.h:135
CoupSM * coupSMPtr
Pointers to SM and SUSY couplings.
Definition: PhysicsBase.h:96
Logger * loggerPtr
Pointer to logger.
Definition: PhysicsBase.h:87
PhysicsBase()
Default constructor.
Definition: PhysicsBase.h:57
The PartonSystems class describes the whole set of subcollisions.
Definition: PartonSystems.h:42
Header for classes to set beam momentum and interaction vertex spread.
Definition: Analysis.h:20
The Pythia class contains the top-level routines to generate an event.
Definition: Pythia.h:71
Info * infoPtr
Definition: PhysicsBase.h:78
virtual void onEndEvent(Status)
Definition: PhysicsBase.h:68
bool flag(string key) const
Shorthand to read settings values.
Definition: PhysicsBase.h:45
This class holds a map of all ParticleDataEntries.
Definition: ParticleData.h:422
SigmaTotal * sigmaTotPtr
Pointers to the total/elastic/diffractive cross sections.
Definition: PhysicsBase.h:115
Definition: SusyCouplings.h:27
Definition: Settings.h:195
HadronWidths * hadronWidthsPtr
Pointer to the hadron widths data table.
Definition: PhysicsBase.h:90