MonteCarlo vertex. More...
#include <PaMCvertex.h>
Public Member Functions | |
| bool | IsPrimary () const |
| "true" for primary vertex. | |
| int | iBeam () const |
| index of beam particle in PaEvent::vecMCtrk. ... | |
| int | iTrackOfOrigin () const |
| index of mother particle (incomming trajectory) in PaEvent::vecMCtrk. ... | |
| bool | IsPileup () const |
| "true" for pseudo vertex, emitting pileup track. | |
| const double | Pos (int i) const |
| X,Y,Z (i=0,1,2). | |
| double | TimeOfFlight () const |
| Time of flight. | |
| int | NMCtrack () const |
| Number of outgoing MC tracks in the vertex. | |
| int | iMCtrack (int i) const |
| index of outgoing MC track # i | |
| void | Print (int level=0) const |
| Print MCvertex info. | |
MonteCarlo vertex.
Simulated vertex - source of MC tracks (contains GEANTs VTX bank information and much more)
| int PaMCvertex::iBeam | ( | ) | const [inline] |
index of beam particle in PaEvent::vecMCtrk. ...
Valid only for primary vertex. For all other vertices returns -1
Referenced by Print().
| bool PaMCvertex::IsPileup | ( | ) | const [inline] |
"true" for pseudo vertex, emitting pileup track.
"Pileup vertex" is the vertex with only 1 track, without mother track, and with Z far upstream ( < -800 cm)
| bool PaMCvertex::IsPrimary | ( | ) | const [inline] |
"true" for primary vertex.
By COMGEANT convention, "primary" vertex is the first in the list of MC vertices.
Primary vertex also do not have "mother" track.
Referenced by PaTrigger::MultiplicityCounter().
| int PaMCvertex::iTrackOfOrigin | ( | ) | const [inline] |
index of mother particle (incomming trajectory) in PaEvent::vecMCtrk. ...
Referenced by Print().
| int PaMCvertex::NMCtrack | ( | ) | const [inline] |
Number of outgoing MC tracks in the vertex.
Referenced by iMCtrack(), and PaTrigger::MultiplicityCounter().
1.6.2