StRoot
1
|
#include <HIUserHooks.h>
Public Types | |
enum | Status { UNWOUNDED = 0, ELASTIC = 1, DIFF = 2, ABS = 3, UNWOUNDED = 0, ELASTIC = 1, DIFF = 2, ABS = 3 } |
Enum for specifying the status of a nucleon. More... | |
enum | Status { UNWOUNDED = 0, ELASTIC = 1, DIFF = 2, ABS = 3, UNWOUNDED = 0, ELASTIC = 1, DIFF = 2, ABS = 3 } |
Enum for specifying the status of a nucleon. More... | |
typedef vector< double > | State |
The state of a nucleon is a general vector of doubles. | |
typedef vector< double > | State |
The state of a nucleon is a general vector of doubles. | |
Public Member Functions | |
indexSave (indexIn) | |
nPosSave (pos) | |
bPosSave (pos) | |
statusSave (UNWOUNDED) | |
eventp (0) | |
isDone (0) | |
int | id () const |
Accessor functions: More... | |
int | index () const |
The nucleon type. | |
const Vec4 & | nPos () const |
The position of this nucleon relative to the nucleus center. | |
const Vec4 & | bPos () const |
The absolute position in impact parameter space. | |
const Vec4 & | bShift (const Vec4 &bvec) |
Shift the absolute position in impact parameter space. | |
Status | status () const |
The status. | |
bool | done () const |
Check if nucleon has been assigned. | |
EventInfo * | event () const |
The event this nucleon is assigned to. | |
const State & | state () const |
The physical state of the incoming nucleon. | |
const State & | altState (int i=0) |
Return an alternative state. | |
void | status (Status s) |
Manipulating functions: More... | |
void | state (State s) |
Set the physical state. | |
void | addAltState (State s) |
Add an alternative state. | |
void | select (EventInfo &evp, Status s) |
Select an event for this nucleon. | |
void | select () |
Select this nucleon to be assigned to an event. | |
void | debug () |
Print out debugging information. | |
indexSave (indexIn) | |
nPosSave (pos) | |
bPosSave (pos) | |
statusSave (UNWOUNDED) | |
eventp (0) | |
isDone (0) | |
int | id () const |
Accessor functions: More... | |
int | index () const |
The nucleon type. | |
const Vec4 & | nPos () const |
The position of this nucleon relative to the nucleus center. | |
const Vec4 & | bPos () const |
The absolute position in impact parameter space. | |
const Vec4 & | bShift (const Vec4 &bvec) |
Shift the absolute position in impact parameter space. | |
Status | status () const |
The status. | |
bool | done () const |
Check if nucleon has been assigned. | |
EventInfo * | event () const |
The event this nucleon is assigned to. | |
const State & | state () const |
The physical state of the incoming nucleon. | |
const State & | altState (int i=0) |
Return an alternative state. | |
void | status (Status s) |
Manipulating functions: More... | |
void | state (State s) |
Set the physical state. | |
void | addAltState (State s) |
Add an alternative state. | |
void | select (EventInfo &evp, Status s) |
Select an event for this nucleon. | |
void | select () |
Select this nucleon to be assigned to an event. | |
void | debug () |
Print out debugging information. | |
Public Attributes | |
__pad0__: idSave(idIn) | |
Friends | |
class | SubCollisionModel |
The Nucleon class represent a nucleon in a nucleus. It has an id number (proton or neutron) an impact parameter position (absolute and relative to the nucleus center), a status and a state to be defined and used by a SubCollisionModel.
Definition at line 62 of file HIUserHooks.h.
Enum for specifying the status of a nucleon.
Definition at line 69 of file HIUserHooks.h.
Enum for specifying the status of a nucleon.
Definition at line 69 of file HIUserHooks.h.
|
inline |
Accessor functions:
The nucleon type.
Definition at line 88 of file HIUserHooks.h.
Referenced by debug().
|
inline |
|
inline |
|
inline |
Pythia8::Nucleon::__pad0__ |
The constuctor takes a particle id and a position in impact parameter relative to the nucleus center as arguments.
Definition at line 82 of file HIUserHooks.h.