PamCut: GeoFieldCut Class Reference

# GeoFieldCut Class Reference

The geomagnetic cut. More...

`#include <GeoFieldCut.h>`

Inheritance diagram for GeoFieldCut:

List of all members.

## Public Member Functions
| GeoFieldCut (const char *cutName, Float_t bAbs)
| Constructor.
| ~GeoFieldCut ()
| Destructor.
int | Check (PamLevel2 *event)
| Apply the geomagnetic cut.
## Private Attributes
float | _bAbs

## Detailed Description

The geomagnetic cut.

Definition at line 16 of file GeoFieldCut.h.

## Constructor & Destructor Documentation

GeoFieldCut::GeoFieldCut | ( | const char * | cutName,
|  | Float_t | bAbs |
| ) |  |  | `[inline]`

Constructor.

Parameters:

  | cutName | The cut's name..
  | bAbs | The lower threshold value of the geomagnetic field, in gauss.

Definition at line 24 of file GeoFieldCut.h.

GeoFieldCut::~GeoFieldCut | ( |  | ) | `[inline]`

Destructor.

Definition at line 29 of file GeoFieldCut.h.

## Member Function Documentation

int GeoFieldCut::Check | ( | PamLevel2 * | event | ) | `[virtual]`

Apply the geomagnetic cut.

This routine rejects the events with |B| < bAbs.

Parameters:

  | event | The event to analyze.

Returns:
  CUTOK if |B| > bAbs, 0 otherwise.

Implements PamCut.

Definition at line 12 of file GeoFieldCut.cpp.

References _bAbs, and CUTOK.

## Member Data Documentation

float GeoFieldCut::_bAbs`[private]`

Definition at line 41 of file GeoFieldCut.h.

Referenced by Check().

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

- MiscCuts/GeoFieldCut/GeoFieldCut.h
- MiscCuts/GeoFieldCut/GeoFieldCut.cpp