PYTHIA
8.312
|
The PartonSystems class describes the whole set of subcollisions. More...
#include <PartonSystems.h>
Public Member Functions | |
PartonSystems () | |
Constructor. | |
void | clear () |
Reset system list to empty. | |
int | addSys () |
Add new subsystem to list; return its index. Number of subsystems. | |
int | sizeSys () const |
void | setHard (int iSys, bool hard) |
Set, add or replace info to one system. | |
void | setInA (int iSys, int iPos) |
void | setInB (int iSys, int iPos) |
void | setInRes (int iSys, int iPos) |
void | addOut (int iSys, int iPos) |
void | popBackOut (int iSys) |
void | setOut (int iSys, int iMem, int iPos) |
void | replace (int iSys, int iPosOld, int iPosNew) |
The PartonSystems class. More... | |
void | setSHat (int iSys, double sHatIn) |
void | setPTHat (int iSys, double pTHatIn) |
void | setSizeSys (int iSize) |
bool | hasInAB (int iSys) const |
Get info on one system. | |
bool | hasInRes (int iSys) const |
bool | getHard (int iSys) const |
int | getInA (int iSys) const |
int | getInB (int iSys) const |
int | getInRes (int iSys) const |
int | sizeOut (int iSys) const |
int | getOut (int iSys, int iMem) const |
int | sizeAll (int iSys) const |
int | getAll (int iSys, int iMem) const |
Return index of any parton in system, list starting with beam remnants. | |
double | getSHat (int iSys) const |
double | getPTHat (int iSys) const |
int | getSystemOf (int iPos, bool alsoIn=false) const |
Find system of given outgoing parton, optionally also incoming one. More... | |
int | getIndexOfOut (int iSys, int iPos) const |
Find iOut index of given system and event record index. More... | |
void | list () const |
List all current systems. More... | |
void | popBack () |
Remove the last system. | |
The PartonSystems class describes the whole set of subcollisions.
int getIndexOfOut | ( | int | iSys, |
int | iPos | ||
) | const |
Find iOut index of given system and event record index.
Get the iMem index of iOut for an index into the event record.
Failure signalled by return value -1.
int getSystemOf | ( | int | iPos, |
bool | alsoIn = false |
||
) | const |
Find system of given outgoing parton, optionally also incoming one.
Find system of given outgoing parton, optionally also incoming one. If the parton is outgoing in one system and incoming in another (eg a decaying resonance), the system in which it is incoming will be returned if alsoIn == true, else the system in which it is outgoing will be returned.
If (alsoIn), first check if this parton appears as incoming in any system.
Then check if it appears as outgoing in any system.
Failure signalled by return value -1.
void list | ( | ) | const |
List all current systems.
Print members in systems; for debug mainly.
Header.
Loop over system list and over members in each system.
Alternative if no systems. Done.
void replace | ( | int | iSys, |
int | iPosOld, | ||
int | iPosNew | ||
) |
The PartonSystems class.
Replace the index of an incoming or outgoing parton by a new index.