00001
00002
00003
00004
00005
00006
00007
00010 #ifndef TOFBETARANGECUT_H_
00011 #define TOFBETARANGECUT_H_
00012
00013 #include "../../PamCutBase/PamCutBase.h"
00014
00015
00020 class TofBetaRangeCut: public PamCut {
00021
00022 public:
00040 TofBetaRangeCut(const char *cutName, int *trackTof=NULL, float resMax=10., float qualCut=10., float chi2Cut=20., float minBeta=-100., float maxBeta=100.):
00041 PamCut(cutName), _trackTof(trackTof), _resMax(resMax), _qualCut(qualCut), _chi2Cut(chi2Cut), _minBeta(minBeta), _maxBeta(maxBeta) {
00042 }
00044 ~TofBetaRangeCut() {
00045 }
00046
00053 int Check(PamLevel2 *event);
00054
00055 private:
00056
00057 int *_trackTof;
00058 float _resMax, _qualCut, _chi2Cut;
00059
00060 float _minBeta, _maxBeta;
00061
00062 };
00063
00064 #endif