#include <TrkIonCut.h>

Public Member Functions | |
| TrkIonCut (const char *cutName, float maxRelease=3., float minRelease=0.) | |
| Constructor. | |
| ~TrkIonCut () | |
| Destructor. | |
| int | Check (PamLevel2 *event) |
| The tracker ionization check. | |
Private Attributes | |
| float | _maxRelease |
| float | _minRelease |
Definition at line 20 of file TrkIonCut.h.
| TrkIonCut::TrkIonCut | ( | const char * | cutName, | |
| float | maxRelease = 3., |
|||
| float | minRelease = 0. | |||
| ) | [inline] |
Constructor.
| cutName | The cut's name. | |
| maxRelease | The maximum mean ionization (in MIP) in the tracker planes above which an event is discarded. Default: 3. | |
| minRelease | The minimum mean ionization (in MIP) in the tracker planes below which an event is discarded. Default: 0. |
Definition at line 29 of file TrkIonCut.h.
| TrkIonCut::~TrkIonCut | ( | ) | [inline] |
| int TrkIonCut::Check | ( | PamLevel2 * | event | ) | [virtual] |
The tracker ionization check.
If the mean energy release in the tracker planes in MIP is greater than the threshold (constructor's parameter) the event is discarded.
| event | The event to analyze. |
0 otherwise.
Implements PamCut.
Definition at line 12 of file TrkIonCut.cpp.
References _maxRelease, _minRelease, and CUTOK.
float TrkIonCut::_maxRelease [private] |
float TrkIonCut::_minRelease [private] |
1.5.9