PamCut: TrkIonCut Class Reference

# TrkIonCut Class Reference

The tracker ionization cut. Cut on dE/dx to select MIP. CUT DEPENDENCIES: TrkPhysSin for object trkTrack. More...

`#include <TrkIonCut.h>`

Inheritance diagram for TrkIonCut:

List of all members.

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

## Detailed Description

The tracker ionization cut. Cut on dE/dx to select MIP. CUT DEPENDENCIES: TrkPhysSin for object trkTrack.

Definition at line 20 of file TrkIonCut.h.

## Constructor & Destructor Documentation

TrkIonCut::TrkIonCut | ( | const char * | cutName,
|  | float | maxRelease = `3.`,
|  | float | minRelease = `0.` |
| ) |  |  | `[inline]`

Constructor.

Parameters:

  | 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]`

Destructor.

Definition at line 33 of file TrkIonCut.h.

## Member Function Documentation

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.

Parameters:

  | event | The event to analyze.

Returns:
  CUTOK if mean dE/dx is less than maxRelease and more than minRelease.

  0 otherwise.

Implements PamCut.

Definition at line 12 of file TrkIonCut.cpp.

References _maxRelease, _minRelease, and CUTOK.

## Member Data Documentation

float TrkIonCut::_maxRelease`[private]`

Definition at line 48 of file TrkIonCut.h.

Referenced by Check().

float TrkIonCut::_minRelease`[private]`

Definition at line 48 of file TrkIonCut.h.

Referenced by Check().

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

- TrkCuts/TrkIonCut/TrkIonCut.h
- TrkCuts/TrkIonCut/TrkIonCut.cpp