PaMCvertex Class Reference

MonteCarlo vertex. More...

#include <PaMCvertex.h>

List of all members.

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.

Detailed Description

MonteCarlo vertex.

Simulated vertex - source of MC tracks (contains GEANTs VTX bank information and much more)

Author:
Sergei.Gerassimov@cern.ch

Member Function Documentation

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. ...

Warning:
Primary vertex and "pileup" vertices do not have mother particle (i.e.function returns -1).

Referenced by Print().

int PaMCvertex::NMCtrack (  )  const [inline]

Number of outgoing MC tracks in the vertex.

Warning:
In the primary vertex beam track is also counted as "outgoing" (see FAQ for more details)

Referenced by iMCtrack(), and PaTrigger::MultiplicityCounter().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2