PamCut: MiscCuts/EvRateS11Cut/EvRateS11Cut.h Source File

- Main Page
- Classes
- Files

- File List
- File Members

# MiscCuts/EvRateS11Cut/EvRateS11Cut.h

Go to the documentation of this file.

    00001 /*
    00002  * EvRateS11Cut.h
    00003  *
    00004  *  Created on: 21-mag-2009
    00005  *      Author: Nicola Mori
    00006  */
    00007
    00010 #ifndef EVRATES11CUT_H_
    00011 #define EVRATES11CUT_H_
    00012
    00013 #include "../../PamCutBase/PamCutBase.h"
    00014
    00020 class EvRateS11Cut: public PamCut {
    00021
    00022 public:
    00031   EvRateS11Cut(const char *cutName, float maxRate = 1e06, float minRate = 0.) :
    00032     PamCut(cutName), _maxRate(maxRate), _minRate(minRate) {
    00033   }
    00035   ~EvRateS11Cut() {
    00036   }
    00037
    00044   int Check(PamLevel2 *event);
    00045
    00046 private:
    00047   float _maxRate, _minRate;
    00048
    00049 };
    00050 #endif /* EVRATES11CUT_H_ */