00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef QinvPairCut_hh
00023 #define QinvPairCut_hh
00024
00025
00026 #include "StHbtMaker/Base/StHbtPairCut.h"
00027
00028 class QinvPairCut : public StHbtPairCut{
00029 public:
00030 QinvPairCut();
00031 QinvPairCut(const QinvPairCut&);
00032
00033
00034 virtual bool Pass(const StHbtPair*);
00035 virtual StHbtString Report();
00036 QinvPairCut* Clone();
00037
00038 void SetQinvRange(const double& Lo, const double& Hi);
00039
00040 private:
00041 long mNPairsPassed;
00042 long mNPairsFailed;
00043 double mQinvLo;
00044 double mQinvHi;
00045
00046 #ifdef __ROOT__
00047 ClassDef(QinvPairCut, 1)
00048 #endif
00049 };
00050
00051 inline QinvPairCut::QinvPairCut(const QinvPairCut& c) : StHbtPairCut(c) {
00052 mNPairsPassed = 0;
00053 mNPairsFailed = 0;
00054
00055 }
00056 inline QinvPairCut* QinvPairCut::Clone() { QinvPairCut* c = new QinvPairCut(*this); return c;}
00057
00058 #endif