PamCut: TofCuts/TofBetaCut/TofBetaCut.h Source File

- Main Page
- Classes
- Files

- File List
- File Members

# TofCuts/TofBetaCut/TofBetaCut.h

Go to the documentation of this file.

    00001 /*
    00002  * TofBetaCut.h
    00003  *
    00004  *  Created on: 13-mar-2009
    00005  *      Author: Nicola Mori, S. Ricciarini
    00006  */
    00007
    00010 #ifndef TOFBETACUT_H_
    00011 #define TOFBETACUT_H_
    00012
    00013 #include "../../PamCutBase/PamCutBase.h"
    00014
    00015
    00021 class TofBetaCut: public PamCut {
    00022
    00023 public:
    00024
    00038   TofBetaCut(const char *cutName, int *trackTof=NULL, float resMax=10., float qualCut=10., float chi2Cut=20.):
    00039     PamCut(cutName), _trackTof(trackTof), _resMax(resMax), _qualCut(qualCut), _chi2Cut(chi2Cut) {
    00040   }
    00042   ~TofBetaCut() {
    00043   }
    00044
    00051   int Check(PamLevel2 *event);
    00052
    00053   float beta;
    00054
    00055 private:
    00056
    00057   int *_trackTof;
    00058
    00059   float _resMax, _qualCut, _chi2Cut;
    00060
    00061 };
    00062
    00063 #endif /* TOFBETACUT_H_ */