PamCut: EvRateS11Cut Class Reference

# EvRateS11Cut Class Reference

Cut on event rate on S11. More...

`#include <EvRateS11Cut.h>`

Inheritance diagram for EvRateS11Cut:

List of all members.

## Public Member Functions
| EvRateS11Cut (const char *cutName, float maxRate=1e06, float minRate=0.)
| Constructor.
| ~EvRateS11Cut ()
| Destructor.
int | Check (PamLevel2 *event)
| The event rate check.
## Private Attributes
float | _maxRate
float | _minRate

## Detailed Description

Cut on event rate on S11.

This cut discards those events recorded when the event rate on S11 was outside a certain range.

Definition at line 20 of file EvRateS11Cut.h.

## Constructor & Destructor Documentation

EvRateS11Cut::EvRateS11Cut | ( | const char * | cutName,
|  | float | maxRate = `1e06`,
|  | float | minRate = `0.` |
| ) |  |  | `[inline]`

Constructor.

Default values for the rates are chosen to reject none of the events.

Parameters:

  | cutName | The cut's name.
  | maxRate | The maximum rate.
  | minRate | The minimum rate.

Definition at line 31 of file EvRateS11Cut.h.

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

Destructor.

Definition at line 35 of file EvRateS11Cut.h.

## Member Function Documentation

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

The event rate check.

Parameters:

  | event | The event to analyze.

Returns:
  CUTOK if event rate on S11 is between minRate and maxRate.

  0 otherwise

Implements PamCut.

Definition at line 12 of file EvRateS11Cut.cpp.

References _maxRate, _minRate, and CUTOK.

## Member Data Documentation

float EvRateS11Cut::_maxRate`[private]`

Definition at line 47 of file EvRateS11Cut.h.

Referenced by Check().

float EvRateS11Cut::_minRate`[private]`

Definition at line 47 of file EvRateS11Cut.h.

Referenced by Check().

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

- MiscCuts/EvRateS11Cut/EvRateS11Cut.h
- MiscCuts/EvRateS11Cut/EvRateS11Cut.cpp