#include <TrkPhSinCut.h>
Public Member Functions | |
TrkPhSinCut (const char *cutName, const char *sortingMethod) | |
Constructor. | |
~TrkPhSinCut () | |
Destructor. | |
int | Check (PamLevel2 *event) |
The single physical track check. | |
Public Attributes | |
int | iTrackTof |
TOF_index for TRK-track for the last good event. | |
TrkTrack * | trkTrack |
The TrkTrack for the last good event. | |
PamTrack * | pamTrack |
The PamTrack for the last good event. | |
Private Attributes | |
const char * | _sortingMethod |
Definition at line 19 of file TrkPhSinCut.h.
TrkPhSinCut::TrkPhSinCut | ( | const char * | cutName, | |
const char * | sortingMethod | |||
) | [inline] |
Constructor.
cutName | The cut's name. | |
sortingMethod | The sorting method to be used to select the track. |
Definition at line 28 of file TrkPhSinCut.h.
TrkPhSinCut::~TrkPhSinCut | ( | ) | [inline] |
int TrkPhSinCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The single physical track check.
event | The event to analyze. |
0 if the event has not exactly one physical track or if the track is meaningless (nstep > 100 or chi2 < 0.)
Implements PamCut.
Definition at line 12 of file TrkPhSinCut.cpp.
References _sortingMethod, CUTOK, iTrackTof, pamTrack, and trkTrack.
const char* TrkPhSinCut::_sortingMethod [private] |
TOF_index for TRK-track for the last good event.
Definition at line 44 of file TrkPhSinCut.h.
Referenced by Check().
PamTrack* TrkPhSinCut::pamTrack |
The PamTrack for the last good event.
When this cut checks an event, it stores its PamTrack (selected according to the specified sortingMethod). This can then be used by successive cuts.
Definition at line 56 of file TrkPhSinCut.h.
Referenced by Check().
TrkTrack* TrkPhSinCut::trkTrack |
The TrkTrack for the last good event.
When this cut checks an event, it stores its TrkTrack (selected according to the specified sortingMethod). This can then be used by successive cuts.
Definition at line 50 of file TrkPhSinCut.h.
Referenced by Check().